Commit Graph

6533 Commits

Author SHA1 Message Date
Andrew Brown
75239dc707 add pagination on page collection infinite scroll 2025-07-09 00:03:52 -07:00
Andrew Brown
9c992a04ef collection tweaks 2025-07-08 23:47:08 -07:00
Andrew Brown
1414308e82 style collections and add editors picks 2025-07-08 23:17:22 -07:00
Andrew Brown
190da7f0cc Implement multi-step wizard and live preview for collection creation
Major UX improvements that significantly enhance the collection creation experience:

## Multi-Step Wizard Features:
- 4-step progressive workflow: Basics → Visual → Content → Settings
- Interactive step navigation with progress indicator
- Visual step completion states (active, completed, disabled)
- Form validation before allowing step progression
- Keyboard navigation support (Ctrl+Arrow keys)
- Auto-save functionality with visual feedback

## Live Preview Panel:
- Real-time preview updates as users type and make selections
- Split-screen layout with form on left, preview on right
- Desktop/mobile preview toggle functionality
- Dynamic content type visualization
- Privacy and submission status preview
- Theme preview with color scheme changes

## Enhanced Form Experience:
- Progressive disclosure of form sections
- Smart content type selection (All/None/Common shortcuts)
- Theme selection with visual previews
- Character counter with color-coded warnings
- Better error handling and validation feedback
- "Save Draft" functionality for work-in-progress

## Technical Implementation:
- Comprehensive JavaScript controller for wizard logic
- Stimulus-compatible data attributes for future enhancement
- Responsive design that works on mobile and desktop
- Accessibility improvements with proper ARIA labels
- Performance optimizations with debounced auto-save

## User Experience Benefits:
- Reduces cognitive load by breaking complex form into steps
- Provides immediate visual feedback on choices
- Prevents data loss with auto-save
- Makes collection creation feel guided and intuitive
- Significantly improves completion rates through better UX flow

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 10:18:17 -07:00
Andrew Brown
23a20629e1 Redesign collection creation form with modern TailwindCSS styling
- Replace mixed MaterializeCSS/TailwindCSS with comprehensive modern design
- Add beautiful gradient hero section with collection branding and breadcrumbs
- Organize form into logical card-based sections with color-coded headers
- Implement enhanced form controls with custom styling:
  * Custom checkboxes with visual feedback for content types
  * Toggle switches for submission settings
  * Drag-and-drop file upload with visual states
  * Character counter for description field
  * Radio buttons with descriptive layouts
- Add interactive JavaScript features:
  * Select All/None/Common Types for content selection
  * Progressive disclosure for submission options
  * Real-time character counting with color feedback
  * Drag-and-drop file upload enhancement
- Improve UX with better visual hierarchy and spacing
- Add comprehensive help text and guidance throughout
- Maintain all existing functionality while enhancing usability
- Ensure responsive design works across all screen sizes

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 01:33:53 -07:00
Andrew Brown
23297339bb Redesign user content list pages with modern TailwindCSS styling
- Replace MaterializeCSS with comprehensive TailwindCSS design system
- Add beautiful gradient hero section with content type branding
- Implement responsive breadcrumb navigation and user profile integration
- Create dual view modes: grid cards and detailed list view with toggle
- Add elegant content cards with hover animations and image backgrounds
- Include comprehensive stats display (item count, word count)
- Implement proper empty state handling with content type descriptions
- Add tag filtering and cross-linking functionality
- Maintain all existing image loading and favorite/basil commission logic
- Ensure responsive design works across all screen sizes
- Add smooth transitions and modern card shadows throughout
- Include JavaScript view toggle functionality for enhanced UX

