-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ACS-6252] support disabling the tags and categories feature in the applications #3533
[ACS-6252] support disabling the tags and categories feature in the applications #3533
Conversation
...s/aca-content/folder-rules/src/rule-details/conditions/rule-simple-condition.ui-component.ts
Outdated
Show resolved
Hide resolved
@@ -82,6 +88,9 @@ export class RuleActionUiComponent implements ControlValueAccessor, OnInit, OnCh | |||
this._parameterConstraints = value.map((obj) => ({ ...obj, constraints: this.parseConstraintsToSelectOptions(obj.constraints) })); | |||
} | |||
|
|||
private readonly tagsRelatedPropertiesAndAspects = ['cm:tagscope', 'cm:tagScopeCache', 'cm:taggable']; | |||
private readonly categoriesRelatedPropertiesAndAspects = ['cm:categories', 'cm:generalclassifiable']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does cm:generalclassifiable
aspect affect only categories? Can we verify it with someone from BE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure I will try to ask somebody from BE
store = TestBed.inject(Store); | ||
}); | ||
|
||
it('show pass empty when store is in initial state', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think description should start from should
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
… hide tags column from personal files
…rties and aspects in folder rules when that feature is disabled
…ng in app.config.json
…rected unit test title
2e8eb24
to
cd02a0d
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
https://alfresco.atlassian.net/browse/ACS-6252
What is the new behaviour?
Allowing to hide things related with tags and categories features.
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
ADF PR: Alfresco/alfresco-ng2-components#9106
alfresco-applications PR: https://github.com/Alfresco/alfresco-applications/pull/439