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

prd: Relation side panel improvements #5689

Open
7 tasks
Precious-Macaulay opened this issue Apr 8, 2024 · 0 comments · May be fixed by #5711
Open
7 tasks

prd: Relation side panel improvements #5689

Precious-Macaulay opened this issue Apr 8, 2024 · 0 comments · May be fixed by #5711

Comments

@Precious-Macaulay
Copy link

Precious-Macaulay commented Apr 8, 2024

prd: Relation side panel improvements

Problem

  1. When adding a new relations, it gets added at the bottom of the list, requiring scrolling to label it.
  2. There is no easy way to hide/show all relations at once.

Proof of Concept (PoC) Notes

A working branch implementing the relations list ordering and visibility toggle can be found at:
https://github.com/Precious-Macaulay/label-studio

2024-04-07.mp4

Key highlights:

  • Added ordering dropdown to toolbar with creation time options
  • Added visibility toggle icon next to "Relations" label
  • State is persisted in local storage

User Stories

Relations list ordering

As a user, I want to be able to order the relations list by creation time (ascending or descending) so that I can easily find and label new relations.

Relations visibility toggle

As a user, I want a toggle to hide/show all relations at once so that I can quickly analyze connections between entities.

Acceptance Criteria

Relations side panel list ordering

  • Adds options to order relations list by creation time (ascending and descending)
  • Unit tests for ordering functionality

Relations visibility toggle

  • Adds a toggle icon next to "Relations" label
  • Toggle hides all relationships when one or more are visible
  • Toggle shows all relationships when all are hidden
  • Persists visibility state between sessions
  • Unit tests for visibility functionality
Precious-Macaulay added a commit to Precious-Macaulay/label-studio that referenced this issue Apr 10, 2024
@Precious-Macaulay Precious-Macaulay linked a pull request Apr 10, 2024 that will close this issue
23 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant