Skip to content

Group recently bought by section, like the list - #44

Merged
kalfasyan merged 1 commit into
mainfrom
claude/project-thread-sdopf2
Nov 25, 2026
Merged

kalfasyan merged 1 commit into
mainfrom
claude/project-thread-sdopf2

Conversation

@kalfasyan

@kalfasyan kalfasyan commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by Yannis · project thread

The "Recently bought" chips now sit under the same section headings as the items still to buy, in aisle order, with the most recent first inside each section.

  • Both use the existing bySection from lib/catalogue.ts (one inSections helper in ListScreen), so there is no second grouping.
  • The section heading (icon, name, tap to change the icon) moved into a new SectionHeading.svelte, used by both the list and recently bought.
  • The guest share view is unchanged.

make check, make test and the worker tests pass.

The recently bought chips now sit under the same section headings as the
items still to buy, in aisle order. The heading is a SectionHeading
component shared by both, and both use bySection.
@kalfasyan
kalfasyan merged commit 527c685 into main Nov 25, 2026
13 checks passed
@kalfasyan
kalfasyan deleted the claude/project-thread-sdopf2 branch November 25, 2026 06:27
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