-
Notifications
You must be signed in to change notification settings - Fork 43
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
👻 use pf5 select for set-targets #1526
👻 use pf5 select for set-targets #1526
Conversation
Signed-off-by: gitdallas <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1526 +/- ##
==========================================
- Coverage 40.49% 39.41% -1.08%
==========================================
Files 145 146 +1
Lines 4638 4775 +137
Branches 1087 1138 +51
==========================================
+ Hits 1878 1882 +4
- Misses 2746 2879 +133
Partials 14 14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: gitdallas <[email protected]>
b015961
to
97fd352
Compare
….com/gitdallas/tackle2-ui into chore/1242-set-target-use-new-select
Signed-off-by: Dallas <[email protected]>
….com/gitdallas/tackle2-ui into chore/1242-set-target-use-new-select
Signed-off-by: gitdallas <[email protected]>
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.
The typeahead isn't working quite right with the search string. Looks like the search string can disappear but still be applied:
screencast-localhost_9000-2023.11.20-14_14_42.webm
</TextContent> | ||
<SimpleSelectTypeahead |
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.
Should the SimpleSelectTypeahead
actually be contained within the above TextContent
to match the location of the previous SimpleSelect
?
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.
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.
Yep, this is related to my comment at the top of this PR
Signed-off-by: gitdallas <[email protected]>
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.
The typeahead filter is now working as expect.
There is one minor annoyance now. When blurring, the filter gets cleared, the select menu gets re-rendered to show all values and then it closes:
screencast-localhost_9000-2023.11.20-15_16_40.webm
Any way to close the menu and then reset the filter so the menu doesn't flash all values before closing?
interesting... i don't have it running to test and have been rolled onto another project for now. i'll see if i can look tomorrow.. maybe just clearing on open will be good instead... hopefully don't need to resort to setTimeout |
Signed-off-by: gitdallas <[email protected]>
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 good! Thanks @gitdallas
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.
Latest change makes the dropdown much better behaved.
Also pulled the select out of the text-content wrapper which was throwing off some styles.