Commit Graph

596 Commits

Author SHA1 Message Date
3144d290d4 docs(phase-27): evolve PROJECT.md after phase completion 2026-04-10 23:52:48 +02:00
acb4672aed docs(phase-27): complete phase execution 2026-04-10 23:52:28 +02:00
2b27309b23 docs(27-03): complete root layout integration plan
- SUMMARY.md: TopNav/BottomTabBar wired, hero removed, /setups public route
- STATE.md: progress 100%, session recorded
- ROADMAP.md: phase 27 marked Complete (4/4 plans)
2026-04-10 23:48:43 +02:00
c628d6b79c feat(27-03): remove hero section from landing page
- Delete HeroSection function (Discover Gear heading, search bar, Go to Collection link)
- Remove unused imports: Link, Search (lucide-react), useAuth, useUIStore
- LandingPage now starts directly with PopularSetupsSection
- Search now exclusively in TopNav bar
2026-04-10 23:47:50 +02:00
d99ebbd8be feat(27-03): wire TopNav, BottomTabBar, and FAB changes into __root.tsx
- Replace TotalsBar import with TopNav and BottomTabBar imports
- Remove isDashboard and totalsBarProps variables
- Render TopNav instead of TotalsBar
- Add /setups to isPublicRoute for anonymous direct navigation
- Wrap FabMenu in hidden md:block for mobile hiding
- Add BottomTabBar after FAB block (md:hidden in component itself)
- Add pb-16 md:pb-0 to root div to prevent content occlusion by bottom tab bar
2026-04-10 23:47:30 +02:00
83b760a6d6 docs(27-01): complete TopNav and BottomTabBar plan
- SUMMARY.md: two components created, house icon deviation documented
- STATE.md: advanced to plan 4/4, progress 91%, decision recorded
- ROADMAP.md: phase 27 updated (3/4 summaries)
2026-04-10 23:45:56 +02:00
5984aabd40 docs(27-00): complete wave 0 E2E scaffolding plan
- Create 27-00-SUMMARY.md with test changes documentation
- Update STATE.md: advance plan to 3/4, add decisions, update session
- Update ROADMAP.md: reflect 2/4 summaries complete for phase 27
2026-04-10 23:45:01 +02:00
24ed71975f feat(27-01): create BottomTabBar component
- Fixed bottom tab bar for mobile (md:hidden) with z-20 stacking
- 4 tabs: Home, Collection, Setups, Search with Lucide icons
- Collection and Setups fire openAuthPrompt for anonymous users
- Search tab calls openCatalogSearch('collection') to open overlay
- Active route highlighting via useMatchRoute
- Framer Motion entry animation (y slide + fade)
- iOS safe area padding with env(safe-area-inset-bottom)

[Rule 1 - Bug] Used 'house' icon instead of 'home': lucide-react has no 'Home' icon (only 'House')
2026-04-10 23:44:56 +02:00
be3759b53a docs(27-02): complete setups-elevation plan 2026-04-10 23:44:36 +02:00
dccb1f8d3f feat(27-01): create TopNav component
- Sticky top nav bar replacing TotalsBar with full navigation
- Logo, Home/Collection/Setups links, search bar, and user avatar
- NavLinkOrButton helper: button for anon users on protected routes, Link for authenticated
- Active route highlighting via useMatchRoute
- Desktop search bar triggers openCatalogSearch('collection')
- Desktop nav links hidden on mobile (hidden md:flex)
- Uses LucideIcon wrapper, not direct lucide-react imports

