Commit Graph

25 Commits

Author SHA1 Message Date
Andrew Brown
2598b5c638 wip timeline design 2025-08-19 19:10:38 -07:00
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
Andrew Brown
f2bfcbc7d2 Enhance timeline editor left sidebar with collapsible content summary
- Add comprehensive linked content summary section with collapsible content type groups
- Replace basic Timeline Stats with detailed content breakdown showing counts and items
- Remove Import Events button to streamline Quick Actions
- Implement Alpine.js methods for managing collapsible sections
- Show up to 10 items per content type with "X more" indicators
- Add Timeline Stats section below content summary with event count, word count, and total linked pages
- Links open in new tabs for easy navigation
- Maintain clean, organized left sidebar layout with consistent styling

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 18:15:24 -07:00
Andrew Brown
fe9bcf5cc4 Complete MaterializeCSS to TailwindCSS migration cleanup
This commit finalizes the transition from MaterializeCSS to TailwindCSS by:

**Layout & Controller Changes:**
- Consolidated layouts/tailwind.html.erb into layouts/application.html.erb
- Removed `layout 'tailwind'` declarations from 21 controllers
- Removed MaterializeCSS CDN link while preserving Material Icons

**Asset Cleanup:**
- Deleted materialize.min.js (76KB) and materialize-overrides.scss
- Removed tailwind.html.erb (no longer needed)
- Cleaned up MaterializeCSS-specific JavaScript files

**JavaScript Modernization:**
- Removed MaterializeCSS initialization and select components
- Updated autosave.js and timeline-editor.js to remove M.toast() calls
- Deprecated unused React component with MaterializeCSS dependencies

**Result:**
- Unified TailwindCSS layout system across entire application
- Complete removal of MaterializeCSS dependencies
- Preserved all functionality through Alpine.js implementations
- Clean codebase ready for production

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 19:39:15 -07:00
Andrew Brown
c512da72c0 redesigns 2025-07-23 11:05:57 -07:00
drusepth
04cc5a4ab6 reuse content#index for timeline#index 2022-11-22 14:37:32 -08:00
drusepth
7bc149549d timelines#index 2022-09-06 15:26:18 -07:00
drusepth
2a5859c8f6 add specialized timeline authorizer, refactor timeline controller, expose read-only timelines to contributors 2022-01-05 15:27:29 -08:00
Andrew Brown
e4e54854a9 re-enable universe filtering on timelines#index 2021-08-09 12:47:21 -07:00
Andrew Brown
e37f1bf8a9 allow filtering by folder AND tag 2021-06-29 16:23:57 -07:00
Andrew Brown
5486858919 Default new universes to current universe scope 2021-06-18 00:38:36 -07:00
Andrew Brown
a08bd05e09 add filter bar to timelines, allow filtering by tag 2021-01-21 15:50:17 -08:00
Andrew Brown
7db60b85ef add tags to timelines 2021-01-21 15:25:38 -08:00
Andrew Brown
8de0338d12 page titles 2020-10-18 21:35:43 -07:00
Andrew Brown
53c4ead7f4 fix whoops 2020-07-11 16:09:33 -07:00
Andrew Brown
523035c81f default timelines to non-null name so we can sort freely 2020-07-11 14:52:21 -07:00
Andrew Brown
722abb0893 allow editing timeline privacy 2020-07-11 02:31:56 -07:00
Andrew Brown
b7d3b9fd33 finish timeline#show page 2020-07-11 02:19:59 -07:00
Andrew Brown
e33e3bf03d fix 500s 2020-07-06 12:19:20 -07:00
Andrew Brown
a453307284 safety check 2020-07-06 03:32:35 -07:00
Andrew Brown
af0601af3d permissions 2020-07-06 03:05:11 -07:00
Andrew Brown
e44f17b0ad timelines#index for premium users 2020-07-05 17:30:25 -05:00
Andrew Brown
8830fa567e timeline editor metadata form 2020-06-30 15:35:58 -05:00
Andrew Brown
a8e73c5e6a timeline events 2020-06-16 02:21:39 -05:00
Andrew Brown
438a7b4eef timelines#index 2020-06-10 15:04:51 -05:00