feat(home): the cards over the versions in one style, their whole text shown #244

Merged
HumanBean merged 3 commits from HumanBean/LongshotLauncher:feat/home-cards into main 2026-11-21 21:40:23 +00:00
Owner

The cards over Home's versions cut their text to one line with an ellipsis and a small "Details" link. All six had the same weak buttons and a green outline that read as a frame rather than a message, so they looked unfinished and hid what they said.

Summary

The same look across the launcher: the cards over Home's versions, every warning box in the dialogs and pages, and the toast.

The six cards (the launcher's update, Hookshot's saves, NX2navi's saves, the installed launcher's builds, the old versions left on the disk, and the old folder layout) and the problem notice now share one style, Border.offer in HomeView.axaml:

  • a soft blue card with its icon in a circle and a title;
  • the whole text, wrapped: nothing is cut to one line, and there is no Details link;
  • the second choice (Not now, Keep, What's new) as a quiet link, and the card's action as its one strong button (small primary);
  • a problem is the same card in the warning colour (Border.offer.warn), with Copy for a bug report and Dismiss as links.

Only the old-layout offer keeps a toggle. Its long list of folders and caveats sits under Which folders, with its one-line summary always shown.

It matches the NVIDIA shader cache card in #243. Whichever of the two lands second moves that card onto these shared styles.

The warning boxes in the dialogs and pages (the pull request warnings, Remove everything, the save editor and export confirmations, the Hookshot imports, Storage, NFC: 16 of them) each had their own icon, or none. Now every one has a small alert icon in a circle of its colour (Border.boxicon), with rounder corners and softer edges from App.axaml's warnbox / badbox. The pull request warning keeps its saves icon.

The toast is a raised card with an info icon in a blue circle (Border.toast).

tests/launcher_core/InstanceFolderChecks.cs (HomeLayoutSourceChecks) checked the old design: one line, cut, with Details. It now checks the new one: every card on Border.offer, a problem on offer warn, no text cut to a line, the folders toggle, one strong button per offer.

Before and after screenshots of each scene are in the comments.

Testing

Tested: the app and tests/launcher_core compile (dotnet build, Linux). I rendered the scenes pr-warning, pr-confirm, storage-remove-everything-saves (with the toast), hookshot-import-problem, saves-confirm-replace, save-editor-running, home-banner-launcher, home-banner-hookshot, home-installed-offer, home-leftovers, home-rename-folders, home-banner-details and home-notice with tools/screenshots before and after, and read them. The checks have not run on this PC (no tests are run here); CI runs them.

German at the smallest window (--lang de --size 960x560: home-leftovers, home-banner-hookshot, home-notice, pr-confirm): the longer texts wrap and the buttons stay in place (screenshots in the comments).

Still to test:

  • Steam Deck (touch): Which folders opens and closes (by hand).

Risks

Only the look changes: the commands and texts are the same. A long problem message now takes several lines instead of one.

🤖 Generated with Claude Code

The cards over Home's versions cut their text to one line with an ellipsis and a small "Details" link. All six had the same weak buttons and a green outline that read as a frame rather than a message, so they looked unfinished and hid what they said. ## Summary The same look across the launcher: the cards over Home's versions, every warning box in the dialogs and pages, and the toast. The six cards (the launcher's update, Hookshot's saves, NX2navi's saves, the installed launcher's builds, the old versions left on the disk, and the old folder layout) and the problem notice now share one style, `Border.offer` in `HomeView.axaml`: - a soft blue card with its icon in a circle and a title; - the **whole text**, wrapped: nothing is cut to one line, and there is no Details link; - the second choice (Not now, Keep, What's new) as a quiet link, and the card's action as its one strong button (`small primary`); - a problem is the same card in the warning colour (`Border.offer.warn`), with Copy for a bug report and Dismiss as links. Only the old-layout offer keeps a toggle. Its long list of folders and caveats sits under **Which folders**, with its one-line summary always shown. It matches the NVIDIA shader cache card in [#243](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/pulls/243). Whichever of the two lands second moves that card onto these shared styles. **The warning boxes** in the dialogs and pages (the pull request warnings, Remove everything, the save editor and export confirmations, the Hookshot imports, Storage, NFC: 16 of them) each had their own icon, or none. Now every one has a small alert icon in a circle of its colour (`Border.boxicon`), with rounder corners and softer edges from `App.axaml`'s `warnbox` / `badbox`. The pull request warning keeps its saves icon. **The toast** is a raised card with an info icon in a blue circle (`Border.toast`). `tests/launcher_core/InstanceFolderChecks.cs` (`HomeLayoutSourceChecks`) checked the old design: one line, cut, with Details. It now checks the new one: every card on `Border.offer`, a problem on `offer warn`, no text cut to a line, the folders toggle, one strong button per offer. Before and after screenshots of each scene are in the comments. ## Testing **Tested:** the app and `tests/launcher_core` compile (`dotnet build`, Linux). I rendered the scenes `pr-warning`, `pr-confirm`, `storage-remove-everything-saves` (with the toast), `hookshot-import-problem`, `saves-confirm-replace`, `save-editor-running`, `home-banner-launcher`, `home-banner-hookshot`, `home-installed-offer`, `home-leftovers`, `home-rename-folders`, `home-banner-details` and `home-notice` with `tools/screenshots` before and after, and read them. The checks have not run on this PC (no tests are run here); CI runs them. German at the smallest window (`--lang de --size 960x560`: `home-leftovers`, `home-banner-hookshot`, `home-notice`, `pr-confirm`): the longer texts wrap and the buttons stay in place (screenshots in the comments). **Still to test:** - Steam Deck (touch): Which folders opens and closes (by hand). ## Risks Only the look changes: the commands and texts are the same. A long problem message now takes several lines instead of one. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(home): the cards over the versions in one style, their whole text shown
All checks were successful
CI / Compile and test (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 5s
d3dda762a4
The launcher's update, the Hookshot and NX2navi saves, the installed
launcher's builds, the old versions left on the disk, the old folder layout
and a problem were each a green-outlined banner cut to one line, with Details
for the rest. They are now one card style (HomeView's Border.offer): a soft
blue card, its icon in a circle, a title, the whole text, the second choice as
a quiet link and the first as the card's one strong button; a problem is the
same card in the warning's colour. Only the old-layout offer keeps a toggle
(Which folders), for its long list. The layout check follows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

Before:

before-home-banner-hookshot.png

before-home-banner-launcher.png

before-home-installed-offer.png

before-home-leftovers.png

before-home-notice.png

before-home-rename-folders.png

Before: ![before-home-banner-hookshot.png](https://git.magicbean.dev/attachments/9a278f9a-0a2d-46b4-8ed2-c33042277c1e) ![before-home-banner-launcher.png](https://git.magicbean.dev/attachments/7e085f73-e042-4ec5-8eed-5b1c6b5848d2) ![before-home-installed-offer.png](https://git.magicbean.dev/attachments/fd7cf1f8-a73a-47a1-bb87-b88274f46c72) ![before-home-leftovers.png](https://git.magicbean.dev/attachments/8f993f84-1fb6-4992-bdf6-baabfb170f35) ![before-home-notice.png](https://git.magicbean.dev/attachments/a10094b1-739a-4062-ab89-5fdfe63a2f34) ![before-home-rename-folders.png](https://git.magicbean.dev/attachments/276af29a-37d8-4c3f-b66b-13752cce6928)
Author
Owner

After (the last one with Which folders open):

after-home-banner-details.png

after-home-banner-hookshot.png

after-home-banner-launcher.png

after-home-installed-offer.png

after-home-leftovers.png

after-home-notice.png

after-home-rename-folders.png

After (the last one with Which folders open): ![after-home-banner-details.png](https://git.magicbean.dev/attachments/807de85f-1fe0-4aed-8aec-68d2060de724) ![after-home-banner-hookshot.png](https://git.magicbean.dev/attachments/3b548060-1044-4120-8cf5-89c61565f6bc) ![after-home-banner-launcher.png](https://git.magicbean.dev/attachments/76a44ebe-5b0b-4462-b1e8-90b1be776dd7) ![after-home-installed-offer.png](https://git.magicbean.dev/attachments/e05ea895-b91a-485f-9c01-f60c11de9749) ![after-home-leftovers.png](https://git.magicbean.dev/attachments/3e3191a8-5693-40d2-97be-eaa541934469) ![after-home-notice.png](https://git.magicbean.dev/attachments/08b738af-9f72-4123-87e8-f5394f32273b) ![after-home-rename-folders.png](https://git.magicbean.dev/attachments/773d45e4-4eb1-4227-9b14-5c3f9f29a71d)
feat(ui): every warning box and the toast in the Home cards' style
All checks were successful
CI / Compile and test (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 21s
396e8ef676
The warning and danger boxes in the dialogs and pages (the pull request
warnings, Remove everything, the save editor and exports, the Hookshot
imports, Storage, NFC) each had their own icon, or none: now each has a small
alert icon in a circle of its colour (Border.boxicon) and softer, rounder
edges, from App.axaml's warnbox and badbox. The toast is a raised card with an
info icon in a blue circle (Border.toast), the Home cards' look.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

The warning boxes and the toast in the same style (the toast at the bottom of Remove everything):

pr-warning.png

pr-confirm.png

storage-remove-everything-saves.png

save-editor-running.png

saves-confirm-replace.png

hookshot-import-problem.png

The warning boxes and the toast in the same style (the toast at the bottom of Remove everything): ![pr-warning.png](https://git.magicbean.dev/attachments/f8e7657f-af01-4d76-a6bd-4b45d94cb2d5) ![pr-confirm.png](https://git.magicbean.dev/attachments/ec99f54a-9a22-4292-91d3-6febc68b4288) ![storage-remove-everything-saves.png](https://git.magicbean.dev/attachments/3711c3a0-6132-4a2d-bb30-e09a072ee043) ![save-editor-running.png](https://git.magicbean.dev/attachments/af7e4019-910e-4dd0-ad0d-bdf27d81c450) ![saves-confirm-replace.png](https://git.magicbean.dev/attachments/461b5b0e-c12f-4729-831f-c6105a7c324d) ![hookshot-import-problem.png](https://git.magicbean.dev/attachments/9da56a54-f0c7-4e4e-83dc-539e3851c8c8)
Author
Owner

German at the smallest window (960x560): the texts wrap, the buttons stay in place.

home-leftovers.png

home-banner-hookshot.png

pr-confirm.png

German at the smallest window (960x560): the texts wrap, the buttons stay in place. ![home-leftovers.png](https://git.magicbean.dev/attachments/a163ee4c-6e4c-41b4-a379-1e8ad012e1c0) ![home-banner-hookshot.png](https://git.magicbean.dev/attachments/fd633cc2-948b-4f01-91e4-8a49dfd8f693) ![pr-confirm.png](https://git.magicbean.dev/attachments/e8c32794-83f1-48ae-afb0-f39d4d79878b)
HumanBean changed title from WIP: feat(home): the cards over the versions in one style, their whole text shown to feat(home): the cards over the versions in one style, their whole text shown 2026-11-21 21:36:16 +00:00
Author
Owner

Each card now breaks between sentences: the first one bright, the rest on a quieter line, so no word is left alone on a line. The split works in any language and keeps the translated texts. Which folders is now the moves as a list plus one caveat, and a warning box's icon is centred on its text.

home-banner-hookshot.png

home-leftovers.png

home-banner-details.png

home-notice.png

saves-confirm-replace.png

Each card now breaks between sentences: the first one bright, the rest on a quieter line, so no word is left alone on a line. The split works in any language and keeps the translated texts. **Which folders** is now the moves as a list plus one caveat, and a warning box's icon is centred on its text. ![home-banner-hookshot.png](https://git.magicbean.dev/attachments/2cc7ac9d-86c4-47ba-a02b-6391724c058d) ![home-leftovers.png](https://git.magicbean.dev/attachments/9b7c66d3-935b-435f-99f1-d5c037d52933) ![home-banner-details.png](https://git.magicbean.dev/attachments/9ff9c2ca-31f4-49bb-b25c-ea6343bd20da) ![home-notice.png](https://git.magicbean.dev/attachments/9d1c75e5-6571-4749-a096-654bba529829) ![saves-confirm-replace.png](https://git.magicbean.dev/attachments/6550ed38-03d5-4556-bda0-c5c5ef396efa)
feat(ui): the cards break between sentences, the old-layout folders as a list, box icons centred
All checks were successful
CI / Compile and test (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 16s
0891539f86
A card's text is its first sentence, bright, then the rest on a quieter line
(Converters.FirstSentence / AfterFirstSentence: any language, the catalogs'
texts kept), so no word is left alone on a line. The old folder layout's
Which folders is the moves as a list (from -> to) and its one caveat, in place
of a paragraph repeating the summary. A warning box's icon and text are centred
on each other.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean deleted branch feat/home-cards 2026-11-21 21:40:24 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/LongshotLauncher!244
No description provided.