Commit Graph

461 Commits

Author SHA1 Message Date
ad43d6935c test(22): persist human verification items as UAT 2026-04-06 16:16:00 +02:00
81a3e04306 docs(22-02): complete add-to-thread modal plan
- AddToThreadModal with thread picker and new thread creation
- CATFLOW-05 and CATFLOW-06 requirements completed
- Phase 22 catalog integration complete
2026-04-06 16:01:36 +02:00
c33b7c7bdc feat(22-02): build AddToThreadModal with thread picker and new thread flow
- Create AddToThreadModal with pick/create modes for thread selection
- Support existing thread selection with category display
- Support new thread creation with candidate in one step
- Pre-select session thread via catalogSessionThreadId
- Auto-switch to create mode when no active threads exist
- Wire AddToThreadModal at root layout level
2026-04-06 16:00:34 +02:00
e8b7907a22 docs(22-01): complete add-to-collection flow plan
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:58:04 +02:00
ed76236294 feat(22-01): wire catalog search and detail page to collection/thread modals
- Replace handleAddStub with handleAdd dispatching to correct modal by mode
- Global item detail page: add both "Add to Collection" and "Add to Thread" buttons
- Remove console.log stub from detail page
- Import useUIStore in both components

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:56:40 +02:00
f309c73304 feat(22-01): add UIStore modal states, AddToCollectionModal, and sonner toasts
- Extend UIStore with addToCollectionModal, addToThreadModal, catalogSessionThreadId
- Create AddToCollectionModal with category dropdown, notes, purchase price
- Install sonner and add Toaster + AddToCollectionModal to root layout
- closeCatalogSearch now resets catalogSessionThreadId

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:55:44 +02:00
576c59a460 docs(state): record phase 22 planning session 2026-04-06 15:47:12 +02:00
431ff99f0f fix(22): revise plans based on checker feedback 2026-04-06 15:44:39 +02:00
2c1517032c docs(22): create phase plan for add-from-catalog and thread integration 2026-04-06 15:38:27 +02:00
83b601bcf6 docs(phase-22): add validation strategy 2026-04-06 15:33:28 +02:00
886a54529f docs(22): research phase domain 2026-04-06 15:32:27 +02:00
c3e13d6082 docs(state): record phase 22 context session 2026-04-06 15:28:20 +02:00
54d1b73f65 docs(22): capture phase context 2026-04-06 15:28:08 +02:00
8e872df0ec docs(phase-21): complete phase execution, resolve merge conflicts 2026-04-06 15:23:02 +02:00
a62357c063 Merge branch 'worktree-agent-a00c5cfa' into Develop
# Conflicts:
#	.planning/REQUIREMENTS.md
#	.planning/STATE.md
#	src/client/components/CatalogSearchOverlay.tsx
#	src/client/routes/threads/$threadId.tsx
2026-04-06 15:15:57 +02:00
fcb05e6b05 docs(21-03): complete card navigation rewire and panel removal plan
- SUMMARY.md with 2 tasks, 10 files modified, 3 deviations documented
- STATE.md updated with position, decisions, metrics
- Requirements DETAIL-04, DETAIL-05 marked complete
2026-04-06 15:14:38 +02:00
4c79735426 feat(21-03): remove slide-out panels from root layout and clean UIStore
- Remove Item and Candidate SlideOutPanel instances from __root.tsx
- Remove SlideOutPanel, ItemForm, CandidateForm imports from root
- Remove panel state (panelMode, editingItemId, candidatePanelMode, editingCandidateId) from UIStore
- Remove panel actions (openEditPanel, openAddPanel, closePanel, etc.) from UIStore
- Preserve currentThreadId derivation for CandidateDeleteDialog
- Update CollectionView empty state to use catalog search instead of add panel
- Update ItemForm/CandidateForm with onClose prop replacing store panel close
- Clean all dead panel references across src/client/
2026-04-06 15:12:59 +02:00
1f79c5ca3c feat(21-03): rewire card click handlers to navigate to detail pages
- ItemCard navigates to /items/$itemId instead of opening edit panel
- CandidateCard navigates to /threads/$threadId/candidates/$candidateId
- CandidateListItem navigates to candidate detail page
- CatalogSearchOverlay cards navigate to /global-items/$globalItemId
- Add button on catalog cards uses stopPropagation to prevent navigation
2026-04-06 15:07:51 +02:00
a5a40b2068 Merge branch 'worktree-agent-a4608610' into Develop
# Conflicts:
#	.planning/ROADMAP.md
#	.planning/STATE.md
#	src/client/routes/threads/$threadId.tsx
2026-04-06 15:04:13 +02:00
6474033414 Merge branch 'worktree-agent-a1363a63' into Develop
# Conflicts:
#	.planning/ROADMAP.md
#	.planning/STATE.md
2026-04-06 15:04:00 +02:00
52c9ec3fe2 docs: stage before wave 1 merge 2026-04-06 15:03:45 +02:00
62546f744b docs(21-01): complete detail pages plan — item detail with edit mode, catalog Add button
- SUMMARY.md with task commits and known stubs
- STATE.md updated to phase 21, plan 1 of 3 complete
- ROADMAP.md updated with plan progress
2026-04-06 15:03:30 +02:00
d19090a279 docs(21-02): complete candidate detail page and thread modal plan
- Add 21-02-SUMMARY.md with execution results
- Update STATE.md, ROADMAP.md, REQUIREMENTS.md
2026-04-06 15:03:29 +02:00
47b416effd feat(21-02): replace slide-out panel with add-candidate modal on thread page
- Add local AddCandidateModal component with all candidate form fields
- Remove openCandidateAddPanel UIStore dependency
- Modal includes image upload, category picker, pros/cons, validation
2026-04-06 15:02:13 +02:00
408025bb36 feat(21-01): enhance catalog detail page with Add to Collection button
- Add image placeholder (package icon) when no imageUrl exists
- Add 'Add to Collection' button stub between specs and description
- Button styled per D-10, logs to console (actual flow wired in Phase 22)
- Consistent layout with item detail page
2026-04-06 15:02:07 +02:00
3228bcadbe feat(21-01): create private item detail page with edit mode toggle
- Full detail page at /items/:id with hero image, name, spec badges, notes, product link
- Edit mode toggle: read-only by default, editable inputs when Edit clicked
- Save persists via useUpdateItem, Cancel reverts to read-only
- Duplicate and Delete actions via existing hooks/dialogs
- Back link to /collection, loading shimmer, error state
- CategoryPicker and ImageUpload in edit mode
2026-04-06 15:01:10 +02:00
cecaf78ead feat(21-02): restructure thread route and create candidate detail page
- Move $threadId.tsx to $threadId/index.tsx for nested route support
- Create candidate detail page at /threads/:threadId/candidates/:candidateId
- Edit mode toggle with form fields for all candidate properties
- Back navigation, pick-as-winner, and delete actions
2026-04-06 15:00:25 +02:00
f9132d754b docs(phase-21): add validation strategy 2026-04-06 14:56:10 +02:00
b10d81798f docs(21): create phase plan — 3 plans across 2 waves 2026-04-06 14:53:08 +02:00
e0ce45a57c docs(21): research phase domain 2026-04-06 14:46:56 +02:00
bbdcab1eac docs(state): record phase 21 context session 2026-04-06 14:42:30 +02:00
6c59ed0812 docs(21): capture phase context 2026-04-06 14:42:30 +02:00
2d71ce15af docs: add Phase 21 (Item & Catalog Detail Pages), renumber 21→22, 22→23
Some checks failed
CI / ci (push) Failing after 13s
CI / e2e (push) Has been skipped
2026-04-06 14:38:27 +02:00
4b8dec6252 docs(quick-260406-j44): comprehensive dev seed script for bikepacking gear data 2026-04-06 13:54:05 +02:00
6836790e55 docs(quick-260406-j44): complete dev seed script summary
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 13:53:29 +02:00
eb7f37fe28 feat(quick-260406-j44): add idempotent dev seed runner and db:seed:dev script
- Seed runner inserts user, categories, global items, tags, user items,
  threads with candidates, setups, and settings in FK order
