Skip to content

Annotation Tool Labels: Create, Edit, Delete #347

@PaulHax

Description

@PaulHax

UI

Create an "Add Label" chip button at end of LabelControls. Clicking "Add Label" pops "Edit Label" modal.

Edit Label modal form:

  • Label name
  • Properties (color, fill color, etc)
  • Delete button

Add "Edit Label" icon button to each LabelControl chip which pops modal.

After label is edited, existing annotations with label have their properties updated. Annotations with a deleted label get their label set to empty string.

Change label for existing annotation is for another issue.

Implementation

Serialization: Each annotation tool saves all their labels + properties, including labels from the config.json. On deserialization, session manifest.json labels are merged with config.json labels, with manifest.json labels taking precedence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions