From 9a82ccfd87a4ef366096c98cdaa5509cc1058cc7 Mon Sep 17 00:00:00 2001 From: Humza Butt Date: Fri, 3 Jul 2026 12:41:46 +0100 Subject: [PATCH 01/32] Add systematic checklists for submission and interview preparation - Introduced checklists in `SUBMISSION.md` for pre-submission tasks and interview readiness. - Created detailed checklists in `docs/checklists/` covering homework rubric, pre-submission verification, known gaps, enhancements backlog, and overall checklist usage. - Each checklist includes actionable items to ensure thorough preparation before submission and interviews. --- SUBMISSION.md | 10 ++ docs/checklists/01-homework-rubric.md | 115 +++++++++++++++++++++++ docs/checklists/02-pre-submission.md | 126 ++++++++++++++++++++++++++ docs/checklists/03-known-gaps.md | 91 +++++++++++++++++++ docs/checklists/04-enhancements.md | 112 +++++++++++++++++++++++ docs/checklists/README.md | 36 ++++++++ 6 files changed, 490 insertions(+) create mode 100644 docs/checklists/01-homework-rubric.md create mode 100644 docs/checklists/02-pre-submission.md create mode 100644 docs/checklists/03-known-gaps.md create mode 100644 docs/checklists/04-enhancements.md create mode 100644 docs/checklists/README.md diff --git a/SUBMISSION.md b/SUBMISSION.md index e6e6c77..4b40fb7 100644 --- a/SUBMISSION.md +++ b/SUBMISSION.md @@ -19,3 +19,13 @@ Frontend performance · efficient image/video handling · what changes at scale ## Notable extras RLS on every table (proven by `npm run test:rls`) · SQLite Durable Object websockets · two isolated environments on a custom domain · full docs hub + ADRs + diagrams. + +## Systematic checklists + +Work through before submit / interview: + +- [docs/checklists/README.md](docs/checklists/README.md) — index +- [01-homework-rubric.md](docs/checklists/01-homework-rubric.md) — spec coverage +- [02-pre-submission.md](docs/checklists/02-pre-submission.md) — manual verification +- [03-known-gaps.md](docs/checklists/03-known-gaps.md) — fix or explain +- [04-enhancements.md](docs/checklists/04-enhancements.md) — post-submit backlog diff --git a/docs/checklists/01-homework-rubric.md b/docs/checklists/01-homework-rubric.md new file mode 100644 index 0000000..4e6b774 --- /dev/null +++ b/docs/checklists/01-homework-rubric.md @@ -0,0 +1,115 @@ +# 01 — Homework rubric checklist + +Source: *Interview Homework Test - Cloud Developer.txt* + *Cloud Developer.docx* (501 Entertainment role). + +Legend: `[x]` = implemented in repo (verify manually before interview). `[ ]` = not done or needs verification. + +--- + +## A. React Game Session Dashboard + +### A1. Session overview (live screen) + +| | Item | Where / how to verify | +|---|------|------------------------| +| [x] | React SPA | `apps/web` — Vite + React 19 | +| [ ] | **Session ID visible** in UI | Spec asks for Session ID; overview shows **title** but not UUID — add to Overview/SessionDetail or note in demo | +| [x] | Players: names + scores | `apps/web/src/routes/Overview.tsx` | +| [ ] | **Player photo** shown | `PlayerAvatar` supports `photoUrl`; **seed has no photos** → initials fallback only unless you upload/add URLs | +| [x] | Status (active / completed) | Badge on Overview; detail on SessionDetail | +| [x] | Clean, responsive UI | Tailwind, `max-w-5xl`, mobile nav — resize browser | +| [x] | Update player scores | +/- buttons → `PATCH /sessions/:id` + optimistic UI | +| [x] | Real-time updates | WebSocket via Durable Object + **5s polling fallback** when disconnected | + +### A2. Match history + +| | Item | Where / how to verify | +|---|------|------------------------| +| [x] | List of previous sessions | `apps/web/src/routes/History.tsx` | +| [x] | Click session → load detail | Route `/history/:id` → `SessionDetail.tsx` | +| [x] | Plays video of game | `