Give every creator a public profile page at /user/[id] - #34
Merged
Conversation
The marketplace showed a creator's name and nothing else — there was no way to see the rest of what someone published. /user/[id] is that page: avatar, display name, join date, published/likes/downloads totals and a grid of their published faces, reached by clicking the author line on any market card. Loading lives in the market model (loadProfileFx pulls the user, their published faces and the likes in one go), so the grid reuses WatchfaceCard as-is — minus the author line, which would repeat the same name on every card. Followers/following, the banner and the signature-face showcase are left out: the users collection has no fields for them. Bio renders as soon as the field exists.
#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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #11.
The marketplace showed a creator's name and nothing else — there was no way to see the rest of what someone published.
/user/[id]is that page: avatar, display name, join date, published/likes/downloads totals and a grid of their published faces, reached by clicking the author line on any market card.Loading lives in the market model (
loadProfileFxpulls the user, their published faces and the likes in one go), so the grid reusesWatchfaceCardas-is — minus the author line, which would repeat the same name on every card.Left out — needs backend fields in
fmc_pocketbaseusers.bio(text) — the markup already renders it the moment the field existsusers.banner(file) — wide Twitter-style bannerusers.signature_face(relation → watchfaces) — showcased facefollowscollection (user ↔ user + rules) — follower/following countsAlso not done here: the clickable creator name inside the editor.
Verified
format:check,lint,check,test(192 tests) all pass. Checked against the live backend: market → profile navigation, uploaded-avatar and initials fallback, mobile layout.🤖 Generated with Claude Code
https://claude.ai/code/session_01A9TtpnfEpMa8zgMUPU2Wzp