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

Conversation

@Travis1282
Copy link
Contributor

Add grabber handles on the front and back of each span, improve data label to allow for smoother drag, hide span on drag, replacing with selection of the same color, delete span on new range creation.

hlomzik and others added 6 commits June 29, 2022 18:39
Create selection with the same style as span at the selection start.
This emulates span expansion by dragging from its edge.
- copy styles from span to selection
- remember offsets
- grey out the original span
…cted, change label to be over text and disappear on hover
@swarmia
Copy link

swarmia bot commented Jul 18, 2022

Copy link
Contributor

@yyassi-heartex yyassi-heartex left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@nick-skriabin nick-skriabin left a comment

Choose a reason for hiding this comment

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

Found a couple of issues with the feature. Reported in #code-reviews.

bmartel
bmartel previously requested changes Sep 1, 2022
Copy link
Contributor

@bmartel bmartel left a comment

Choose a reason for hiding this comment

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

Looks great! Just a few suggestions to remove commented out code.

…eartexlabs/label-studio-frontend into fb-dev-2786/adjustable-draggable-spans
@nick-skriabin nick-skriabin dismissed bmartel’s stale review September 5, 2022 18:53

Suggested changes were applied.

@hlomzik
Copy link
Collaborator

hlomzik commented Sep 6, 2022

/git merge master

Successfully pushed new changes:
Merge remote-tracking branch 'origin/master' into fb-dev-2786/adjustable-draggable-spans (5cf7979)

Workflow run

@hlomzik
Copy link
Collaborator

hlomzik commented Sep 29, 2022

/git merge master

Successfully pushed new changes:
Merge remote-tracking branch 'origin/master' into fb-dev-2786/adjustable-draggable-spans (ed35988)

Workflow run

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants