Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

fix: LEAP-148: Fix MagicWand in MIG scenario with image preloading #1685

Merged
merged 4 commits into from
Jan 31, 2024

Conversation

Gondragos
Copy link
Contributor

@Gondragos Gondragos commented Jan 29, 2024

When both MIG and image preloading are enabled, there was no canvas overlay for the Magic Wand which caused the Magic Wand to fail.

PR fulfills these requirements

  • Tests for the changes have been added/updated
  • Docs have been added/updated
  • 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

What feature flags were used to cover this change?

Not really covered but affected by:
fflag_feat_front_lsdv_4583_6_images_preloading_short
fflag_feat_front_dev_4081_magic_wand_tool

What alternative approaches were there?

#1327
But we believe that it's not neccesary since the way Magic Wand works was fixed recently and potentially we don't need async stuff.

This change affects (describe how if yes)

  • Performance
  • Security
  • UX

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 (briefly explain the situation below)

What level of testing was included in the change?

  • e2e (codecept)
  • integration (cypress)
  • unit (jest)

Which logical domain(s) does this change affect?

Multy Image Segmentation, Magic Wand

@github-actions github-actions bot added the fix label Jan 29, 2024
@Gondragos Gondragos changed the title fix: LSDV-4864: Fix MagicWand in MIG scenario with image preloading fix: LEAP-148: Fix MagicWand in MIG scenario with image preloading Jan 30, 2024
@Gondragos Gondragos force-pushed the fb-lsdv-4864/noasync-magicwand-mig branch from 17f88a1 to d25814e Compare January 30, 2024 06:39
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e9c9552) 68.70% compared to head (d25814e) 68.70%.
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1685   +/-   ##
=======================================
  Coverage   68.70%   68.70%           
=======================================
  Files         443      443           
  Lines       28734    28736    +2     
  Branches     7641     7645    +4     
=======================================
+ Hits        19742    19744    +2     
  Misses       7748     7748           
  Partials     1244     1244           

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

@@ -20,7 +20,7 @@
"cvg:summary": "nyc report --temp-dir=.nyc_output --reporter=text-summary --cwd=. --exclude-after-remap false"
},
"dependencies": {
"@heartexlabs/ls-test": "heartexlabs/ls-frontend-test#9ff949fc19abaf124477dfd41c6f230b00665ab3"
"@heartexlabs/ls-test": "heartexlabs/ls-frontend-test#2c9410fb930c7d920474fe6e624efee6261cec0c"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget to switch back to master version after merging changes in the testing library

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just did it a second ago

@hlomzik hlomzik enabled auto-merge (squash) January 31, 2024 15:49
@hlomzik hlomzik merged commit a00aa0f into master Jan 31, 2024
11 of 13 checks passed
@hlomzik hlomzik deleted the fb-lsdv-4864/noasync-magicwand-mig branch January 31, 2024 16:12
MasherJames pushed a commit to HelloPareto/label-studio-frontend that referenced this pull request Feb 29, 2024
…umanSignal#1685)

When both MIG and image preloading are enabled, there was no canvas overlay for the Magic Wand which caused the Magic Wand to fail.

* fix: LSDV-4864: Fix MagicWand in MIG scenario with image preloading

(cherry picked from commit d2330f7)

* Update ls-test dependency

* Fix tests

---------

Co-authored-by: Nick Skriabin <[email protected]>
Co-authored-by: hlomzik <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants