Skip to content

Conversation

TheBobBobs
Copy link
Contributor

Summary

Add method get_tag_hierarchy to Library that returns a dict[TagId, list[ParentId]] and dict[TagId, Tag] containing every tag in the hierarchy. Update FieldContainers to use this new method.

Currently all places that call Library.tag_display_name already have the Tag object so we don't need to fetch it from db.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@TheBobBobs TheBobBobs force-pushed the perf/preview_panel branch from 4ef7c13 to 59460e4 Compare May 29, 2025 01:08
@CyanVoxel CyanVoxel added TagStudio: Search The TagStudio search engine Type: Performance An issue or change related to performance Status: Review Needed A review of this is needed labels Jun 4, 2025
@Computerdores Computerdores self-requested a review June 5, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed A review of this is needed TagStudio: Search The TagStudio search engine Type: Performance An issue or change related to performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants