Repository navigation
ui(accounts): accounts page polish (federation cards, file picker) - #1611
Conversation
Federation setup: the IaC download buttons become readable cards (icon tile, 14px name, muted one-line description instead of 11.5px text at 72% opacity), and Target cloud is one segmented control that stays on a single line on phones instead of stacking into a column of pills. Registrations: the Status filter label sits on the select's line at the body text size, and the status cell no longer wraps "Pending" and "creds" onto two lines. Service Override Backup: the native "Choose File" control is styled as an outline button (no pill border around the whole input), the Import file / Mode labels line up with their controls, and the empty status and report slots no longer pad the bottom of the card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow-up to the accounts polish. The "CUDly host account" banner lays out its text and Add button on one tinted line instead of the button butting against the text, and "No accounts configured." is plain muted text rather than italic. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapted for standalone: the registration, override import and empty accounts rules were appended at the end of settings.css, where the other admin sweep PRs also append. Move them after the federation / accounts rules so this PR merges without conflicts in any order. No style change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 26 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Merge gate record (burndown orchestrator) Independent adversarial review (claude-opus-5-5)
Local verification
Screenshots (1440x900 and 390x844) are kept with the local run evidence; not attached here. |
A set of small fixes on Admin > Accounts & onboarding. The federation IaC download buttons had 11.5px descriptions at 72% opacity. The Target cloud pills stacked into a column on phones. The Service Override Backup import used the browser's raw file input inside a pill-shaped border. The "CUDly host account" banner in an empty provider block had its Add button butting against the text. This PR makes the download options readable cards, turns Target cloud into one segmented control, styles the file picker as a button, and tidies the registration filter, status cell and empty state.
Part of the UI modernization sweep.
What changed
frontend/src/styles/settings.css:inline-flex,nowrap) using colour tokens instead of hardcoded hex values, and it stays on one line on phones..registration-status) doesn't wrap "Pending" and "creds" onto two lines.::file-selector-buttonis styled as an outline button. The Import file and Mode labels line up with their controls. The empty import status and report slots no longer pad the bottom of the card; the status is a live region, so only its margin goes.frontend/src/modules/registrations.ts: the status cell gets theregistration-statusclass.Why
These are the leftover rough spots on the page from the audit: text too faint to read, a control that broke into a column on phones, an unstyled native file input, and spacing glitches in the empty state.
Screenshots
Before = main at 43dd618; after = this branch. Headless Chromium at 1440x900 (desktop) and 390x844 (phone) against a mocked API. The empty state uses the tour's "no accounts" mock.
Verification
Run on this branch's head
f1a306a9(main 43dd618 + 3 commits), fromfrontend/:npm run typecheck: pass.npm run lint: 0 errors (141 warnings, the same as main).npm run build: pass.e2e-local.sh, the repo's full suite): 276 passed.Notes for review
Overlaps
frontend/src/modules/registrations.tsis also touched by ui(accounts): account and registration row actions as icon buttons #1608. They merge cleanly.frontend/src/styles/settings.cssis also touched by ui(settings): admin settings sections as cards with visible hints #1606, ui(accounts): account and registration row actions as icon buttons #1608, ui(settings): quiet danger style for Reset to Defaults #1609 and fix(users): permission overview shows admin:* grants and verb variants #1610. All pairs merge cleanly in any order.Note for the UI owner
This changes UI code that @cristim owns. IAmJSD reviewed the before/after screenshots and asked for these PRs; any design point you disagree with can be a follow-up.
🤖 Generated with Claude Code