Skip to content

Give every watchface its own page, instead of only a card in the grid - #35

Merged
freethinkel merged 1 commit into
mainfrom
issue-12-showcase-pages
Aug 13, 2026
Merged

Give every watchface its own page, instead of only a card in the grid#35
freethinkel merged 1 commit into
mainfrom
issue-12-showcase-pages

Conversation

@freethinkel

Copy link
Copy Markdown
Owner

A card click opened the editor, so a face had no address to share and nothing to read
before loading it. /market/[id] is that address: large preview, creator, description,
and the counters the backend already keeps (likes, downloads, flashes, publish/update
dates), with open-in-editor, download, like and share next to them.

The page is a deep link, so it fetches its one record (loadWatchfaceFx) rather than
waiting for the catalog; that record's likes fold into the shared $likes, so counting
and toggling stay the grid's code. The market grid now opens the showcase page instead
of the editor, and ?creator=<id> filters it — that's where the creator link lands until
creators get pages of their own (#11).

Built against the current PocketBase schema only. Still needs backend work, out of scope
here: tags/categories (no field), comments (no collection), installs as a counter separate
from downloads, favorites/collections and follows (no collections), a screenshot gallery
(preview is maxSelect: 1), and creator profile pages (#11).

Verified: pnpm lint, format:check, check, test (192/192) and build all pass, plus
a headless Chromium run against the live backend — card → showcase → creator filter, clean
console, desktop and mobile viewports.

Closes #12

🤖 Generated with Claude Code

https://claude.ai/code/session_018DKKsvh89YYBTbnXvJJuPK

A card click opened the editor, so a face had no address to share and nothing
to read before loading it. /market/[id] is that address: large preview, creator,
description, and the counters the backend already keeps (likes, downloads,
flashes, publish/update dates), with open-in-editor, download, like and share
next to them.

The page is a deep link, so it fetches its one record (loadWatchfaceFx) rather
than waiting for the catalog; that record's likes fold into the shared $likes,
so counting and toggling stay the grid's code. The creator link lands on
/market?creator=<id> until creators get pages of their own (#12, #11).

Refs #12
@freethinkel
freethinkel merged commit 2b12206 into main Aug 13, 2026
2 checks passed
@freethinkel
freethinkel deleted the issue-12-showcase-pages branch August 13, 2026 20:26
freethinkel added a commit that referenced this pull request Aug 13, 2026
#35 landed the showcase page while this branch was open. Its creator link
pointed at /market?creator=<id> — a stand-in the comment already marked as
"until creators get profile pages of their own (issue #11)". That page exists
now, so the link goes there and the query-param filter goes away.

Cards on a profile open the showcase page, like the ones in the grid do.
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.

Add dedicated showcase pages for each watch face

1 participant