- Idempotent: checks for dev-user-seed logtoSub before running
- Reuses seedGlobalItems() for base catalog data
- Added db:seed:dev npm script to package.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 13:52:45 +02:00
24f3a8a8a2 feat(quick-260406-j44): add dev seed data constants for bikepacking gear
- 10 categories, 36 global items with realistic weights/prices
- 17 user items (10 catalog-linked, 7 standalone)
- 3 threads with candidates, 2 setups, tag assignments, settings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 13:50:58 +02:00
e2dd0dc38d docs(phase-20): complete phase execution
Some checks failed
CI / ci (push) Failing after 19s
CI / e2e (push) Has been skipped
2026-04-06 08:17:44 +02:00
47e71452ce docs(20-02): complete FAB menu and catalog search overlay plan
- SUMMARY.md with component details and stub documentation
- STATE.md updated with position and decisions
- ROADMAP.md updated with phase 20 plan progress
- REQUIREMENTS.md: CATFLOW-01, CATFLOW-02 marked complete
2026-04-06 08:14:04 +02:00
e13f9584fa feat(20-02): wire FabMenu and CatalogSearchOverlay into root layout
- Replace old single-action FAB with FabMenu component
- Add CatalogSearchOverlay to root layout
- FAB now visible on all authenticated non-public routes
- Detect setups page for conditional New Setup menu item
- Remove unused openAddPanel reference
2026-04-06 08:04:10 +02:00
720460852c feat(20-02): add FabMenu and CatalogSearchOverlay components
- FabMenu with animated mini menu (Add to Collection, Start Thread, New Setup)
- CatalogSearchOverlay with debounced search, tag chip filtering, result cards
- Loading skeleton grid and empty state
- Framer Motion animations for menu entrance/exit and overlay transitions
2026-04-06 08:02:59 +02:00
55829f20fb fix: remove duplicate tags migration (already in 0002_wakeful_vermin) 2026-04-06 08:00:20 +02:00
62249b5b48 Merge branch 'worktree-agent-adbc35a5' into Develop
# Conflicts:
#	.planning/STATE.md
#	drizzle-pg/meta/0002_snapshot.json
#	drizzle-pg/meta/_journal.json
#	src/db/schema.ts
2026-04-06 08:00:04 +02:00
9481391bc6 docs: stage state before merge 2026-04-06 07:59:55 +02:00
256d81e43d docs(20-01): complete tags API, route registration, and UI state plan
- Add 20-01-SUMMARY.md with execution results
- Update STATE.md with progress and decisions
2026-04-06 07:59:41 +02:00
67facea338 feat(20-01): extend UIStore with FAB/catalog state, add useTags hook, update useGlobalItems
- Add fabMenuOpen, openFabMenu, closeFabMenu to UIStore
- Add catalogSearchOpen, catalogSearchMode, openCatalogSearch, closeCatalogSearch
- openCatalogSearch also closes FAB menu (natural flow)
- Create useTags hook with 5-min staleTime cache
- Add optional tags parameter to useGlobalItems for tag filtering
2026-04-06 07:57:47 +02:00
2ec1276849 feat(20-01): add tags table, tag service/route, register global-items route
- Create tags table in schema with id, name (unique), createdAt
- Generate migration for tags table
- Create tag.service.ts with getAllTags (id+name, alphabetical order)
- Create tags.ts route with GET / handler
- Register /api/global-items and /api/tags routes in index.ts
- Add auth skip for GET /api/tags and GET /api/global-items
2026-04-06 07:56:40 +02:00
6f07e874f9 test(20-01): add failing tests for tag service and route
- Tag service tests: empty array, alphabetical ordering, id+name projection
- Tag route tests: GET /api/tags returns 200, correct tag objects
2026-04-06 07:56:32 +02:00
d020b4b63d docs(20): create phase plan for FAB and full-screen catalog search 2026-04-06 07:49:30 +02:00
d602f27f14 docs(phase-20): add validation strategy 2026-04-06 07:43:07 +02:00