Skip to content

feat(windows): redesign the Focus board page - #112

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

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

Conversation

@lukr-99

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

Copy link
Copy Markdown
Owner

GoalMaker: GM-119

The owner: "focus board on PC look horribly placed - UX and UI just not good". This redesigns the Windows Focus board page. FocusBoardRules and the contract vectors are unchanged.

What was wrong (before)

  1. The board shrank to the width of its longest title and floated in the middle, while the quick add field below it ran the full window width. Two columns of content that never lined up.
  2. Two "Add" buttons with different meanings: one next to the quick add field (make a new task), one floating in the bottom right corner (open the add panel). Nothing said which was which.
  3. The quick add field sat under the board, so on a long board it scrolled away. The phone has it on top.
  4. Every row had a full "Complete" text button, a pin icon and two stacked tiny chevrons. Heavy, cramped on the right, and the stacked arrows were hard to hit.
  5. No hierarchy: no count, no section label, no sense of order even though the order is the whole point of the board.
  6. Dates showed "!!" in front of every past date, and the check used the wall clock instead of the app's clock, so in the snapshots future dates were marked late too. Late was not shown in the danger color as elsewhere in the app.
  7. The add panel covered the whole page, including the title and filter, with a "Back" button in the bottom left corner. On a wide window it wasted all the space next to the board.
  8. The empty state was one muted line pointing at "below" and "Add", easy to miss.
  9. Keyboard: no shortcuts, no way to reorder without the mouse, and after Up, Down or Complete the keyboard focus was lost because the list is redrawn.
  10. On a wide window everything stayed in a 760 px column with empty space on both sides.

What changed (after)

  • Layout: content grows to the wide page width (1040). At 760 px of content or more the add panel sits beside the board as a 320 px column; below that it replaces the board, opened with "Add existing task" in the toolbar and closed with "Back to the board" or Esc. Spacing is on the app's grid (24 page padding, 16 between blocks, 4 row gap, 12 card padding).
  • Hierarchy: title, a count line ("5 on the board", "2 of 5 shown" with a filter), the filter, then "ON THE BOARD" and "ADD FROM YOUR TASKS" section labels in the accent, as on the lists.
  • Rows: the place number in the number font, a done box (like the lists), title, a details line with the date (late in the danger color with a clock) and the area dot and name, then Up, Down and Take off as small icon buttons. Up is hidden on the first row and Down on the last. The row gets an outline on hover and an accent edge while the keyboard is in it.
  • Add flow: the quick add field is on top of the board with a primary Add button. In the add panel each open task is one button (click, Enter or Space adds it), and with something typed a primary "Create ... on the board" row comes first (Enter).
  • Empty states: a card that explains the board and the two ways onto it; "Nothing on the board matches the filter" with "Show everything"; the add panel says when there are no open tasks at all, when all are on the board, and when nothing matches.
  • Keyboard: Ctrl+N to the quick add field, Ctrl+F to the search box (opens the panel when narrow), Alt+Up and Alt+Down move the row you are on, Esc in the search box clears it and then closes the panel. After a move, completion or take off the keyboard goes back to the same task, or to the row now in its place.
  • Light and dark: only theme brushes, checked in both (below).
  • Loading: the board reads the local store and has no loading phase, the same as the lists, so there is no spinner.
  • docs/focus.md updated for the Windows layout and shortcuts.

Screenshots (offscreen page snapshots, PageSnapshots.FocusBoard)

Before, wide (1280) After, wide (1280)
Before, normal (852) After, normal (852)
Before, narrow (520) After, narrow (520)
Before, empty After, empty

The images live on the screenshots/gm-119-focus branch, which is not for merging and can be deleted after review.

Tests

  • New FocusViewModel tests: places and which way a row can move, the count line with and without a filter, late dates by the app's clock with the deadline first, the add panel kept current while closed, Esc in the search box, and the no-open-tasks state. Existing Focus tests unchanged and green.
  • dotnet format windows/GoalMaker.slnx --verify-no-changes: clean. dotnet build with warnings as errors: 0 warnings.
  • dotnet test --solution GoalMaker.slnx: 1175 total, 1142 passed, 0 failed, 33 skipped (explicit snapshots).
  • validate_repository.py, check_accessibility.py: pass.
  • Kiln ci.yml run 20261124-120617-9ad47c on 2ecc0f3: succeeded (supabase-connector, android, windows-core).

Manual test list

  1. Open Focus in a wide window: board on the left, add panel on the right, both start at the quick add line.
  2. Make the window narrow: the add panel goes away and "Add existing task" appears; open it, add a task, use "Back to the board" and Esc.
  3. Type "Hand in the form @school friday" in the quick add field and press Enter: it lands at the end with the date and School.
  4. Search in the add panel, press Enter with a new title: it is created on the board. Click an offered task: it moves onto the board.
  5. Tab to a row's done box, press Alt+Up and Alt+Down: the row moves and the keyboard stays on it. Use the Up, Down and pin buttons with the keyboard: focus stays on the row.
  6. Tick a row's box: it leaves the board and the keyboard moves to the next row.
  7. Ctrl+N and Ctrl+F from anywhere on the page.
  8. Filter by an area that hides everything: the message and "Show everything" show.
  9. Switch light and dark and a couple of themes: labels, late dates and outlines stay readable.
  10. Narrator: rows read the task title with the date and area as help text; the arrows and pin have names.

🤖 Generated with Claude Code

…clock and the area color

Rows know their place and whether Up or Down can move them, the page has a
count line, the add panel stays current while closed (it sits beside the board
on a wide window), Esc in the search box clears it and then closes the panel,
and the late mark uses the injected clock instead of DateTime.Today.

GoalMaker: GM-119
The add panel sits beside the board on a wide window and replaces it on a
narrow one, the quick add field moves to the top as on the phone, rows show
their place, a done box and arrows, the empty state explains the board, and
Ctrl+N, Ctrl+F, Alt+Up and Alt+Down work with the keyboard kept on the row.

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

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 2f6dff9 into main Nov 24, 2026
7 checks passed
@lukr-99
lukr-99 deleted the claude/focus-page-redesign-acd79a branch November 24, 2026 12:36
@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