Skip to content

Conversation

@yyassi-heartex
Copy link
Contributor

@yyassi-heartex yyassi-heartex commented Jul 2, 2025

This pull request modifies the DrawingTool mixin in the web/libs/editor/src/mixins/DrawingTool.js file to check feature flag (FF_DEV_3391) and update the behavior of the isAllowedInteraction method based on this flag.

issue occurs with FF fflag_fix_front_dev_3391_interactive_view_all switched on

Polygon.Compare.all.-.30.06.2025.mp4

after fix - Compare all view will act as read only

Feature flag integration:

Behavior update:

  • web/libs/editor/src/mixins/DrawingTool.js: Updated the isAllowedInteraction method to return false if the FF_DEV_3391 flag is enabled and the annotation is not editable, ensuring stricter control over interactions when the flag is active.

@github-actions github-actions bot added the fix label Jul 2, 2025
@yyassi-heartex yyassi-heartex requested a review from a team July 2, 2025 21:02
@netlify
Copy link

netlify bot commented Jul 2, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 39b1227
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/68667c7575825100098942d5

@netlify
Copy link

netlify bot commented Jul 2, 2025

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit 39b1227
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/68667c753ce7400008d7deb0
😎 Deploy Preview https://deploy-preview-7900--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 Jul 2, 2025

Deploy Preview for label-studio-playground ready!

Name Link
🔨 Latest commit 39b1227
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/68667c7549cb73000830d577
😎 Deploy Preview https://deploy-preview-7900--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.

@netlify
Copy link

netlify bot commented Jul 2, 2025

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

Name Link
🔨 Latest commit 39b1227
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/68667c75cf49560008bd43f6

@codecov
Copy link

codecov bot commented Jul 2, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 59.04%. Comparing base (be2cd96) to head (39b1227).
Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
web/libs/editor/src/mixins/DrawingTool.js 50.00% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (be2cd96) and HEAD (39b1227). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (be2cd96) HEAD (39b1227)
pytests 1 0
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7900      +/-   ##
===========================================
- Coverage    65.53%   59.04%   -6.50%     
===========================================
  Files          682      475     -207     
  Lines        49574    33023   -16551     
  Branches      8596     8597       +1     
===========================================
- Hits         32490    19499   -12991     
+ Misses       17084    13524    -3560     
Flag Coverage Δ
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.

@yyassi-heartex
Copy link
Contributor Author

yyassi-heartex commented Jul 3, 2025

/git merge

Workflow run
Successfully merged: create mode 100644 .github/workflows/cicd_pipeline_develop.yml

@robot-ci-heartex robot-ci-heartex merged commit 9b5bbb1 into develop Jul 3, 2025
44 of 46 checks passed
@robot-ci-heartex robot-ci-heartex deleted the fb-fit-317/polygon-annotations branch July 3, 2025 14:17
yyassi-heartex added a commit that referenced this pull request Jul 4, 2025
…mpare all annotations mode (#7900)

Co-authored-by: yyassi-heartex <[email protected]>
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.

5 participants