-
Notifications
You must be signed in to change notification settings - Fork 1
MPDX-8388 - Suggested task tags show up in tags autocomplete #1315
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
Conversation
Bundle sizes [mpdx-react]Compared against f18df0d No significant changes found |
|
Preview branch generated at https://MPDX-8388-suggested-tags-autocomplete.d3dytjb8adxkk5.amplifyapp.com |
|
Although maybe it would be better if additional tags had all phase tags filtered out. That way there's no overlap between the two. |
|
Is this ready for review? |
|
@dr-bizz I was going to wait to mark it as ready for review as I didn't want to flood you guys with PR review requests, but it's ready whenever you guys have time. |
dr-bizz
left a comment
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.
This is looking great! Awesome job on this.
| await waitFor(() => | ||
| expect(queryByRole('option', { name: 'tag-1' })).not.toBeInTheDocument(), | ||
| ); | ||
| }, 10000); |
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.
Do you need to have this time limit?
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.
Looks like it is not needed. It's been removed.
0d34027 to
cb150ee
Compare
Description
Suggested tags seem to save on the server as lowercase. That means that when I edit a task with suggested tags, the suggested tags are correctly highlighted, but they also show up in the "Additional Tags" dropdown.
Jira ticket available here
Things to Note
So I think the easiest solution to this problem would be to filter out the selected task tags from autocomplete. However this still felt a little awkward. In addition to this I wanted to make the suggested tags and additional tags a little more in sync with each other so when one is selected it's reflected in the other, and the same with removing. The only caveat is when a suggested tag is selected I did not want it to create an entry in additional tags, so they aren't entirely in sync with each other, but more so then before.
Checklist: