Skip to content

Close four gaps between the cards, list and settings and Paper - #19

Merged
sanjaydotpro merged 1 commit into
mainfrom
riverbank/fidelity
Nov 17, 2026
Merged

sanjaydotpro merged 1 commit into
mainfrom
riverbank/fidelity

Conversation

@sanjaydotpro

Copy link
Copy Markdown
Contributor

Closes the four gaps KAPY-13 measured between the running app and the final Paper design (5TS-0 main window, 6EV-0 settings). Part of HIS-15.

Long titles over a checklist. A card only lets its title take two lines when there is still at least 6px left between the title and whatever sits under it. On a checklist card, two lines of title used to touch the progress bar. Now the title stays on one line there and keeps a clear gap above the bar, as Paper does. Cards without a checklist still get two-line titles.

Amounts in Geist Mono. If the line under a card's title is nothing but an amount, like "₹75,60,000", the card shows it as written in the result style: Geist Mono in the result green, with Paper's 3px gap under the title. Before, such a line either fell back to Figtree, when there were no rates to price it, or showed reformatted as "75,60,000.00 INR". Lines that are calculations still show their result.

See all at the right edge. The list heading put its label in a Flexible next to a Spacer, so the two split the free space and the trailing link stopped well short of the edge. The label and count now sit in an Expanded row, so See all ends at the heading's right edge, in line with the cards.

Neutral focus on the settings search. kapyFieldDecoration takes a neutralFocus option, and the settings search uses it on desktop. Focusing the field no longer turns its border sage; it keeps the 1.5px controlBorder, matching 6EV-0 and the list's own search field. On touch, it keeps the shared sage focus.

The Pinned order still follows last edit, as agreed.

Pinned cards

Tests and goldens. test/riverbank_fidelity_test.dart has one test per gap. All four fail on main and pass here. The new golden desktop_dark_pinned_cards shows a long checklist title, See all and mono amounts together.

Re-rendered goldens, each checked by eye:

  • Seven settings goldens (desktop_dark_settings and the _appearance_end, _shortcuts and _updates variants, desktop_light_settings_appearance, desktop_windows_dark_settings, desktop_windows_dark_update). The search field is focused when Settings opens, so its border went from sage to neutral.
  • The two archive goldens. A result line moved 3px down.

flutter analyze is clean, and the full suite passes locally (2150 passed, 8 skipped) on Flutter 3.47.4 with pub get --enforce-lockfile, because the 3.47.2 install on this Mac is damaged.

Open in Capy

@sanjaydotpro
sanjaydotpro merged commit 0c038fa into main Nov 17, 2026
4 checks passed
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