elmeg-demo/.specify/tasks/11_user_preferences.md

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 UserPreferences model (user_id, wiki_mode: bool, show_ratings: bool, show_comments: bool).
    • Create API endpoints to Get/Update preferences.
  • Frontend:
    • Create Settings page.
    • Create SocialToggle component.
    • Update ShowDetail and other pages to conditionally render social components based on preferences.

Acceptance Criteria

  • User can toggle "Wiki Mode" in settings.
  • When enabled, Comments and Ratings are hidden from the UI.