Skip to content

fix(windows): Focus board review follow-ups (keyboard, Esc, late text, done box) - #113

Merged
lukr-99 merged 3 commits into
mainfrom
claude/focus-page-followups
Nov 24, 2026
Merged

lukr-99 merged 3 commits into
mainfrom
claude/focus-page-followups

Conversation

@lukr-99

@lukr-99 lukr-99 commented Nov 24, 2026

Copy link
Copy Markdown
Owner

GoalMaker: GM-120

Follow-ups from the review of #112 (GM-119), all non-blocking.

Changes

  1. Keyboard after an add. After you add an offered task with Enter or Space, the keyboard goes to the next task in the list, or to the search box when none is left. The page now remembers which board row and which offered task had the keyboard using a small KeyboardSpot helper. It forgets them when the keyboard moves to anything else on show, so a later redraw (a sync) can no longer pull the keyboard onto an old row.
  2. Esc. Esc anywhere on the page closes the add panel while it is open. In the search box, Esc still clears the typed text first. An open drop-down still handles its own Esc first.
  3. Late for Narrator. Board rows and offered tasks have help text that starts with "Late" when the date has passed, followed by the date and area. Offered tasks used to read "Add to the board" here. That is still their tooltip.
  4. Done box. IsChecked is bound to the row's new IsDone. If the task is not done after SetDone (a repeating task moved on, or nothing changed), the box unticks again.
  5. Nits:
    • The quick add placeholder is now New task, like "Hand in the form @School friday", which fits at 852 px.
    • place and count are required in FocusRowViewModel.
    • The snapshot test now also renders the add panel in dark mode.

Screenshots (offscreen page snapshots)

Wide, dark (1280) Normal, dark (852), new placeholder
Narrow, light (520) Add panel, dark (520)

The images are on the screenshots/gm-120-focus branch. Don't merge it, and delete it after review.

Tests

  • New tests:
    • KeyboardSpotTests: the same row is picked after a move, the row now in its place after a removal, nothing for an empty list, and nothing once forgotten.
    • FocusViewModelTests: the late help text on rows and offered tasks, a row that is not late, the done box unticking when the task stays open, and ticking it completing the task.
  • dotnet format windows/GoalMaker.slnx --verify-no-changes: clean. Build with warnings as errors: 0 warnings.
  • dotnet test --solution GoalMaker.slnx: 1183 total, 1149 passed, 33 skipped, 1 failed. The failure was SingleInstanceTests.ASecondLaunchHandsItsSwitchesToTheRunningApp, which fails while the owner's GoalMaker is running. It passes when run on its own (2 of 2).
  • validate_repository.py and check_accessibility.py: pass.
  • Kiln ci.yml run 20261124-123210-52a565 on 19a879e: succeeded (supabase-connector, android, windows-core).

Manual test list

  1. Open the add panel on a narrow window, Tab to an offered task and press Enter: it goes onto the board and the keyboard is on the next offered task. Add the last one: the keyboard is in the search box.
  2. On a wide window, Tab onto a board row, then click into the quick add field and let a sync come in: the keyboard stays in the field.
  3. With the add panel open on a narrow window, press Esc on an offered task: you are back on the board. In the search box with text typed, the first Esc clears the text and the second one closes the panel.
  4. Narrator on a late row: it reads the title, then "Late", the date and the area.
  5. Tick the box on a repeating task on the board: it moves on and the box is not left ticked.
  6. Check that the quick add placeholder is not cut off at the normal window size.

🤖 Generated with Claude Code

…stays open

Rows and offered tasks put "Late" in front of their help text, the done box
binds to the row and unticks when the task is not done after all, place and
count are required, and the quick add placeholder is short enough to fit.

GoalMaker: GM-120
…ith Esc

After adding an offered task the keyboard goes to the next one, or the search
box. The remembered row is forgotten once the keyboard leaves the list, so a
sync cannot pull it back. Esc anywhere on the page closes the add panel.

GoalMaker: GM-120
Copilot AI balanced review requested due to automatic review settings November 24, 2026 12:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@lukr-99
lukr-99 merged commit 294fba1 into main Nov 24, 2026
7 checks passed
@lukr-99
lukr-99 deleted the claude/focus-page-followups branch November 24, 2026 12:53
@lukr-99 lukr-99 mentioned this pull request Nov 24, 2026
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.

2 participants