Implement Theme Tag System#14
Conversation
- Integrated spatie/laravel-tags for theme categorization. - Removed legacy 'categories' JSON column from themes table. - Created TagsSeeder with 40+ themes mapped to relevant style tags. - Updated AiService to generate description and style tags in one request. - Updated ThemeObserver to automate tag assignment on creation. - Updated ThemesController to support tag-based filtering. - Updated frontend search and display components to use tags. - Updated TypeScript types and added feature tests. Co-authored-by: claudemyburgh <6057076+claudemyburgh@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Integrated `spatie/laravel-tags` for theme categorization. - Created `TagsSeeder` to assign style-based tags to existing themes. - Updated `AiService` and `ThemeObserver` to generate and assign tags using OpenRouter during theme creation. - Refactored `ThemesController` and frontend components to replace category filtering with a tag-based system. - Fixed pre-existing linting and React best-practice issues in `MusicPlayer` and `Marquee` components to ensure clean build. Co-authored-by: claudemyburgh <6057076+claudemyburgh@users.noreply.github.com>
Transformed the theme categorization system from a simple JSON column to a robust Many-to-Many tag system using
spatie/laravel-tags.Key improvements:
TagsSeederpopulates the database with a wide variety of tags and associates them with all 50+ existing themes.ThemesController.PR created automatically by Jules for task 16913403527467858523 started by @claudemyburgh