Commit Graph

6 Commits

Author SHA1 Message Date
ARCHITECT
8963ac74ee Fix getCategory to use set_hst for proper categorization
Tags are now categorized based on their set_hst field, which
points to the parent category tag (e.g., hst, spe, vue, vsn, msn).
This uses the actual semantic relationship defined in the database
rather than inferring from ref prefix or using the base.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:34:43 +00:00
ARCHITECT
d52a7f77c8 Fix getCategory to use current base instead of ref prefix
Tags are categorized by the base they belong to, not by their
ref prefix. A tag in the hst table is always a hashtag, regardless
of whether its ref starts with "flg", "ply", etc.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:24:00 +00:00
ARCHITECT
76d15a9de6 Graph sidebar shows only categories present in current data
- Count tags per category before rendering sidebar
- Only display categories that have tags in current view
- Show count next to each category name

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:19:24 +00:00
ARCHITECT
4f3a7e7949 Fix graph sidebar state closure issue
Event handlers now read fresh state from State.get() instead of
using captured values from when bindSidebarEvents was called.
This ensures the sidebar updates correctly with each render.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:15:06 +00:00
ARCHITECT
964b7820f7 Fix getLibraries to query library tables directly
Instead of depending on non-existent api_library_list_* views,
now queries library_${base} for unique mrf_library values and
fetches tag info from main table.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:01:40 +00:00
ARCHITECT
1475372d9b Initial commit: HST Frontend
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 21:03:26 +00:00