Conversation
Contributor
There was a problem hiding this comment.
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
AnnotationListToolboxItemclass 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 |
joshua-dean
reviewed
Nov 7, 2025
Collaborator
joshua-dean
left a comment
There was a problem hiding this comment.
Looks great, just a few small tweaks.
Co-authored-by: Joshua Dean <alder314@gmail.com>
…l into feature/annotation-list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Annotation List
Description
fly_tocalls and shows annotation position in the ordering (e.g., "3 / 10")AnnotationListtoolbox item for managing and navigating annotationsPR Checklist
package.jsonhas been bumped since last releasepackage.jsonandsrc/version.jsnpm installandnpm run buildAFTER bumping the version numberapi_spec.md)changelog.mdBreaking API Changes