Skip to content

Release: check-in record correction, on-demand QR scanning, docs refresh - #53

Merged
ut42tech merged 30 commits into
mainfrom
develop
Oct 11, 2026
Merged

ut42tech merged 30 commits into
mainfrom
develop

Conversation

@ut42tech

Copy link
Copy Markdown
Owner

リリース内容(develop → main)

本番への影響

  • deploy-api.yml により Worker がデプロイされる。D1 マイグレーションは無し(テーブル構造は変更していない)
  • admin / checkin / signage の Vercel 本番が更新される
  • API は追加のみで、既存の受付経路(check-in / scan / 一括チェックアウト)は変更なし

確認済み

  • develop の各 PR で CI(Biome + 型チェック)と Vercel Preview が成功
  • @tecnova/shared 60 件・@tecnova/api 34 件のテスト、Playwright による画面確認が成功

本番反映後に確認すること

  • 受付 iPad での QR 読み取り(常駐させて時間を置いても読めるか)
  • 管理画面からの来場記録の追加・編集・削除(admin アカウント)

Closes #48
Closes #49

🤖 Generated with Claude Code

ut42tech and others added 30 commits October 11, 2026 14:12
The handoff was frozen at 2026-05-29 and still described participation
stats and the signage app as develop-only, although both (plus the admin
UI refresh and the checkin data-layer migration) have since shipped to
main. Rewrite it to reflect the current state: main == develop, signage
complete, open issues #39/#47/#48/#49 and Phase 1.5 as next candidates.

Also condense the completed fullName/grade release runbooks into a
reusable "sheet column change" trap (full text kept in git history),
add the runtime-smoke lesson from PR #44, and drop a real mentor email.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Operations changed: mentors no longer write activity logs, so children
record their own reflection and goal-setting, moving from paper to
digital (input method still undecided). CSV export is covered by the
daily D1 SQL dump, OCR is moot once records are digital, the teacher
sheet stays teacher-led, and offline support is dropped.

- Replace the mentor-app / 30-min grid plan with child self-recording
- Make check-in record correction (add/edit/delete) a near-term item
- Move dropped items to out-of-scope and add §3.5 summarising the review
- Supersede D3-D6/D10 and record the new decisions as D16-D19

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow-up to the requirements revision so the other docs stop pointing
at the dropped mentor app and its activity-log pipeline.

- mvp.md: refresh the Phase 1.5+ list and known operational limits
  (paper records transcribed to Google Forms, no way yet to correct
  check-in mistakes)
- architecture.md: swap the mentor app / activity logs / OCR / R2 /
  CSV / offline sync / prior-year import nodes for child record input,
  on-hold masters, and the daily D1 SQL dump used for analysis
- CLAUDE.md: note apps/mentor is cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Point the next steps at check-in record correction (add/edit/delete,
#48/#49) and the QR scanner recognition complaint, and replace the old
Phase 1.5 list (mentor app, activity logs, CSV export) with the revised
plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reception iPad stays on the home screen for long stretches, and the
always-on scanner stops reading QR codes after a while even though the
preview keeps moving; pressing "restart camera" brings it back. Spec the
home scanner to start the camera only when tapped and to stop on success
or after 20 seconds, and record what is known about the root cause.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeping the camera running made iPad Safari stop recognising QR codes
after the page sat idle, while the preview still looked live. The exact
cause is unconfirmed (zxing's continuous scan reuses a capture canvas
sized at start-up, and Safari may throttle long-running work), but a
freshly started camera reliably reads, so every scan now starts from
that state.

- Idle: camera off, the camera view becomes a "タップしてQRを読み取る" button
- Scanning: auto-detects as before; stops on success or after 20 s
- Camera errors fall back to idle with a retry hint on the button
- Drop the restart button; camera switch also starts scanning

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ning

Reception staff use "カメラを再起動" to get a stubborn QR read quickly,
so removing it was a regression. It now restarts the camera even while
scanning (also resetting the 20 s timeout), and starts scanning when
pressed from idle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Admins need to add, edit, and delete check-in records from the admin
dashboard and the participant detail sheet to fix reception mistakes
(forgotten check-ins/outs, wrong child, duplicates). The spec pins the
invariants the DB does not enforce (event derived from check-in date,
no overlaps, open sessions only today, empty past events removed), the
three admin-only endpoints, shared validation, UI, and the new
vitest-pool-workers tests for the API.

Refs #48, #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er as is

@cloudflare/vitest-pool-workers was renamed to @cloudflare/vitest-plugin
(the old name is deprecated); pin versions published at least two weeks
ago. Event creation now happens inside the write batch, so generalising
getOrCreateTodayEvent is no longer needed and the reception path stays
untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thirteen tasks: docs first, shared rules and schemas (TDD), Workers
vitest integration, admin session lib (create/update/delete) and
admin-only routes with D1-backed tests, the shadcn dialog, admin form
components, then dashboard and detail-sheet wiring verified with
Playwright against a mocked API.

Refs #48, #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #48, #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #48, #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #48, #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An open target whose check-in was within the 1-minute future tolerance
formed an empty interval and slipped past an existing open session,
allowing two open sessions for one child.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A two-digit year typed into a date picker produced 1926 (or unpadded
year) events that broke the YYYY-MM-DD event date invariant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rebuilding untouched times from HH:mm dropped their seconds, which could
raise false OVERLAP or CHECKOUT_BEFORE_CHECKIN errors. Untouched times
now keep their original instants, PATCH carries only changed fields,
and the date input gets the same 2020-01-01 lower bound as the API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: refresh handoff and revise roadmap after the 2026-10 review
fix(checkin): start the QR camera only when tapped to scan
feat(admin): correct check-in records from the admin dashboard and detail sheet
@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
tecnova-platform-admin Ready Ready Preview Oct 11, 2026 10:43am UTC
tecnova-platform-checkin Ready Ready Preview Oct 11, 2026 10:43am UTC
tecnova-platform-signage Ready Ready Preview Oct 11, 2026 10:43am UTC

This branch was successfully deployed

3 active deployments
Preview – tecnova-platform-checkin — 1912561e Deployed Oct 11, 2026 by vercel[bot]
Preview – tecnova-platform-signage — 1912561e Deployed Oct 11, 2026 by vercel[bot]
Preview – tecnova-platform-admin — 1912561e Deployed Oct 11, 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