- 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>
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>
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>
Implementación completa de soporte multi-bucket para tabla ATC:
- Tabla public.bucket_registry (metadata de buckets)
- Tabla public.bucket_access_log (auditoría)
- Campo bucket_mrf en tzzr_core_secretaria.atc
- 2275 archivos migrados a bucket 'deck'
- Documentación completa de sesión
Cambios menores:
- deck-v4.6.html actualizado
- Caddyfile para captain-mobile
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Change API_BASE to https://tzrtech.org/api (HST server)
- Update all schemas to 'public' (actual DB schema)
- Fixes TreeView data loading in production
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Events now logs to console when _debug is true:
- [Events.on] event (N handlers) - green
- [Events.off] event - orange
- [Events.emit] event data → N handlers - blue
Toggle in browser console:
Events._debug = false // disable
Events._debug = true // enable (default)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>