-
Notifications
You must be signed in to change notification settings - Fork 165
Description
Problem description
There are multiple UI issues when adding, updating tags for policies on Manage Policies page
Step to reproduce
Steps to reproduce the behavior:
- Go to Manage Policies page
- Import/Create a policy.
- Navigate the mouse to the Tags section of the policy.
Bug 1:
4. Click on Create a Tag button
5. Give a name of the tag
6. Click Create button
7. Repeat steps 4-6 to create another tag with exactly the same name.
Bug 2:
4. Repeat steps 4-6 from Bug 1
5. Pay attention to the created tag label length in comparison to the initial Create a Tag button.
Bug 3:
4. Repeat steps 4-6 from Bug 1
5. Click on the created tag to open Tags modal
6. Pay attention to the tag icon size and direction on Tags modal and Manage Policies page in Tags column of the policy.
Bug 4:
4. Repeat steps 4-6 from Bug 1 just give a name of the tag which is more than 100 characters
5. Click on the created tag to open Tags modal
6. Pay attention to the created tag view.
Bug 5:
4. Repeat steps 4-6 from Bug 1 multiple times to create a few tags
5. Pay attention to the Tags column of the policy.
Bug 6:
4. Repeat steps 4-6 from Bug 1 multiple times to create 10+ tags with long name
5. Click on the created tag to open Tags modal
6. Pay attention to the Tags modal view
Expected behavior
Bug 1 - It shouldn't be possible to add duplicate tags under the same user ID.
Bug 2 - Created tag label length is the same as the initial Create a Tag button.
Bug 3 - Icon size of the created tag on Tags modal should be the same as on the Manage Policies page in Tags column of the policy and the direction of the icon on each tag label should be the same.
Bug 4 - Tag label should have a fixed number of characters displayed and the rest should be trimmed and substituted by ... instead not to create additional horizontal scrolling on the modal.
Bug 5 - There should be the last created tag name and + N(where N is the number of tags that exist for the policy)
Bug 6 - All of the components on the Tags modal should be displayed so that nothing is overlapping by other component