Files
captain-claude/deck-frontend/deck-v4.6.html
ARCHITECT bee5f9f939 DECK frontend: data-driven category classification using hst_rules
- Add tableRules to State for caching hst_rules data
- Add getTableRules() API function to fetch hst_rules table
- Modify getCategory() to check if table has categories (hst_permitidos)
- Only use set_hst for sub-categorization on tables with non-empty hst_permitidos
- Tables without categories now correctly show base name as category
- Load tableRules once on first data load for performance

Fixes issue where all items were showing sub-categories even when the
table (like itm, flg, loc) doesn't have category restrictions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 23:15:43 +00:00

63 KiB