Skip to content

feat: add per-project planning view with goal-tracking initiatives - #282

Merged
AdamJ merged 4 commits into
mainfrom
worktree-planning-view
Oct 24, 2026
Merged

AdamJ merged 4 commits into
mainfrom
worktree-planning-view

Conversation

@AdamJ

@AdamJ AdamJ commented Oct 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds an Initiative entity (name, goal, status, deadline as a date or quarter) scoped to a project, following the app's existing PlannedTask dual-storage pattern across guest-mode localStorage, Supabase, and the self-hosted SQL backend.
  • Adds a per-project planning page (/projects/:id/planning) with a status-grouped, GitHub-Roadmap-style timeline (month header, collapsible swimlanes, a "Today" line), reachable via a new "Planning" link on each row in the Projects list.
  • Full CRUD (add/edit/delete) via a new InitiativeSheet, with cascade-delete so removing or resetting a project also removes its initiatives.
  • Design doc: docs/superpowers/specs/2026-10-23-planning-view-design.md; implementation plan: docs/superpowers/plans/2026-10-23-planning-view.md.
  • A fresh whole-branch review surfaced 11 Critical/Important issues (timezone date bugs, a missing month header, partial-deadline validation gaps, missing delete UI, a risky foreign key, incomplete SQL-backend parity, and more) — all fixed and verified with RED→GREEN tests in follow-up commits.

Test plan

  • pnpm vitest run — 456/456 passing
  • pnpm lint — clean
  • pnpm build — clean
  • Manual check: create/edit/delete an initiative in guest mode and confirm the timeline renders correctly
  • Manual check (if testing authenticated mode): confirm the planning_initiatives Supabase migration applies cleanly

🤖 Generated with Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Deploying timetrackerpro with  Cloudflare Pages  Cloudflare Pages

Latest commit: b65a5fd
Status: ✅  Deploy successful!
Preview URL: https://0dcae9cc.timetrackerpro.pages.dev
Branch Preview URL: https://worktree-planning-view.timetrackerpro.pages.dev

View logs

@github-actions github-actions Bot added documentation Improvements or additions to documentation frontend supabase labels Oct 24, 2026
@AdamJ AdamJ added this to Timetraked Oct 24, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Timetraked Oct 24, 2026
@AdamJ AdamJ self-assigned this Oct 24, 2026
@AdamJ
AdamJ force-pushed the worktree-planning-view branch from 690ca12 to 95b2fdb Compare October 24, 2026 01:33
AdamJ added 2 commits October 23, 2026 21:55
ProjectPlanning passed PageLayout a new actions element every render,
looping its title-context effect (Maximum update depth exceeded) and
breaking the Add/Edit Initiative sheet. Memoized it like every other
page does.

InitiativeTimeline's status colors used bg-blue-9/bg-mauve-9 etc.,
which this project's Tailwind theme never defines (no Radix 1-12
scale wired into src/index.css), so bars rendered fully transparent.
Switched to the project's real --chart-*/--destructive CSS vars.
@github-actions github-actions Bot added the automation For items related to release/documentation/workflow automations label Oct 24, 2026
@AdamJ
AdamJ merged commit 16d3512 into main Oct 24, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Timetraked Oct 24, 2026
@AdamJ
AdamJ deleted the worktree-planning-view branch October 24, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation For items related to release/documentation/workflow automations documentation Improvements or additions to documentation frontend supabase

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant