Skip to content

Conversation

@ricardoantoniocm
Copy link
Contributor

@ricardoantoniocm ricardoantoniocm commented Aug 1, 2025

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

@netlify
Copy link

netlify bot commented Aug 1, 2025

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit 41cee66
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/6890b1fb4afa6e0008fe9a26
😎 Deploy Preview https://deploy-preview-8077--label-studio-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Aug 1, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 41cee66
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/6890b1fbc4c6c90008aa6f95

@netlify
Copy link

netlify bot commented Aug 1, 2025

Deploy Preview for label-studio-playground ready!

Name Link
🔨 Latest commit 41cee66
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/6890b1fb1931f80008351145
😎 Deploy Preview https://deploy-preview-8077--label-studio-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the fix label Aug 1, 2025
@ricardoantoniocm ricardoantoniocm changed the title fix: FIT-490: Focus is lost in Headers input fields after key is ente… … fix: FIT-490: Focus is lost in Headers input fields after key is entered Aug 1, 2025
@netlify
Copy link

netlify bot commented Aug 1, 2025

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 41cee66
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/6890b1fb3b4b170008ff3283

@codecov
Copy link

codecov bot commented Aug 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.16%. Comparing base (3cd75ac) to head (41cee66).
⚠️ Report is 4 commits behind head on develop.

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              
Flag Coverage Δ
lsf-e2e 59.76% <ø> (+<0.01%) ⬆️
lsf-integration 55.42% <ø> (ø)
lsf-unit 9.52% <ø> (ø)
pytests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ricardoantoniocm ricardoantoniocm self-assigned this Aug 1, 2025
@ricardoantoniocm ricardoantoniocm marked this pull request as ready for review August 1, 2025 11:57
Delete Webhook
</Button>
)}
{webhook === null && <div />}
Copy link
Collaborator

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

Copy link
Contributor Author

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.

Copy link
Collaborator

@hlomzik hlomzik left a 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!

@hlomzik
Copy link
Collaborator

hlomzik commented Aug 4, 2025

/git merge

Workflow run
Successfully merged: create mode 100644 web/libs/editor/tests/e2e/tests/paragraphs-enhanced.test.js

@robot-ci-heartex robot-ci-heartex merged commit 0db96dd into develop Aug 4, 2025
63 of 66 checks passed
@robot-ci-heartex robot-ci-heartex deleted the fb-fit-490/focus-lost-headers-input-fields-after-key-entered-webhooks-page branch August 4, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants