Phase 7 appointment booking#16
Open
Teravisiontech wants to merge 16 commits into
Open
Conversation
Refactor Layout.tsx to compose three separate subcomponents (Header, Main, Footer). Update spec plan and mark Phase 2 complete in roadmap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds responsive design as a baseline requirement rather than a Phase 9 concern. CSS gutters now use clamp() for fluid scaling from 320px mobile to wide desktop. Specs updated across tech-stack, roadmap, and the hello-hono feature to reflect this constraint. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Installs a /changelog slash command that reads git history and writes CHANGELOG.md grouped by date. Idempotent: re-running only prepends entries newer than the last recorded date, making it safe to invoke before every merge. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Brings in Vitest test suite, responsive design baseline, /changelog skill, and updated specs from the replanning session. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add better-sqlite3, run migration, and seed five fictional agents - Wire up GET /agents route that reads from the database - Add Agents page with a plain <table> styled automatically by Pico CSS - Replace custom style.css with Pico CSS CDN in Layout - Restructure Header to use Pico's semantic nav pattern - Update tests to cover /agents and the new stylesheet reference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add migration 002 for presenting_complaints TEXT column on agents - Update seed with a presenting complaint per agent - Add AgentDetail page using a <dl> for fields and a back link - Add GET /agents/:id route with 404 for missing agents - Link agent names in the list to their detail pages - Update tests: detail page, 404, and linked names in list Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add ailments and agent_ailments tables (migrations 003, 004) - Seed 6 ailments and 9 agent-ailment assignments - Add /ailments list page and /ailments/:id detail page - Update /agents/:id to show the agent's ailments with links - Add Ailments nav link to Header - 7 tests passing (3 new suites) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add therapies and ailment_therapies tables (migrations 005, 006) - Seed 6 therapies and 8 ailment-therapy mappings - Add /therapies list page and /therapies/:id detail page - Update /ailments/:id to show recommended therapies with links - Add Therapies nav link to Header - 10 tests passing across 7 suites Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add appointments table (migration 007) with agent FK, therapist, datetime, notes, status - Add GET /agents/:id/appointments/new booking form (Pico CSS styled) - Add POST /agents/:id/appointments with validation and redirect on success - Add GET /appointments/:id/confirmation page - Add Book Appointment link to agent detail page - 14 tests passing across 9 suites Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
phase 7