Skip to content

design: Project List Toggle#9320

Open
royendo wants to merge 7 commits intomainfrom
royendo/add-project-list-view
Open

design: Project List Toggle#9320
royendo wants to merge 7 commits intomainfrom
royendo/add-project-list-view

Conversation

@royendo
Copy link
Copy Markdown
Contributor

@royendo royendo commented Apr 28, 2026

as designed here: https://www.figma.com/design/JtG3sbaopjO0xQlyeCjmho/RILL-WIP?node-id=7363-25635&m=dev

Screenshot 2026-04-28 at 18 54 25 Screenshot 2026-04-28 at 18 54 08

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

royendo and others added 5 commits April 28, 2026 10:02
Adds a grid/list view toggle to the organization projects view. Defaults to
grid (existing behavior); list view reuses the shared `ResourceList` primitive
used by dashboards, alerts, and reports for consistency.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Reworks the projects list view to match the Figma design:
- Column-based table: Project name, Status, Permission, Your role
- Status pill derived from deployment status + project visibility
  (Live, Ready, Error, Pending, Unpublished)
- Row-level role label (Admin / Editor / Viewer) from `projectPermissions`
- Replaces the custom toolbar with the shared `TableToolbar` for search,
  sort, view toggle, and filter (currently wired for Public/Private)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds a three-dot dropdown to each row exposing Edit (settings page),
Share (project share popover), Hibernate, and Delete. Menu items are
gated by `projectPermissions`: Hibernate and Edit require
`manageProject`, Share requires `manageProjectMembers`, Delete requires
`admin`. Hibernate and Delete open AlertDialog confirmations and
invalidate cached project queries on success.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The previous `IconButton` wrapper inside `DropdownMenu.Trigger` produced
a nested-button structure that some browsers collapse, causing the
three-dot menu to be invisible in some sessions. Render the trigger
directly as a styled button with explicit hover/open states.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Sort by `project.createdOn` instead of `updatedOn` so "Newest" reflects
  most recently created projects (project.updatedOn changes on edits and
  is not the creation date).
- Use `align="start"` on the row actions menu so it hangs from the
  trigger's bottom-right and extends down + right.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@royendo royendo requested a review from Di7design April 28, 2026 15:36
@royendo royendo marked this pull request as ready for review April 28, 2026 22:57
@royendo royendo requested a review from a team as a code owner April 28, 2026 22:57
@royendo
Copy link
Copy Markdown
Contributor Author

royendo commented Apr 30, 2026

will re-work after #9295 merges!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants