PAR-216
0
Roles settings: non-owner roles render titleless / broken (crammed into ListRow)
DoneUnassignedTesksBug
On the workspace settings Roles section, only the Owner role rendered cleanly; the other roles (Admin/Contributor/Viewer/custom) looked broken.
Cause: each non-owner role was rendered inside a compact ListRow but stuffed with a full permissions <form> (a Checks group of ~8 CheckPills) + Save + Delete on the trailing edge. ListRow is a single-line flex row, so the permission pills + buttons collapsed/wrapped into the trailing slot — visually broken. The data was fine (backend seeds Owner/Admin/Contributor/Viewer with names via V19 + WorkspaceAdminService.seedRoles).
Fix (tesks-ui):
- Render each role as a proper card (
.roleCard): name + chip on the top row, Delete (custom roles) top-right, and the permissionCheckPills as a wrapped group below with its own Save. Owner shows "Full control (fixed)". - Defensive
roleLabel()that falls back to a humanised slug, so a role with a blank name can never render titleless (also applied to the member role-picker options).
Verified in the visual harness with seeded roles: Owner/Admin/Contributor/Viewer/custom all render with titles + permissions.
Comments
No comments yet.
Activity
- paradaux changed status to Status → Done
- tesks changed status to Status → Pending Release
- tesks created the issue