Skip to content

Day 102: Standalone Templates page - #2

Merged
jmrashed merged 1 commit into
mainfrom
feat/day-102
Jul 25, 2026
Merged

jmrashed merged 1 commit into
mainfrom
feat/day-102

Conversation

@jmrashed

Copy link
Copy Markdown
Owner

Summary

  • Adds a /templates route with full list/create/edit/delete, independent of the Compose page's compact picker widget.
  • Extracted the {{variable}}-detection regex (previously inline-only in TemplatePicker) into dashboard/src/lib/templateVariables.ts, shared by both the picker and the new page — went beyond the checklist's "no duplication of logic" API-layer requirement to also cover this.
  • Also commits implementation-tracker.md infra (drafted in an earlier session but never committed after Day 101), updates it for Days 101–102, corrects a stale "no Docker available" note now that Docker is installed on this host, and records the identity/auth security gaps found during a Day 101 follow-up investigation as a tracked-but-unassigned known follow-up (not silently dropped, not yet actioned).

Test plan

  • tsc -b, oxlint, vite build all clean
  • dashboard/e2e/templates.spec.ts — create/edit/delete, plus a cross-page check that a template created on /templates is immediately usable from Compose's picker
  • Full e2e suite (Day 101 + Day 102 specs, 5 tests) re-run together — no regressions
  • Self-reviewed as code reviewer (no P0/P1 findings) and QA (drove every flow live with Playwright against the running stack, DB left clean after test runs)

Adds a /templates route with full list/create/edit/delete, independent
of the Compose page's compact picker widget. Extracted the
{{variable}}-detection regex (previously only defined inline in
TemplatePicker) into dashboard/src/lib/templateVariables.ts, shared by
both the picker and the new page, so the "no duplication of logic"
requirement covers more than just the REST calls.

Also commits the implementation-tracker.md infra (CLAUDE.md rule +
the tracker file itself) that was drafted but never committed after
Day 101, updates it for Days 101-102, corrects its stale "no Docker
available" note now that Docker is installed, and records the
identity/auth security gaps found during the Day 101 follow-up
investigation as a tracked but unassigned known follow-up.
@vercel

vercel Bot commented Jul 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sms-pit Ready Ready Preview, Comment Jul 25, 2026 12:11pm

@jmrashed
jmrashed merged commit d30cd67 into main Jul 25, 2026
10 checks passed
@jmrashed
jmrashed deleted the feat/day-102 branch July 25, 2026 12:11

This branch was successfully deployed

1 active deployment
Preview — 644a851a Deployed Jul 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant