Conversation
|
@claude review |
|
Claude finished @malinskibeniamin's task in 3m 27s —— View job Code Review: Security page refactorTasks
SummaryGood overall refactor — moving from full-page routes to dialogs for create/edit flows is a cleaner UX pattern, and the shared 🐛 Bugs1. Broken E2E test: The test clicks // user-management.spec.ts:72-80 — references deleted route + removed testId
await page.getByTestId('create-acls-button').click();
await expect(page).toHaveURL(/\/security\/acls\/create/);Similarly, 2. Non-reactive role membership lookup [
// use-principal-permissions.ts:105
for (const [roleName, members] of rolesApi.roleMembers) { // ← not reactive3. Dead code [ The return value of // user-details.tsx:48
formatMechanism(currentUser?.mechanism); // result is unused
|
- Use ConnectError.from() for structured error messages in role creation - Include member name in remove-from-role toast notification - Replace raw <h2> with Heading registry component in acls-card - Use pluralizeWithNumber() for ACL count summary text - Use <Empty> component for inline no-ACLs state in PrincipalRow - Improve empty states in roles and users tabs with <Empty> registry component - Navigate to user details after creation in E2E security-page helper
No description provided.