-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: FIT-490: Focus is lost in Headers input fields after key is entered #8077
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
fix: FIT-490: Focus is lost in Headers input fields after key is entered #8077
Conversation
…red at Webhooks page
…sts button styles and alignment.
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for heartex-docs canceled.
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #8077 +/- ##
===========================================
- Coverage 70.51% 66.16% -4.35%
===========================================
Files 719 505 -214
Lines 51365 33842 -17523
Branches 8733 8733
===========================================
- Hits 36218 22393 -13825
+ Misses 15144 11446 -3698
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| Delete Webhook | ||
| </Button> | ||
| )} | ||
| {webhook === null && <div />} |
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 empty div can be moved to previous condition
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.
Thank you! Latest commit addresses this.
hlomzik
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.
I'd suggest intensive testing, but approach is good.
Buttons duplication seems a little excess but it's a small portion and we need a little different layout, all good!
|
/git merge
|
…ds-after-key-entered-webhooks-page' Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/16724149349
…red (#8077) Co-authored-by: hlomzik <[email protected]>
…red (#8077) (#8090) Co-authored-by: Ricardo Cabral <[email protected]> Co-authored-by: hlomzik <[email protected]>
This PR fixes a regression that caused the focus to be lost after entering a single character on the header fields.
This field also adjusts button alignment and styles.
After
https://www.loom.com/share/f72e6326cfb94c948f8a8fc6ab942b8f?sid=75a2932e-fe16-42ef-a05a-887c5a1af267