Repository navigation
Confirm interview context, inline password change, soft UI style - #157
Merged
Merged
Conversation
The renderer summary carries only a flag, like hasProfileData, so the full job context stays out of the broadcast. Refs #156 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The job context is account-wide and outlives the interview it was written for, so a set context is not necessarily a current one. Ask before every live and mock start, with copy for both the empty and the set case. Live asks on the home screen before navigating to /main; the command palette's live start now routes through home for the same reason. Mock asks on Start in the setup dialog, ahead of the headphone notice. Refs #156 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shrink both textareas and name what belongs in each beside the label: Profile (CV, resume, ...) and Context (job description, ...). Refs #156 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mouse side buttons, Alt+Left/Right, Cmd+[ / Cmd+] and the Browser Back/Forward keys traversed history past the app's own navigation. Option+Left/Right is left alone on macOS, where it moves the caret by a word. The in-app Back button routes through the router and is unaffected. Refs #156 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Show the opening of each field so confirming the context is a glance rather than a recollection. Fetched over account:get on open, since the app state carries only a summary; each field is sliced before render. A failed fetch hides the preview instead of reading as "Not set". Refs #156 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Password moves into the sign-in card and opens in place instead of a dialog, so the profile Save no longer reads as covering it. Signed-in users could not reach /auth/forgot-password, so a forgotten current password was a dead end. The section now emails a reset code to the account address, asks the save-history guard first, and signs out after the reset since it ends every session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shared primitives move to borderless filled inputs, rounder radius and raised `surface` / `surface-overlay` utilities instead of borders. Account page drops the completeness card and its strings, gains an identity header, and keeps profile fields and Save in one card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Account page scrolls through the route container again, so the scrollbar stays hidden and the header sticky, like Configuration. - Password section: no toast beside the inline error when sending a reset code fails, and the submit label no longer reads "Changing" while the code is being sent. - Dialog close button sits in the corner so the larger hit area does not crowd titles; tooltips get a 4px offset now the arrow is gone. - Context reminder preview matches the filled surface style. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #156
Summary
Context confirmation before every session. A dialog asks whether the account's job context fits this interview, with a shortcut to the account page. The wording depends on whether context is set ("Is your context up to date?") or empty ("No interview context set").
/main. The command palette's "Start live interview" now routes through home, the way its mock entry already does.hasContextDataadded to the renderer'sInterviewConfigSummary, the same way ashasProfileData. The full context stays out of the broadcast. Pinned intest/app-state.test.mjs.Account fields: Profile and Context textareas are shorter, and each label names what belongs in it: Profile (CV, resume, LinkedIn, etc.), Context (job description, conversation history, cover letter, etc.). This also applies to the first-run wizard, which shares these fields.
Back/forward gestures blocked: mouse side buttons, Alt+Left/Right (Windows/Linux), Cmd+[ / Cmd+] (macOS), and the Browser Back/Forward keys. Option+Left/Right is left alone on macOS because it moves the cursor by a word. The in-app Back button is unaffected.
Password change, in place. The password moves into the sign-in card on the account page and opens inline instead of in a dialog, so the profile's Save no longer reads as covering it. Enter submits, a mismatch shows under the confirm field, and a server error clears as you type.
Forgot your current password, while signed in.
/auth/forgot-passwordsends a signed-in user home, so a forgotten current password used to be a dead end. The section now emails a reset code to the account address. A reset ends every session, so it asks the save-history guard first, like any sign-out, and signs out here once it succeeds.Account page layout. The profile-completeness card is gone (and its strings). An identity header with initials sits on top, and the profile fields share one card with their Save button.
Soft, filled component style. Shared primitives move to borderless filled inputs, a larger base radius (0.5rem to 0.75rem, which rounds every
rounded-*in the app), and two new raised-surface utilities,surfaceandsurface-overlay, instead of borders. Heights and paddings are unchanged, so the control bar's fixed slots do not move. Side effects worth knowing: outline buttons are now borderless grey,secondarybuttons (only the payment Copy buttons) are a light orange, dropdown labels are small muted text, and tooltips lost their arrow and gained a 4px offset.New strings are in all 9 locales. The non-English text was written by Claude and needs a native-speaker pass.
Test plan
pnpm lint,tscfor both configs,pnpm build,pnpm test:main/account; confirm starts the session; Esc stays on home🤖 Generated with Claude Code