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

feat: LEAP-1351: LSF customization for bulk annotation #6203

Closed
wants to merge 16 commits into from

Conversation

Gondragos
Copy link
Collaborator

@Gondragos Gondragos commented Aug 14, 2024

This PR adds

  • "annotation:bulk" interface that allows to hide all panels and elements that can't be set equally to group of annotaions
  • ability to customize control buttons and an interface "controls:custom" indicating that we are going to take control on rendere of these buttons
  • fix the way we deliver config in cypress tests

PR fulfills these requirements

  • Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
  • 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)

Change has impacts in these area(s)

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

What feature flags were used to cover this change?

fflag_feat_all_leap_1181_bulk_annotation_short

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?

(check all that apply)

  • e2e
  • integration
  • unit

Which logical domain(s) does this change affect?

Editor, BottomBar

- hide dependant controls
- hide panels
- for bulk annotation mode displaying
- for custom controls rendering and modify on fly
- fix delivering the config from the cypress environment into the test environment
@github-actions github-actions bot added the feat label Aug 14, 2024
Copy link

netlify bot commented Aug 14, 2024

Deploy Preview for label-studio-docs-new-theme ready!

Name Link
🔨 Latest commit 8e51cea
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/66d648ce796acb000872cb6e
😎 Deploy Preview https://deploy-preview-6203--label-studio-docs-new-theme.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 site configuration.

Copy link

netlify bot commented Aug 14, 2024

Deploy Preview for heartex-docs ready!

Name Link
🔨 Latest commit 8e51cea
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/66d648cef2b605000809cfe3
😎 Deploy Preview https://deploy-preview-6203--heartex-docs.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 site configuration.

@hlomzik
Copy link
Collaborator

hlomzik commented Aug 14, 2024

Would not it be better to name interface "annotation:bulk"? That will keep it in a shape of namespace:detail like for lot of other interfaces. I know they are a mess but that's a really lowcost change on an early stage with small benefit

Separated bulk mode and independence checks into variables for readability. This makes the conditional logic clearer and potentially reduces redundancy in code review and debugging processes. No functional changes have been introduced.
# Conflicts:
#	web/libs/editor/src/components/BottomBar/BottomBar.jsx
@Gondragos
Copy link
Collaborator Author

Gondragos commented Aug 26, 2024

/git merge develop

Workflow run
Successfully merged: Already up to date.

@Gondragos
Copy link
Collaborator Author

Gondragos commented Aug 29, 2024

/git merge develop

Workflow run
Successfully merged: 387 files changed, 6483 insertions(+), 9039 deletions(-)

@Gondragos
Copy link
Collaborator Author

Gondragos commented Sep 2, 2024

/git merge develop

Workflow run
Successfully merged: 29 files changed, 94 insertions(+), 69 deletions(-)

@robot-ci-heartex
Copy link
Collaborator

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@robot-ci-heartex
Copy link
Collaborator

This PR was closed because it has been stalled for 10 days with no activity.

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.

4 participants