Skip to content

Add a Grid/List toggle to /projects #6

Description

@notsointresting

The browse page renders cards only. A dense list view is better for scanning many results.

WinnerRow in src/components/winner-card.tsx is already written and unused — wire it up.

Scope

  • A toggle in src/components/results-toolbar.tsx that sets ?view=list / ?view=grid
  • src/components/winner-browser.tsx reads the param and picks the renderer
  • Default stays grid; the param must survive filtering and pagination like every other param
  • Add a Playwright assertion in tests/e2e/smoke.spec.ts

Keep it simple — no client state beyond the URL.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood entry point for new contributorshelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions