670 B
670 B
Task: User Preferences (Wiki Mode)
Objective
Implement a preference system to allow users to toggle "Wiki Mode" (disable social features).
Steps
- Backend:
- Create
UserPreferencesmodel (user_id, wiki_mode: bool, show_ratings: bool, show_comments: bool). - Create API endpoints to Get/Update preferences.
- Create
- Frontend:
- Create
Settingspage. - Create
SocialTogglecomponent. - Update
ShowDetailand other pages to conditionally render social components based on preferences.
- Create
Acceptance Criteria
- User can toggle "Wiki Mode" in settings.
- When enabled, Comments and Ratings are hidden from the UI.