-
Notifications
You must be signed in to change notification settings - Fork 148
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-3513] [ACS-3515] Create, edit and delete rule set link #2810
[ACS-3513] [ACS-3515] Create, edit and delete rule set link #2810
Conversation
@@ -38,7 +38,8 @@ export interface EditRuleDialogOptions { | |||
templateUrl: './edit-rule-dialog.smart-component.html', | |||
styleUrls: ['./edit-rule-dialog.smart-component.scss'], | |||
encapsulation: ViewEncapsulation.None, | |||
host: { class: 'aca-edit-rule-dialog' } | |||
host: { class: 'aca-edit-rule-dialog' }, | |||
providers: [{ provide: ActionsService, useClass: ActionsService }] |
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.
Probably can be shorter:
providers: [ActionsService]
@@ -0,0 +1,59 @@ | |||
<div mat-dialog-title class="aca-rule-set-picker__header"> | |||
<div class="aca-rule-set-picker__header__title"> |
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.
Not sure if you want to cover accessibility problems here but I think that if you run axe tool then you will get issue that you should to use h1 tag because you need some header on page.
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'm approving that PR because my comments are very small. Feel free to correct these comments which I added if you want or merge it without changes.
Unit tests have been split from this ticket to make the code freeze deadline. They will be covered in https://alfresco.atlassian.net/browse/ACS-4070 |
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-3513
https://alfresco.atlassian.net/browse/ACS-3515
What is the new behaviour?
A new dialog for linking & editing the linked rule set.
Button in the toolbar of the manage rule screen for linking a rule that opens the dialog.
Button in the header of the linked rule set to edit the link which opens the same dialog.
Button also in the header of the linked rule set to remove the link which opens a confirmation dialog.
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: