notebook/app/models/timelines
Andrew Brown 3d6ce69488 Fix tag disappearing issue during timeline filtering and optimize performance
- Initialize eventTags object from server-rendered DOM data on page load
- Add fallback in getEventTags() to scrape tags from DOM when cache is undefined
- Optimize updateMainPanelTags with DOM query caching and content change detection
- Remove redundant tag update calls during filtering to improve performance
- Add proper cache invalidation when tags are added/removed
- Only update highlight styling when actually needed during filter mode changes

This resolves the issue where tags would disappear when filtering timeline events
by ensuring the JavaScript tag data is always synchronized with the server-rendered content.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 22:23:45 -07:00
..
timeline_event_entity.rb add paranoid deleted_at fields for recovery and reorganize model hierarchy 2020-08-28 18:31:21 -07:00
timeline_event.rb Fix tag disappearing issue during timeline filtering and optimize performance 2025-08-01 22:23:45 -07:00
timeline.rb redesigns 2025-07-23 11:05:57 -07:00