Skip to content

Favorites and Pins: pin projects in the sidebar #26

@TheSethRose

Description

@TheSethRose

Summary

Allow pinning projects to the sidebar for quick access.

Current behavior

  • Projects are listed only on the Projects page (src/app/(dashboard)/projects/projects-client.tsx).
  • Sidebar navigation is static in src/components/dashboard/Sidebar.tsx.

Target behavior

  • Add pinned projects section in the sidebar.
  • Pin/unpin control on project cards or project detail page.
  • Persist pins across sessions (DB-backed or localStorage).

Scope

  • UI affordance to pin/unpin projects.
  • Storage for pinned project IDs.
  • Sidebar rendering of pinned projects.

Acceptance criteria

  • Users can pin/unpin a project from the UI.
  • Pinned projects appear in the sidebar with quick navigation.
  • Pins persist across reloads.

Open questions

  • Persist pins per user in DB vs. localStorage?
  • Limit number of pins?

References

  • src/components/dashboard/Sidebar.tsx
  • src/app/(dashboard)/projects/projects-client.tsx
  • src/app/(dashboard)/projects/[id]/project-detail-client.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions