Skip to content
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: LEAP-872: LEAP-935: Auto-Annotation fixes #5714

Merged
merged 19 commits into from
Apr 18, 2024
Merged

Conversation

deppp
Copy link
Collaborator

@deppp deppp commented Apr 11, 2024

Reject All fix

Fix of small mistake in order to unblock Reject All button (keys is a function)

Auto-Accept Suggestions toggle

It's moved to Bottom Bar, not blocking the view of annotation anymore. Style is uniform with Auto-Annotation toggle. When there are suggestions on a screen this toggle is replaced with Accept All/Reject All buttons, because it looks confusing to have both at the same time.
auto-annotation-suggestions

Loading suggestions...

Spinner is moved from Auto-Accept panel to Bottom Bar. While it's loading the toggle is dimmed for better visibility. But toggle is active because its value will be used only after request is finished, so it can still be useful.
auto-annotation-suggestions-spinner

Now spinner is displayed for any kind of interactive annotations, not only Image ones:
auto-annotation-spinner

PR fulfills these requirements

  • Tests for the changes have been added/updated (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
  • Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Describe the reason for change

LEAP-872: Auto-Accept panel is blocking images
LEAP-935: Reject All button not working
Release PR: #5715

Change has impacts in these area(s)

  • Product design
  • Backend (Database)
  • Backend (API)
  • Frontend

Does this PR introduce a breaking change?

  • Yes, and covered entirely by feature flag(s)
  • Yes, and covered partially by feature flag(s)
  • No
  • Not sure

Michael Malyuk and others added 3 commits April 9, 2024 21:07
auto-accept checkbox to the bottom bar, fixing reject all button not
working, and removing the regions use for interactivity
Copy link

netlify bot commented Apr 11, 2024

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 912fea8
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/66214ed8defff50007b10c01

Copy link

netlify bot commented Apr 11, 2024

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

Name Link
🔨 Latest commit 912fea8
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/66214ed82f26080008322fcb

@hlomzik hlomzik changed the title Fb ml release blocker fix: LEAP-872: LEAP-935: LEAP-942: Auto-Annotation fixes Apr 11, 2024
@Gondragos
Copy link
Collaborator

Gondragos commented Apr 15, 2024

/git merge develop

Workflow run
Successfully merged: 109 files changed, 2127 insertions(+), 1958 deletions(-)

hlomzik added a commit that referenced this pull request Apr 16, 2024
LEAP-872: Move the Auto-Accept checkbox to the bottom bar
LEAP-935: Fix Reject All button not working

Mirroring #5714

---------

Co-authored-by: Michael Malyuk <michael.malyuk@icloud.com>
Co-authored-by: robot-ci-heartex <robot-ci-heartex@users.noreply.github.com>
Co-authored-by: hlomzik <hlomzik@gmail.com>
Keep original dynamic regions for 1-by-1 accept and reject.
This is helpful for Segment Anything keypoints case.
https://labelstud.io/blog/get-started-using-segment-anything/#label-with-keypoints
They don't have much sense to be displayed simultaneously.
Plus this reduces the space occupied and allows to add more info.
- don't display Auto-Accept panel for not supported tags
- display spinner while request is in progress
- also dim the toggle if it's there, but don't disable it
@hlomzik hlomzik changed the title fix: LEAP-872: LEAP-935: LEAP-942: Auto-Annotation fixes fix: LEAP-872: LEAP-935: Auto-Annotation fixes Apr 16, 2024
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.

kind of cheating, because recent changes are mine, but we have a confidence here and this change is in rc already

@hlomzik
Copy link
Collaborator

hlomzik commented Apr 18, 2024

/git merge

Workflow run
Successfully merged: 24 files changed, 304 insertions(+), 440 deletions(-)

@hlomzik hlomzik enabled auto-merge (squash) April 18, 2024 16:43
@hlomzik hlomzik merged commit addd5ef into develop Apr 18, 2024
27 of 28 checks passed
@hlomzik hlomzik deleted the fb-ml-release-blocker branch April 19, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants