feat(home): the cards over the versions in one style, their whole text shown #244
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!244
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:feat/home-cards"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.offerinHomeView.axaml:small primary);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 fromApp.axaml'swarnbox/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 onBorder.offer, a problem onoffer 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_corecompile (dotnet build, Linux). I rendered the scenespr-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-detailsandhome-noticewithtools/screenshotsbefore 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:
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
Before:
After (the last one with Which folders open):
The warning boxes and the toast in the same style (the toast at the bottom of Remove everything):
German at the smallest window (960x560): the texts wrap, the buttons stay in place.
WIP: feat(home): the cards over the versions in one style, their whole text shownto feat(home): the cards over the versions in one style, their whole text shownEach 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.