[Planning] RFC + ADRs for Curator Dashboard v2 refactoring#151
Open
misabegovic wants to merge 5 commits into
Open
[Planning] RFC + ADRs for Curator Dashboard v2 refactoring#151misabegovic wants to merge 5 commits into
misabegovic wants to merge 5 commits into
Conversation
- RFC-0001: Curator Dashboard v2 — Per-Resource Suggestions, Reviews, Audio Tours - ADR-0003: Replace ContentChange with per-resource suggestion models - ADR-0004: Reviews management system with moderation workflow - ADR-0005: Audio tour generation integration in curator dashboard - Updated planning README index ContentChange model doesn't work on production. Only PhotoSuggestion functions. These documents plan the replacement with typed per-resource models, addition of review moderation, and audio tour generation UI. https://claude.ai/code/session_01BBodBtQ9TUrV2gU3Vjh1qS
…ibutor, absorb PhotoSuggestion Key design changes based on feedback: - One pending suggestion per resource (unique constraint), not per curator - Multiple curators contribute to the same suggestion via typed contribution models - PhotoSuggestion absorbed into LocationSuggestion (unified text + photos) - Contribution model has same typed columns as suggestion for audit trail https://claude.ai/code/session_01BBodBtQ9TUrV2gU3Vjh1qS
- Location: video_url (string) → video_urls (JSONB array) - Experience: add video_urls (JSONB array) - Plan: add has_one_attached :cover_photo with fallback chain - Experience/Plan: add image variants (thumb/medium/large) - Updated ADR-0003 suggestion models with new fields - Updated RFC-0001 with new model capabilities https://claude.ai/code/session_01BBodBtQ9TUrV2gU3Vjh1qS
AI services currently write directly to database. This ADR introduces origin tracking (human/ai_generated) on all suggestion models so AI content goes through the same approval workflow as curator suggestions. - origin enum + ai_service field on Suggestable concern - AI services create suggestions instead of direct writes - Dashboard shows Human/AI tabs separately - System user (ai@usput.ba) for AI operations - AudioTourGenerator stays direct (admin-only = explicit approval) - New implementation phase 2.5 for AI pipeline adaptation - Updated ADR-0003 migration and concern with origin fields https://claude.ai/code/session_01BBodBtQ9TUrV2gU3Vjh1qS
|
You have run out of free Bugbot PR reviews for this billing cycle. This will reset on March 3. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
…o tours Faza 1: Admin direct CRUD via Flipper per-actor flags - Add flipper_id to User, admin_direct_crud? helper - Dual-path controllers: admin = direct CRUD, curator = proposals Faza 2: Per-resource suggestion models replacing ContentChange - Suggestable concern with status/approve/reject/contribute workflow - LocationSuggestion, ExperienceSuggestion, PlanSuggestion with typed columns - Multi-curator contribution tracking (3 contribution models) - Curator controllers for creating/editing suggestions - Admin unified suggestion inbox + per-type approval panels - 8 migrations with unique partial indexes Faza 3: Reviews management with moderation + flagging - moderation_status enum (unreviewed/approved/flagged/removed) on Review - ReviewFlag model for curator flagging workflow - Admin reviews controller with approve/remove actions Faza 4: Audio tour generation integration - AudioTourGenerateJob background job - Admin-only generate_audio_tour action with rate limiting - Location show page UI with locale dropdown + audio player 437 tests, 1423 assertions, 0 failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ContentChange model doesn't work on production. Only PhotoSuggestion
functions. These documents plan the replacement with typed per-resource
models, addition of review moderation, and audio tour generation UI.
https://claude.ai/code/session_01BBodBtQ9TUrV2gU3Vjh1qS