Skip to content

fix(settings): show the account form's error in view; Phase 5's trial - #57

Merged
bketelsen merged 2 commits into
mainfrom
m7/form-error-in-view
Oct 17, 2026
Merged

bketelsen merged 2 commits into
mainfrom
m7/form-error-in-view

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Two follow-ups to #56 from finishing Phase 5's trial in the Windows VM.

Account form errors scroll into view

The account form shows its last error below the account's services. When the window is shorter than the form, that is out of sight, so a failed Sign In… looked like it did nothing: in the VM, Gmail's sign-in failed with "Set up your Google client under Sign-In first." 300 px below the window's edge. The error now scrolls into view when it appears or changes (FormAlert in AccountForm.tsx, with AccountForm.alert.test.tsx; the existing form tests are task-card contracts and stay as they are). Checked in the VM with a local build: the message shows above Save. It applies on Linux too, in a short enough window.

The rest of the trial (plan 0010, Phase 5)

With Graph consented and Gmail and iCloud signed in:

  • the app read all three accounts; iCloud and Gmail sent through maild;
  • on each account a contact was added, edited and deleted, and an event added, renamed and deleted; mailctl verify found each step on the Outlook.com and iCloud servers (Gmail's first sync of 690,000 messages had not finished, and verify waits for it);
  • with the app closed, an Outlook.com event's reminder raised its toast on time; Snooze, through the frostmail-toast: URI a click sends, cleared it in maild, which withdrew the toast and raised it again ten minutes later; Dismiss cleared it for good;
  • new mail on iCloud and Gmail raised toasts.

Left from Phase 5: the clean install on one of the user's machines.

Checked

  • make ui-check (1266 tests).

🤖 Generated with Claude Code

bketelsen and others added 2 commits October 16, 2026 21:23
The error sits below the account's services, out of sight when the
window is shorter than the form, so a Sign In… that failed (no Google
client set) seemed to do nothing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bketelsen
bketelsen merged commit bb5f92e into main Oct 17, 2026
6 checks passed
@bketelsen
bketelsen deleted the m7/form-error-in-view branch October 17, 2026 01:57
bketelsen pushed a commit that referenced this pull request Nov 23, 2026
frostui v0.10.1 scrolls an Info dialog's body under its fixed title and
Close button (frostyard/frostui#51, #57). On a 1280×800 screen the
Keyboard Shortcuts list is taller than the window, and on v0.10.0 the
Edit, Go to and View groups were below its foot with no way to reach
them.

TestShortcutsDialogScrollsAt1280x800 opens the dialog at 1280×800 and
scrolls it with the mouse wheel until each of those groups and the last
row are inside the dialog; it fails on v0.10.0. go-sources.json,
AGENTS.md and docs/specs/ui.md follow the bump.

Fixes #356

Co-authored-by: frostyard-machines <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant