Files
GearBox/.planning/STATE.md

96 lines
3.2 KiB
Markdown

---
gsd_state_version: 1.0
milestone: v2.4
milestone_name: Admin Foundation
status: in_progress
stopped_at: Phase 35 — Bug Fixes (context gathered, ready to plan)
last_updated: "2026-04-19T00:00:00.000Z"
last_activity: 2026-04-19
progress:
total_phases: 4
completed_phases: 0
total_plans: 0
completed_plans: 0
percent: 0
---
# Project State
## Project Reference
See: .planning/PROJECT.md (updated 2026-04-19)
**Core value:** Help people make better gear decisions — discover what others use, compare real-world data, and see how a potential buy affects your setup before committing.
**Current focus:** Milestone v2.4 — Admin Foundation | Phase 35: Bug Fixes
## Current Position
Phase: 35 — Bug Fixes
Plan: —
Status: Context gathered — ready to plan
Last activity: 2026-04-19 — Phase 35 context captured
Progress: [░░░░░░░░░░] 0%
## Performance Metrics
**Velocity:**
- Total plans completed: 110+ (all milestones through v2.3)
- v2.3: 18 plans across 3 phases (2026-04-13 → 2026-04-19)
*Updated after each plan completion*
## Accumulated Context
### Decisions
Key decisions carried forward from v2.3:
- External auth provider: Logto (self-hosted OIDC) — RESOLVED
- Structured UGC only — ratings and predefined fields, no freeform text — ACTIVE
- Separate globalItems table — not a flag on user items table — RESOLVED
- COALESCE merge for reference items — RESOLVED
- Detail pages replacing slide-out panels — RESOLVED
- Setup visibility: private/link/public column + shares table — RESOLVED
- Multi-currency: market_prices + community_prices + ECB rates — RESOLVED
- i18n: react-i18next, 7 namespaces, English + German — RESOLVED
v2.4 decisions:
- Admin role: isAdmin boolean flag on users table (simplest, no Logto role claims needed)
- Admin grant mechanism: CLI script or seed — no public UI for granting admin
- Sub-items/component attachment: explicitly deferred to a future milestone
- Catalog spec system (typed specs per tag): deferred to v2.5
- Engagement stats (views/likes/saves/appearances): deferred to v2.5
### Pending Todos
- Fix Add Candidate button shows wrong modal on thread page (ui) — Phase 35
- Fix item image not showing on collection overview — Phase 35
- Investigate slow image loading — Phase 35
- Auth prompt sign-in button should redirect directly to Logto — Phase 35
- Cursor pointer on all clickable links — Phase 35
### Blockers/Concerns
None.
## Deferred Items
Items carried forward from v2.3:
| Category | Item | Status |
|----------|------|--------|
| todo | 2026-04-10-add-cursor-pointer-to-all-clickable-links | promoted to v2.4 FIX-05 |
| todo | 2026-04-10-fix-item-image-not-showing-on-collection-overview | promoted to v2.4 FIX-02 |
| todo | 2026-04-10-investigate-slow-image-loading | promoted to v2.4 FIX-03 |
| todo | 2026-04-13-auth-prompt-sign-in-button-should-redirect-directly-to-logto | promoted to v2.4 FIX-04 |
| todo | 2026-04-13-fix-add-candidate-button-shows-wrong-modal-on-thread-page | promoted to v2.4 FIX-01 |
## Session Continuity
Last session: 2026-04-19
Stopped at: Phase 35 context gathered — ready to plan
Resume file: .planning/phases/35-bug-fixes/35-CONTEXT.md