notebook/app/controllers
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
..
api new template editor 2025-07-02 22:35:56 -07:00
admin_controller.rb add info/review pages for basil 2023-02-26 11:48:26 -08:00
application_controller.rb wip dashboard redesign (again lol) 2025-07-07 19:59:04 -07:00
attribute_categories_controller.rb more template editor tweaks 2025-07-03 23:10:38 -07:00
attribute_fields_controller.rb fix field deletion & tone down header styling 2025-07-05 17:38:20 -07:00
basil_controller.rb Revert "Start free Basil month" 2025-06-30 23:10:14 -07:00
browse_controller.rb Revert "Start free Basil month" 2025-06-30 23:10:14 -07:00
buildings_controller.rb a ton more building fields/links 2020-10-17 17:44:17 -07:00
characters_controller.rb allow users to undelete content pages for 24 hours 2018-09-28 22:58:55 -05:00
characters_generator_controller.rb
conditions_controller.rb enable custom attributes on new pages 2018-11-01 18:47:27 -05:00
content_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
content_page_shares_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
continents_controller.rb nullability 2020-01-29 12:43:55 -06:00
contributors_controller.rb add notification open rate admin page + reference codes on system notifications 2021-12-15 14:53:03 -08:00
conversation_controller.rb improve dialogue prompts 2023-04-26 21:32:24 -07:00
countries_controller.rb add wip reciprocal country-country link field for borders 2020-01-29 11:43:33 -06:00
creatures_controller.rb nullability 2020-01-29 12:43:55 -06:00
customization_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
data_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
deities_controller.rb fix fields on deity/government/planet/technology 2018-09-05 13:42:12 -05:00
document_analyses_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
document_revisions_controller.rb paginate revisions 2025-04-01 12:55:20 -07:00
documents_controller.rb Fix tag disappearing issue during timeline filtering and optimize performance 2025-08-01 22:23:45 -07:00
emails_controller.rb
emergency_controller.rb
equipment_generator_controller.rb
export_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
floras_controller.rb allow users to undelete content pages for 24 hours 2018-09-28 22:58:55 -05:00
folders_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
foods_controller.rb attributes + make schools free 2019-05-30 15:53:03 -05:00
governments_controller.rb fix fields on deity/government/planet/technology 2018-09-05 13:42:12 -05:00
groups_controller.rb allow users to undelete content pages for 24 hours 2018-09-28 22:58:55 -05:00
help_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
image_upload_controller.rb silly claude 2025-06-26 23:41:20 -07:00
information_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
items_controller.rb create default pages if not existing + toggleable hiddens 2018-08-18 15:43:27 -05:00
jobs_controller.rb enable custom attributes on new pages 2018-11-01 18:47:27 -05:00
lab_controller.rb add crossword poc for testing 2021-05-27 02:23:16 -07:00
landmarks_controller.rb
languages_controller.rb allow users to undelete content pages for 24 hours 2018-09-28 22:58:55 -05:00
locations_controller.rb controller/meta cleanup 2019-05-11 16:30:57 -05:00
locations_generator_controller.rb
lores_controller.rb link piping 2020-03-28 13:51:21 -05:00
magics_controller.rb
main_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
navigator_controller.rb
notice_dismissal_controller.rb dismissals 2019-05-30 15:26:36 -05:00
notifications_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
page_collection_editor_picks_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
page_collection_submissions_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
page_collections_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
page_tags_controller.rb also update tag slugs when updating label 2022-01-10 22:38:31 -08:00
planets_controller.rb add planet-continent link backend 2020-06-10 00:37:33 -05:00
races_controller.rb
referrals_controller.rb wip 2019-10-13 06:36:00 -05:00
registrations_controller.rb data vault migration to tailwindcss 2025-06-17 11:34:50 -05:00
religions_controller.rb Link deities to religions 2018-07-21 18:06:58 -05:00
scenes_controller.rb
schools_controller.rb attributes + make schools free 2019-05-30 15:53:03 -05:00
search_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
sessions_controller.rb style new sign in form 2022-02-05 19:52:16 -08:00
share_comments_controller.rb require auth on comment creation 2022-12-09 17:42:33 -08:00
sports_controller.rb attributes + make schools free 2019-05-30 15:53:03 -05:00
stream_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
styleguide_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
subscriptions_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
technologies_controller.rb allow users to undelete content pages for 24 hours 2018-09-28 22:58:55 -05:00
thredded_proxy_controller.rb pull in latest thredded and add db migration for it 2022-08-15 22:23:20 -07:00
timeline_events_controller.rb Fix tag disappearing issue during timeline filtering and optimize performance 2025-08-01 22:23:45 -07:00
timelines_controller.rb Fix tag disappearing issue during timeline filtering and optimize performance 2025-08-01 22:23:45 -07:00
towns_controller.rb
traditions_controller.rb enable custom attributes on new pages 2018-11-01 18:47:27 -05:00
universes_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
user_blockings_controller.rb allow users to block other users 2020-03-28 18:26:44 -05:00
user_followings_controller.rb add notification open rate admin page + reference codes on system notifications 2021-12-15 14:53:03 -08:00
users_controller.rb Complete MaterializeCSS to TailwindCSS migration cleanup 2025-07-27 19:39:15 -07:00
vehicles_controller.rb enable custom attributes on new pages 2018-11-01 18:47:27 -05:00
voting_controller.rb
write_controller.rb clean up 2021-07-02 13:11:37 -07:00