[Rule 1 - Bug] Used 'house' icon fallback check: plan specified 'home' which does not exist in lucide-react; 'search' and 'layers' verified present
2026-04-10 23:44:31 +02:00
94e2094b9b test(27-00): wave 0 E2E scaffolding for Phase 27 nav restructure
- Update dashboard.spec.ts: replace old card heading tests with discovery section tests
- Add TopNav presence test (Home/Collection/Setups links in nav)
- Add mobile bottom tab bar test with 375px viewport
- Mark removed dashboard card tests as test.fixme with explanatory comments
- Update collection.spec.ts: replace setups tab test with fallback-to-gear test
- Add standalone /setups route test in new Setups page describe block
- All tests expected to fail until Plans 01-03 implement the new UI
2026-04-10 23:44:10 +02:00
7fd9845c13 feat(27-02): remove Setups tab from Collection page
- TAB_ORDER reduced to [gear, planning]
- searchSchema z.enum updated; .catch("gear") handles old ?tab=setups URLs
- SetupsView import and render branch removed
- AnimatePresence, slide variants, CollectionView/PlanningView unchanged
2026-04-10 23:43:49 +02:00
329bfce379 feat(27-02): add /setups top-level route page
- Creates src/client/routes/setups/index.tsx
- Renders SetupsView inside standard max-w-7xl page container
- Follows existing createFileRoute pattern from $setupId.tsx sibling
2026-04-10 23:43:33 +02:00
2286e428a0 fix(27): revise plans based on checker feedback 2026-04-10 23:40:11 +02:00
0f3e85f7c4 docs(27): create phase plan 2026-04-10 23:32:19 +02:00
078694c124 docs(phase-27): add validation strategy 2026-04-10 23:27:04 +02:00
9bb8f8faa2 docs(27): research phase — top nav restructure and search bar rethink 2026-04-10 23:26:18 +02:00
c5b4dacc1a docs(27): add phase 27 to roadmap 2026-04-10 23:22:24 +02:00
d6ed015b85 docs(state): record phase 27 context session 2026-04-10 23:20:30 +02:00
510ef9fce3 docs(27): capture phase context 2026-04-10 23:20:21 +02:00
fbf6fd449a docs: remove backlog 999.3 — public access already shipped in phase 24 2026-04-10 23:14:21 +02:00
e367e152e0 docs: add backlog item 999.11 — marketing website (www vs app split) 2026-04-10 23:11:04 +02:00
24a2725e2c docs: add backlog items 999.5–999.10 — legal pages, admin panel, feedback, analytics, mobile app, monetization 2026-04-10 23:10:40 +02:00
2a00b2d31f docs: add backlog item 999.4 — top nav restructure and search bar rethink
All checks were successful
CI / ci (push) Successful in 1m11s
CI / e2e (push) Has been skipped
CI / deploy (push) Successful in 7s
2026-04-10 17:21:51 +02:00
6e3ce4a31f fix: resolve biome lint errors in discovery files
All checks were successful
CI / ci (push) Successful in 1m8s
CI / e2e (push) Has been skipped
CI / deploy (push) Successful in 14s
Remove unused functions and imports from route tests, fix array index key
warnings in skeleton components, apply biome formatting.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 15:15:58 +02:00
c98995288b docs(phase-26): evolve PROJECT.md after phase completion
Some checks failed
CI / ci (push) Failing after 10s
CI / deploy (push) Has been skipped
CI / e2e (push) Has been skipped
2026-04-10 15:08:50 +02:00
c892800969 docs(phase-26): complete phase execution 2026-04-10 15:08:18 +02:00
31a72c68f3 docs(26-03): complete discovery landing page plan
- 26-03-SUMMARY.md: landing page rewrite and PublicSetupCard enhancement
- STATE.md: advanced to phase complete, recorded decisions
- ROADMAP.md: phase 26 marked complete (3/3 plans)
- REQUIREMENTS.md: DISC-01 through DISC-05 marked complete
2026-04-10 15:03:00 +02:00
8aaf4352ed feat(26-03): rewrite landing page as public discovery page
- Replace DashboardPage with LandingPage using discovery hooks
- Add HeroSection with Discover Gear heading and catalog search trigger
- Add PopularSetupsSection using useDiscoverySetups with PublicSetupCard
- Add RecentItemsSection using useDiscoveryItems with GlobalItemCard
- Add TrendingCategoriesSection using useDiscoveryCategories with pills
- Conditional Go to Collection CTA for authenticated users
- Loading skeletons with animate-pulse for all three sections
- Empty state handling: sections return null when no data
- SectionSkeleton helper for consistent loading states
- All clickable elements have cursor-pointer
2026-04-10 15:01:49 +02:00
0bf1c68043 feat(26-03): enhance PublicSetupCard with itemCount and creatorName
- Add optional itemCount and creatorName fields to PublicSetupCardProps
- Render item count badge (blue pill) when itemCount > 0
- Render creator attribution line when creatorName is present
- Reorder card layout: name, creator, then count/date row
- Add cursor-pointer to Link className
- Backward compatible: existing usages passing only id/name/createdAt unaffected
2026-04-10 15:00:57 +02:00
0b2e355bf8 docs(26-02): complete discovery routes and hooks plan 2026-04-10 14:59:58 +02:00
747a1c3727 feat(26-02): React Query hooks for discovery data
- Create useDiscoverySetups, useDiscoveryItems, useDiscoveryCategories hooks
- Export DiscoverySetup and DiscoveryCategory interfaces
- Set staleTime 2min for setups/items, 5min for categories
2026-04-10 14:57:53 +02:00
0323e0cd33 feat(26-02): discovery HTTP routes, server registration, and route tests
- Create src/server/routes/discovery.ts with GET /setups, /items, /categories handlers
- Register discoveryRoutes in src/server/index.ts with browseTier rate limiting
- Add auth skip for /api/discovery/* GET requests in auth middleware
- Create tests/routes/discovery.test.ts with 10 tests covering all endpoints and pagination
2026-04-10 14:57:35 +02:00
a00b90d97a docs(26-01): complete discovery service plan
- SUMMARY.md: discovery service with cursor pagination
- STATE.md: advanced to plan 2, added decisions, updated progress to 71%
- ROADMAP.md: phase 26 in progress (1/3 plans)
- REQUIREMENTS.md: DISC-02, DISC-03, DISC-04, INFR-02 marked complete
2026-04-10 14:55:15 +02:00
d1f8a7aa4c feat(26-01): implement discovery service with cursor pagination
- getPopularSetups: public setups ordered by item count desc, composite cursor pagination
- getRecentGlobalItems: global items ordered by createdAt desc, ISO timestamp cursor
- getTrendingCategories: category counts ordered desc, null categories excluded, simple limit
- Shared CursorPage<T> response shape with hasMore and nextCursor fields
2026-04-10 14:54:13 +02:00
06b6e935f2 test(26-01): add failing tests for discovery service
- getPopularSetups: ordering, privacy filter, cursor pagination, creatorName
- getRecentGlobalItems: ordering, cursor pagination, second page deduplication
- getTrendingCategories: ordering by count desc, null category exclusion, empty state
2026-04-10 14:53:09 +02:00
2f88ead599 fix(26): revise plans based on checker feedback 2026-04-10 14:48:44 +02:00
9226dd3d90 docs(26): create phase plan 2026-04-10 14:45:38 +02:00
9336cd80ed docs(phase-26): add research and validation strategy 2026-04-10 14:38:53 +02:00
6b446033b5 docs(phase-26): research discovery landing page
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 14:38:10 +02:00
274bced96d docs(state): record phase 26 context session 2026-04-10 14:33:04 +02:00
dbab91a3c7 docs(26): capture phase context 2026-04-10 14:32:56 +02:00
b01625473f docs: capture 4 todos - storage tests, image bugs, manufacturer entity
All checks were successful
CI / ci (push) Successful in 1m5s
CI / deploy (push) Has been skipped
CI / e2e (push) Has been skipped
2026-04-10 11:24:26 +02:00
77b84dd208 docs: capture todo - Add cursor pointer to all clickable links 2026-04-10 11:17:56 +02:00
6a1572a817 docs(phase-25): evolve PROJECT.md after phase completion
All checks were successful
CI / ci (push) Successful in 1m18s
CI / e2e (push) Has been skipped
CI / deploy (push) Has been skipped
2026-04-10 11:13:50 +02:00
1789ee9093 docs(phase-25): complete phase execution 2026-04-10 11:13:18 +02:00
aeb3402576 docs(25-02): complete HTTP routes, MCP catalog tools, and attribution display plan 2026-04-10 11:08:16 +02:00
fc9a9134e8 chore(25-02): apply biome formatter to task 1 and 2 files 2026-04-10 11:06:11 +02:00
e4a65314bd feat(25-02): add attribution display on catalog detail page
- GlobalItem interface extended with sourceUrl, imageCredit, imageSourceUrl fields
- Attribution block below image: Photo credit and source link when present
- Product page link (sourceUrl) at bottom of detail page
- Image div mb-6 moved to attribution paragraph for consistent spacing
2026-04-10 11:05:52 +02:00
df6c75f164 feat(25-02): add MCP catalog tools upsert_catalog_item and bulk_upsert_catalog
- New catalog.ts with catalogToolDefinitions and registerCatalogTools
- upsert_catalog_item: single item upsert with full attribution fields (SEED-03)
- bulk_upsert_catalog: batch upsert up to 100 items with created/updated counts
- Registered in createMcpServer after image tools
- 6 new MCP catalog tool tests passing
2026-04-10 11:03:50 +02:00