feat(shopping-list) Show the choose-a-default hint with an info icon #53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "overview-default-prompt-icon"
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 "choose a default list" hint on the shopping list overview was a bare text card. It now has an info icon.
Changes
basics/InfoBanner: an inline message box with a leading info icon, optionally dismissible, in two looks:info: a neutral white card with an accent-coloured icon, for hintswarning: amber, for notices about something that happenedShoppingListOverviewPage: the default-list hint uses theinfolook; the "list deleted" / "access lost" notice uses thewarninglook instead of its own markup. The notice looks and behaves as before.docs/architecture.mdlists the new component.The hint is deliberately not tinted in the accent colour: the app's accent is a warm red, and a tinted box reads as an error.
AiImportDraftNoticekeeps its own tinted look and is not changed.Verification
npm run lint(only the 2 existing warnings inMealPlanDayProvider),npm run test(372 tests) andvite buildpass.npm run buildfails on its type check, onstageitself, not because of this PR. The contract on recipe-platformmainalready has spec 002's change (CompactShoppingListDtorequiresopenItemsPreviewandopenItemCount), sosrc/mappers/tests/CompactShoppingListMapper.test.tsno longer compiles. A cleanstage(f697a95) has exactly this one error; this branch has the same one and no other. It goes away when the app implements spec 002./verify-uiasuser, from a dev server running this branch:🤖 Generated with Claude Code