Covers all content type pages: /users/1/universes, /users/1/characters, etc.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 01:19:05 -07:00
Andrew Brown
75a641613c Redesign user tag page with modern TailwindCSS styling
- Replace MaterializeCSS with modern TailwindCSS design
- Add beautiful gradient hero section with user profile and tag information
- Implement responsive breadcrumb navigation
- Create elegant content cards with hover effects and smooth transitions
- Add proper empty state handling with actionable CTA
- Organize content by type with clear section headers
- Include tag filtering and cross-linking between related tags
- Add backdrop blur effects and modern card shadows
- Maintain all existing functionality while improving visual design
- Ensure responsive layout works across all screen sizes

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 01:13:28 -07:00
Andrew Brown
11d6f033ea Fix polymorphic association loading error in user profiles
- Replace problematic joins on polymorphic content_page association
- Filter content page shares in Ruby instead of SQL to avoid polymorphic join issues
- Update activity streak calculation to work with filtered array instead of ActiveRecord relation
- Maintain privacy filtering by checking content_page.privacy in Ruby

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 01:01:35 -07:00
Andrew Brown
e87e818915 Implement privacy filtering and remove edit activities from user profiles
- Filter all content to show only public items on profile pages
- Remove "made an edit" activities from activity feeds and timeline
- Update activity streak calculation to use only content shares
- Clean up UI references to edit activities in overview and activity tabs
- Fix polymorphic association loading issue in content page shares
- Ensure tag filtering only shows public content across all content types

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 00:56:24 -07:00
Andrew Brown
54582584a2 add streak styling 2025-07-07 23:58:05 -07:00
Andrew Brown
21af684073 add streaks to the dashboard 🤔 2025-07-07 21:52:36 -07:00
Andrew Brown
971475e747 more dashboard polish 2025-07-07 20:52:25 -07:00
Andrew Brown
0baec4f9ad more dashboard styling + restyle recent_content page 2025-07-07 20:39:01 -07:00
Andrew Brown
3ce3481a1a wip dashboard redesign (again lol) 2025-07-07 19:59:04 -07:00
Andrew Brown
7c06b27f60 clean up dashboard 2025-07-07 00:14:01 -07:00
Andrew Brown
ada4b03f92 Consolidate attributes editor and fix dashboard image errors
- Merged duplicate attributes editors into single route
- Removed /plan/:content_type/attributes-tailwind route and controller method
- Moved modern Tailwind attributes editor to main /attributes route
- Fixed dashboard ArgumentError: Nil location provided. Can't build URI
- Enhanced HasImageUploads concern with better Active Storage handling
- Added nil-safety guards to header_asset_for method
- Improved caching logic to prevent nil value storage

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 00:10:33 -07:00
Andrew Brown
a381a4a3f3 universe docs/help 2025-07-06 23:34:13 -07:00
Andrew Brown
c3bb6f453b Implement dynamic navbar autocomplete search functionality
- Add real-time autocomplete endpoint with fast name-only queries
- Replace static search form with interactive Alpine.js component
- Include 300ms debounced search with keyboard navigation support
- Add instructional help dropdown when search input is focused but empty
- Implement proper content type icons with hex colors instead of CSS classes
- Add database indexes for optimized name searches across all content types
- Support arrow key navigation, Enter to select/search, Escape to close
- Maintain full search functionality as fallback for comprehensive results

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 22:49:33 -07:00
Andrew Brown
96500df2ec polish search 2025-07-06 19:38:37 -07:00
Andrew Brown
d1fc5cb459 implement database-agnostic multi-word search functionality
- Replace PostgreSQL ILIKE with cross-database LOWER/LIKE queries
- Add multi-word search support with AND logic (e.g., "red dragon" finds "dragon with red scales")
- Search both Attribute values and entity name columns for comprehensive results
- Add database-aware search indexes (GIN for PostgreSQL, standard for SQLite)
- Implement result pagination and improved relevance sorting
- Fix SQLite compatibility for development environments

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 19:10:21 -07:00
Andrew Brown
440849d9e8 polish up navbar buttons 2025-07-06 17:35:42 -07:00
Andrew Brown
e439c7af88 restyle navbar buttons 2025-07-06 17:18:24 -07:00
Andrew Brown
e464bbee4d get colored navs working again 2025-07-06 16:25:25 -07:00
Andrew Brown
eac08a7d3e content#index polish for empty/null state content lists 2025-07-06 16:06:02 -07:00
Andrew Brown
419285c08a add documentation about templates 2025-07-05 18:28:21 -07:00
Andrew Brown
1bf196c7f7 final polish on template editor hopefully 2025-07-05 17:42:17 -07:00
Andrew Brown
e0a511b50f fix field deletion & tone down header styling 2025-07-05 17:38:20 -07:00
Andrew Brown
c94667321e redesign header again 2025-07-05 16:16:19 -07:00
Andrew Brown
487504f622 redesign page header 2025-07-05 14:09:06 -07:00
Andrew Brown
e1c397d8f8 add more export formats and fill out import template section 2025-07-04 23:39:01 -07:00
Andrew Brown
585483295c fix link style previews 2025-07-04 22:40:30 -07:00
Andrew Brown
3cb46f8230 cleanup 2025-07-04 21:11:07 -07:00
Andrew Brown
007ccdc5f8 template editor polish 2025-07-04 01:00:31 -07:00
Andrew Brown
c0191fb173 template editor polish 2025-07-04 00:48:37 -07:00
Andrew Brown
64de4eabfd template editor polish 2025-07-04 00:27:55 -07:00
Andrew Brown
f9f19386de more template editor tweaks 2025-07-03 23:10:38 -07:00
Andrew Brown
f2811388d7 template editor tweaks from claudy 2025-07-03 16:55:33 -07:00
Andrew Brown
df56671ed3 new template editor 2025-07-02 22:35:56 -07:00
Andrew Brown
7af35d1946 add sidebar toggle back 2025-07-02 00:21:01 -07:00
Andrew Brown
fd7c5b7b6b move universe selector into sidebar 2025-07-02 00:12:16 -07:00
Andrew Brown
15309a2d27 wip 2025-07-01 23:03:53 -07:00
Andrew Brown
3cf04abcba minor fixes 2025-07-01 18:57:57 -07:00
Andrew Brown
ca3db787f3 Fix route helper reference in document analyses controller 2025-07-01 01:12:31 -07:00
Andrew Brown
95ad08a039 Add document analysis landing page and dashboard hub
- Created a landing page for logged-out users showcasing document analysis features
- Built a functional dashboard hub for logged-in users with analysis tools and insights
- Added new routes and controller actions to handle both views
- Updated sidebar link to point to the new analysis hub
- Added analysis count badge to sidebar navigation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-01 01:10:32 -07:00
Andrew Brown
a3be81b0f0 claude take the wheel: resolve all the materialize-->tailwind merge conflicts 2025-06-30 23:45:40 -07:00
Andrew Brown
11136b9115 Revert "Start free Basil month"
This reverts commit b0a2e1e2e9.
2025-06-30 23:10:14 -07:00
Andrew Brown
50035d6945 polish tag browser header on small screens 2025-06-30 21:01:20 -07:00
Andrew Brown
37e5647a67 metadata on artfight2025 directory 2025-06-30 20:44:57 -07:00
Andrew Brown
1956c7aad8 Add comprehensive tests for FoldersController
This commit adds test coverage for the FoldersController, including tests for:
- Authentication requirements
- Creating folders and subfolders
- Updating folders
- Viewing folders
- Filtering by favorites and tags
- Deleting folders
- Security (preventing access to other users' folders)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-30 12:18:28 -07:00
Andrew Brown
4f1abc82cd release polish 2025-06-30 01:30:13 -07:00