feat: users row actions "Cancel invite" on Pending rows and "Renew invite" on Expired rows

This commit is contained in:
fsylvain committed 2026-09-30 02:48:49 +02:00
1 parent 1ece778caf
commit 142325730d
14 files changed
+1156 -35

No files matched your search

+2 -3
View File
@@ -35,7 +35,7 @@ Feature: Users screen and InviteUserModal
the "Only you" hint is hidden; this is not drawn in docs/design, so it has no visual state
and is covered by Vitest only
And the list is rendered as UsersTable (desktop, md and up) or UserCardList (below md), both
fed by the same items array; rows have no actions and are not clickable
fed by the same items array; rows are not clickable; row actions are specified in features/users_row_actions.feature
And UsersTable has the columns Email, Display name, Role, Invite status and Created, plus an
unlabeled, empty actions column kept so the grid matches the board: grid
minmax(0,1.3fr) minmax(0,1fr) 84px 120px 110px 150px with a 12 px gap, a 36 px header on
@@ -106,8 +106,7 @@ Feature: Users screen and InviteUserModal
form is not disabled by an in-flight request; focus returns to the button that opened it
And a 401 and a 403 (unverified) on either endpoint are handled entirely by useApi's global
handling (features/api_client_global_error_handling.feature)
And this slice does not build the accept-invite screen (/invite/accept) and does not add row
actions (Cancel invite, Renew invite); the "Display names in the Users list" state of the
And this slice does not build the accept-invite screen (/invite/accept); the "Display names in the Users list" state of the
Profile group is drawn by this same list
Scenario: Default — the list loads newest first with email, display name, role, status and created