Skip to content

Conversation

@TrevorBurgoyne
Copy link
Member

@TrevorBurgoyne TrevorBurgoyne commented Oct 27, 2025

Annotation List

Description

  • Add toast notification that shows on fly_to calls and shows annotation position in the ordering (e.g., "3 / 10")
  • Add AnnotationList toolbox item for managing and navigating annotations
    • Displays all annotations in a scrollable list with spatial type icons and class names
    • Bidirectional hover highlighting between list and canvas
    • Filter options:
      • Toggle show/hide deprecated annotations (default: hidden)
      • Group annotations by class
    • Collapsible interface to maximize toolbox space
    • Closes Annotation list toolbox item #234
  • Add automated building & deployment via GHA
Screenshot 2025-10-27 120103

PR Checklist

  • Merged latest main
  • Version number in package.json has been bumped since last release
  • Version numbers match between package package.json and src/version.js
  • Ran npm install and npm run build AFTER bumping the version number
  • Updated documentation if necessary (currently just in api_spec.md)
  • Added changes to changelog.md

Breaking API Changes

@TrevorBurgoyne TrevorBurgoyne added the enhancement New feature or request label Oct 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an AnnotationList toolbox item that provides a comprehensive interface for managing and navigating annotations. The feature includes a scrollable list displaying annotations with spatial type icons and class names, bidirectional hover highlighting between the list and canvas, filtering options (show/hide deprecated, group by class), and a collapsible interface. Additionally, a toast notification was added to show annotation position during navigation (e.g., "3 / 10").

Key Changes:

  • New AnnotationListToolboxItem class with filtering, grouping, and navigation capabilities
  • Toast notification system for annotation navigation feedback
  • Enhanced edit candidate detection logic to prioritize containing annotations
  • Integration with existing fly-to functionality

Reviewed Changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/version.js Version bump to 0.21.0
src/toolbox_items/annotation_list.ts New toolbox item implementation with list UI, filtering, and navigation
src/index.js Added toast notification display and improved edit candidate selection logic
src/configuration.ts Registered AnnotationList toolbox item and added to default order
package.json Version update to match src/version.js
demo/multi-class.html Added AnnotationList to demo toolbox configuration
api_spec.md Documentation for the new AnnotationList toolbox item
CHANGELOG.md Documented new features in version 0.21.0
.github/tasks.md Updated task tracking with completed implementation steps

Copy link
Collaborator

@joshua-dean joshua-dean 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 small tweaks.

@TrevorBurgoyne TrevorBurgoyne merged commit 2001775 into main Nov 17, 2025
3 checks passed
@TrevorBurgoyne TrevorBurgoyne deleted the feature/annotation-list branch November 17, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build app via GHA Annotation list toolbox item

3 participants