Render hierarchical types as a tree - #1867
Open
PaulHax wants to merge 5 commits into
Open
Conversation
PaulHax
marked this pull request as ready for review
August 21, 2026 20:12
PaulHax
force-pushed
the
hierarchical-type-list
branch
4 times, most recently
from
August 21, 2026 20:47
76947a4 to
e79e363
Compare
PaulHax
force-pushed
the
hierarchical-type-list
branch
from
August 21, 2026 20:48
e79e363 to
fb1a768
Compare
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.
Render hierarchical types as a tree
Bryon called out three follow-ups during review of the original hierarchy PR:
render the Type List as a tree, let a parent toggle its children, and roll child counts into
parents. For datasets without a type hierarchy, the Type List retains its existing flat behavior.
dive-type-hierarchical-list.mp4
Changes
its complete subtree.
suppression rules as the displayed counts.
children that are filtered out.
Manual tests
Test data: upload and extract
hierarchical-type-list.zip
The ZIP opens to
hierarchical-type-list/with self-containedsynthetic/andsefsc/datasets.Type List controls and counts
synthetic/images/, then importsynthetic/annotations.jsonandsynthetic/config.json.Expand Parents / Compact Parents.
fishmaximum-count button.fish; uncheck and recheckjuvenile-red-snapperandred-snapper.Verify: The tree and tri-state checkboxes follow the hierarchy, search keeps the ancestor path, and
the compact breadcrumb is
eukaryota › animalia › chordata. Parent counts include descendants;fishtotals four tracks and seeks to frame 2. Suppressed detections do not reappear in parentcounts or peak navigation.
Real SEFSC-SEAMAP hierarchy
sefsc/, then import its VIAME CSV andconfiguration from the same directory.
Verify: The 24 real tracks render in the correct hierarchy from
eukaryotathrough the eightobserved species.
This is a follow-up to
Define raw and resolved classification boundaries.