Skip to content

Implement edit/view mode toggle #37

@fx

Description

@fx

Description

Implement the ability to toggle between edit mode and view mode in the dashboard. This is the foundational feature for the dashboard editor that allows users to switch between viewing their dashboard and editing it.

Acceptance Criteria

  • Add a mode toggle button/switch in the UI
  • Store mode state in the dashboard store
  • In view mode, all editing controls should be hidden
  • In edit mode, editing controls should be visible
  • Mode state should persist across page reloads
  • Toggle should be easily accessible but not intrusive in view mode

Technical Notes

  • Use TanStack Store for state management
  • Follow Radix UI Theme patterns for the toggle control
  • Ensure touch-friendly sizing (minimum 44px touch target)
  • Consider keyboard shortcut for quick toggling (e.g., Cmd/Ctrl + E)

Epic: #4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions