From b35082602f7c72b36b536e9317312bc1b110d9fa Mon Sep 17 00:00:00 2001 From: jlightner Date: Fri, 3 Apr 2026 04:19:52 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20Added=20"Last=20updated:=20Mon=20D"=20t?= =?UTF-8?q?o=20creators=20browse=20rows=20and=20subtle=20da=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - "frontend/src/api/public-client.ts" - "frontend/src/pages/CreatorsBrowse.tsx" - "frontend/src/pages/Home.tsx" - "frontend/src/App.css" GSD-Task: S02/T02 --- .gsd/milestones/M015/slices/S02/S02-PLAN.md | 2 +- .../M015/slices/S02/tasks/T01-VERIFY.json | 9 ++ .../M015/slices/S02/tasks/T02-SUMMARY.md | 84 +++++++++++++++++++ 3 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 .gsd/milestones/M015/slices/S02/tasks/T01-VERIFY.json create mode 100644 .gsd/milestones/M015/slices/S02/tasks/T02-SUMMARY.md diff --git a/.gsd/milestones/M015/slices/S02/S02-PLAN.md b/.gsd/milestones/M015/slices/S02/S02-PLAN.md index 002476f..59af134 100644 --- a/.gsd/milestones/M015/slices/S02/S02-PLAN.md +++ b/.gsd/milestones/M015/slices/S02/S02-PLAN.md @@ -34,7 +34,7 @@ - Estimate: 20m - Files: backend/schemas.py, backend/routers/creators.py - Verify: ssh ub01 'curl -s http://localhost:8096/api/v1/creators?limit=5' | python3 -m json.tool | grep last_technique_at -- [ ] **T02: Render dates on creators browse page and homepage cards** — Add the `last_technique_at` field to the frontend TS interface, render it on the creators browse page, render `created_at` on homepage recently-added cards, and rebuild+deploy the web container. +- [x] **T02: Added "Last updated: Mon D" to creators browse rows and subtle date stamps on homepage recently-added cards** — Add the `last_technique_at` field to the frontend TS interface, render it on the creators browse page, render `created_at` on homepage recently-added cards, and rebuild+deploy the web container. ## Steps diff --git a/.gsd/milestones/M015/slices/S02/tasks/T01-VERIFY.json b/.gsd/milestones/M015/slices/S02/tasks/T01-VERIFY.json new file mode 100644 index 0000000..3333451 --- /dev/null +++ b/.gsd/milestones/M015/slices/S02/tasks/T01-VERIFY.json @@ -0,0 +1,9 @@ +{ + "schemaVersion": 1, + "taskId": "T01", + "unitId": "M015/S02/T01", + "timestamp": 1775189807579, + "passed": true, + "discoverySource": "none", + "checks": [] +} diff --git a/.gsd/milestones/M015/slices/S02/tasks/T02-SUMMARY.md b/.gsd/milestones/M015/slices/S02/tasks/T02-SUMMARY.md new file mode 100644 index 0000000..a4651c2 --- /dev/null +++ b/.gsd/milestones/M015/slices/S02/tasks/T02-SUMMARY.md @@ -0,0 +1,84 @@ +--- +id: T02 +parent: S02 +milestone: M015 +provides: [] +requires: [] +affects: [] +key_files: ["frontend/src/api/public-client.ts", "frontend/src/pages/CreatorsBrowse.tsx", "frontend/src/pages/Home.tsx", "frontend/src/App.css"] +key_decisions: ["Used opacity reduction on --color-text-secondary for date styling", "Wrapped creator name + date in header-right column layout on homepage cards"] +patterns_established: [] +drill_down_paths: [] +observability_surfaces: [] +duration: "" +verification_result: "TypeScript compiles clean. API returns last_technique_at with both null and non-null values. Browser verification confirms dates appear on creators page rows (and are absent for 0-technique creators) and on homepage recently-added cards. All dates use short format (Apr 2, Apr 3)." +completed_at: 2026-04-03T04:19:41.607Z +blocker_discovered: false +--- + +# T02: Added "Last updated: Mon D" to creators browse rows and subtle date stamps on homepage recently-added cards + +> Added "Last updated: Mon D" to creators browse rows and subtle date stamps on homepage recently-added cards + +## What Happened +--- +id: T02 +parent: S02 +milestone: M015 +key_files: + - frontend/src/api/public-client.ts + - frontend/src/pages/CreatorsBrowse.tsx + - frontend/src/pages/Home.tsx + - frontend/src/App.css +key_decisions: + - Used opacity reduction on --color-text-secondary for date styling + - Wrapped creator name + date in header-right column layout on homepage cards +duration: "" +verification_result: passed +completed_at: 2026-04-03T04:19:41.607Z +blocker_discovered: false +--- + +# T02: Added "Last updated: Mon D" to creators browse rows and subtle date stamps on homepage recently-added cards + +**Added "Last updated: Mon D" to creators browse rows and subtle date stamps on homepage recently-added cards** + +## What Happened + +Added last_technique_at to the frontend TypeScript interface, rendered it on the creators browse page after stats (only when non-null), and added created_at dates on homepage recently-added cards with muted styling. Rebuilt and deployed the web container on ub01. + +## Verification + +TypeScript compiles clean. API returns last_technique_at with both null and non-null values. Browser verification confirms dates appear on creators page rows (and are absent for 0-technique creators) and on homepage recently-added cards. All dates use short format (Apr 2, Apr 3). + +## Verification Evidence + +| # | Command | Exit Code | Verdict | Duration | +|---|---------|-----------|---------|----------| +| 1 | `npx tsc --noEmit` | 0 | ✅ pass | 3300ms | +| 2 | `curl /api/v1/creators?limit=5 | grep last_technique_at` | 0 | ✅ pass | 1000ms | +| 3 | `browser_assert: text_visible 'Last updated:' on /creators` | 0 | ✅ pass | 2000ms | +| 4 | `browser_assert: selector_visible .creator-row__updated` | 0 | ✅ pass | 2000ms | + + +## Deviations + +Docker Compose service name is chrysopedia-web not chrysopedia-web-8096. HTML curl verification replaced with browser_assert since the app is an SPA. + +## Known Issues + +None. + +## Files Created/Modified + +- `frontend/src/api/public-client.ts` +- `frontend/src/pages/CreatorsBrowse.tsx` +- `frontend/src/pages/Home.tsx` +- `frontend/src/App.css` + + +## Deviations +Docker Compose service name is chrysopedia-web not chrysopedia-web-8096. HTML curl verification replaced with browser_assert since the app is an SPA. + +## Known Issues +None.