Skip to content

type manager for deleting types and hierarchies - #2021

Merged
BryonLewis merged 2 commits into
mainfrom
manage-types
Oct 7, 2026
Merged

BryonLewis merged 2 commits into
mainfrom
manage-types

Conversation

@BryonLewis

Copy link
Copy Markdown
Collaborator

Adds a Manage Types dialog from the type list settings (cog -> Manage Types) so users can browse the full type hierarchy including empty and filter-hidden types, rename or reparent types, and delete types with explicit handling for affected tracks.

  • New TypeManagementDialog with search, expand/collapse, Direct tracks / Branch tracks counts (all cameras, ignoring visibility and filter state), edit via existing TypeEditor, and delete confirmation with transfer-to-unknown vs delete-entire-track choices.
  • New TrackFilterControls.deleteTypeWithTracks and typeTrackIds for unfiltered usage, per-camera label updates on transfer, child promotion on delete, optional Delete empty parents too, and blocking transfer of unknown onto itself.
  • Type settings UI: Add Types (import) plus Manage Types entry point; docs updated in UI-Type-List.md.
  • Fix: renaming an unused configured flat type keeps the new name in configuredTypes (previously dropped after rename).

@BryonLewis
BryonLewis merged commit 71d661f into main Oct 7, 2026
3 checks passed
@BryonLewis
BryonLewis deleted the manage-types branch October 7, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant