-
Notifications
You must be signed in to change notification settings - Fork 50
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
Harmony 1978 - Add/create label from jobs page of workflow ui #681
Conversation
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.
Tested out locally. The basic functionality looks good and works as expected. There were a few things I found when testing:
- When creating a new label that label is not immediately available in the auto-complete for the filter box (on the left side of the page). Reloading the page makes that label available.
- I pasted in text that would have resulted in more than 255 characters, but my label was created successfully. I'm guessing it must have truncated? It's probably worth a message in the toast if it truncated the label to 255 characters.
- Filtering on a really long label leads to text that crosses the full width of the screen.
- Attempting to filter on a really long label isn't working (the results are not filtered).
3 and 4 are unrelated to this PR - probably should open a bug ticket.
TODO - with long label + commas: (1) toast is cut off, (2) label with comma is being split in view, (3) can search for label filter but not use it when pressing enter
TODO - large label should be truncated in filtering dropdown
TODO: typing "," should not cause tag to be entered in input
…rom different field?
TODO: Clean up naming, duplication, ensure bug isn't found elsewhere too
I addressed feedback numbers 1-4 and a couple of related issues. |
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.
Tested locally. Verified that new labels are available in filtering without reloading page. Also verified that new labels are bing limited to 255 characters (with warning if you try to go over).
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.
Verified everything is working as expected.
Jira Issue ID
HARMONY-1978
Description
Allows the user to add/create a label from jobs page of workflow ui.
![Screenshot 2025-01-16 at 1 01 55 PM](https://private-user-images.githubusercontent.com/34752045/403989454-1af5f994-b042-4d98-8723-25b11a3ffec8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTgxNzEsIm5iZiI6MTczODkxNzg3MSwicGF0aCI6Ii8zNDc1MjA0NS80MDM5ODk0NTQtMWFmNWY5OTQtYjA0Mi00ZDk4LTg3MjMtMjViMTFhM2ZmZWM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA4NDQzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYyODcyNDI0MWRiYzk0ODg3ZjBlNzc5NzI5MTE4ZmUwZjM3ZDhlMWU1NWE4OWFmYTQ2MzkxOGM3MmNjNzllNTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VztjTQD6HYlie_L1rGWUh6bln9pR3Aw2MOzS3dH0Qpw)
Local Test Steps
PR Acceptance Checklist