WFDASH-WEBAPP/public/pos
Dave a956b70137 feat(pos): default catalog to recently added, render in chunks of 50
The till was painting all 373 active stock items at once, which is slow
and buries the stock staff actually reach for. The catalog now comes back
newest-first (PosCatalogItem carries created) and renders 50 at a time,
with a Show-more button that also auto-loads as it scrolls into view.

Header reads 'Recently added' when browsing and 'Results' once a search
or category is applied; changing either resets paging to the first chunk.
Scroll position is preserved across re-renders so adding to the cart no
longer throws the operator back to the top of the list.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-31 02:25:05 +02:00
..
cashup.html feat(pos): rewire cashup.html to /api/v1/pos/sales 2026-08-31 01:46:26 +02:00
history.html feat(pos): rewire history.html to /api/v1/pos/sales 2026-08-31 01:45:43 +02:00
index.html feat(pos): rewire index.html product count to /api/v1/pos/catalog 2026-08-31 01:44:55 +02:00
manifest.json chore(pos): bump SW cache to v13, skip /api/ caching, scope manifest to /pos/ 2026-08-31 01:48:49 +02:00
pos-app.js feat(pos): default catalog to recently added, render in chunks of 50 2026-08-31 02:25:05 +02:00
pos-config.js feat(pos): replace hardcoded PB superuser creds with POS_API_KEY config 2026-08-31 01:42:24 +02:00
pos.html feat(pos): default catalog to recently added, render in chunks of 50 2026-08-31 02:25:05 +02:00
receipt.html feat(pos): delivery-note slip shows company name and optional prices 2026-08-31 01:48:22 +02:00
sw.js chore(pos): bump SW cache to v13, skip /api/ caching, scope manifest to /pos/ 2026-08-31 01:48:49 +02:00
theme.js chore(pos): copy WFSALES POS mockup into public/pos/ (unwired) 2026-08-31 01:41:54 +02:00