Skip to content

Refactor mapping of text labels and bone IDs #389

@leandrumartin

Description

@leandrumartin

🎯 Goal / Objective

A clear and concise description of what this task aims to achieve. Why is this task important?

Important

Prerequisite issue: #352

Text annotations on an image can be clicked to navigate there. This is being handled by mapping the label text to a bone or bone part ID, in templates/js/imageAnnotationToDropdownMap.js. Preferably this would not be done in the front-end, though, so this mapping should be refactored to be stored directly in the data itself.


✅ Tasks to be Completed

A checklist of the specific, actionable steps required to complete this issue. This helps track progress.


Acceptance Criteria

A checklist of conditions that must be met for this task to be considered complete. How will we verify that it's done correctly?

  • The new feature is implemented as described.
  • All related code passes the repository's workflow checks (linting, tests).
  • The application runs without errors after the changes are made.
  • (If applicable) New automated tests have been added to cover the changes.
  • Any related documentation has been updated, including JSDoc comments or docstrings

Additional Context

Add any other context, notes, screenshots, or links that might be helpful for completing this task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions