Repository navigation
fix: settings & forms UX polish pass (#1966) - #2261
Merged
Merged
Conversation
Contributor
Author
Desk Review — PR #2261 (Epic #1966: Settings & forms UX polish pass)Verdict: NOT READY — CHANGES REQUIRED (functionally correct, but a new error branch is untested and the PR's Verification section is inaccurate). CI & tests (observed)
What is correct (verified across branches)
Blocking points
Non-blocking notes (no action required to merge once the above are fixed)
NOT READY — CHANGES REQUIRED (see the two numbered blocking points above). |
Contributor
Author
Desk Review — PR #2261 (Settings & forms UX polish, epic #1966)Verdict: READY TO MERGE. Reviewed the whole implementation on branch CI & tests
Acceptance criteria — all met
i18n parity verified across en/de/fr (+ de-CH override clean); new keys present in all locales; no orphaned keys. Non-blocking follow-up notes (do not gate this merge)
None of the above block the merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the Settings & forms UX polish epic (#1966). This PR lands a focused, fully-verified batch of the still-open child items. Each change is independently shippable per the epic.
Child issues addressed
id), add a shared, well-testedderiveNameFromEmail()util, and use it to seed the owner-onboarding account name (email-first flow) instead of the raw email address.variant="secondary".CopyableField(one-click copy) instead of select-only<code>..min(1)blocks Save and shows a field error, and the label carries a required marker. (German/French "(optional)" titles corrected accordingly.)common.actions.resetkey (the sharedclearAllkey is left untouched — still used by the data-table filters).Deliberate scoping
nameis the immutable identifier anddisplayNameis the editable label — renaming would collide. The rename targets the account profile, the one the issue calls out.Verification
tsc --noEmit(platform) — cleanvitestserver project:derive-name-from-email.test.ts(17 cases) + i18nmessages.test.ts(parity/usage enforce) — passvitestUI project:organization-settings(incl. new required-name coverage),branding-form,copyable-field— passoxlint(changed files) +oxfmt --check+knip— cleanRequired-org-name test coverage (addresses desk-review blocking point #1951)
organization-settings.test.tsxnow has a schema-wired harness that mirrors the production container'suseFormEditor({ schema: z.object({ name: z.string().trim().min(1, …) }) }). Four cases assert the new error branch end-to-end:isValidtofalse(so the global Save button is gated) and renders theorganization.nameRequiredmessage on the field,Remaining epic items (forms validation timing, toasts title+description, tables, branding palette, CSP, changelog nav, etc.) are out of scope for this PR and tracked by their own child issues.
Closes #1966