| 18-global-items-public-profiles |
05 |
ui |
| react |
| tanstack-router |
| tanstack-query |
| profiles |
| public-setups |
| tailwind |
|
| phase |
plan |
provides |
| 18-global-items-public-profiles |
03 |
Profile API endpoints, public setup endpoint, isPublic field |
|
|
| usePublicProfile and useUpdateProfile hooks |
| ProfileSection component for settings page |
| Public profile page at /users/$userId |
| PublicSetupCard component |
| Setup visibility toggle (isPublic) on setup detail page |
| Public badge on setup list cards |
|
|
| added |
patterns |
|
|
| Profile data fetched via usePublicProfile(userId) for form pre-population |
|
|
| created |
modified |
| src/client/hooks/useProfile.ts |
| src/client/components/ProfileSection.tsx |
| src/client/routes/users/$userId.tsx |
| src/client/components/PublicSetupCard.tsx |
|
| src/client/routes/settings.tsx |
| src/client/routes/setups/$setupId.tsx |
| src/client/hooks/useSetups.ts |
| src/client/components/SetupCard.tsx |
| src/client/components/SetupsView.tsx |
|
|
| Profile data loaded via usePublicProfile(userId) rather than extending /auth/me response |
| isPublic toggle placed in setup detail action bar as a button with globe icon |
| Public badge shown on SetupCard in list view for visual indicator |
|
| Public profile route pattern: /users/$userId with TanStack Router file-based routing |
| Profile edit via dedicated ProfileSection component in settings page |
|
| PROF-01 |
| PROF-02 |
| PROF-03 |
| PROF-04 |
| PROF-05 |
|
5min |
2026-04-05 |