circagraph
Sign inSign up

openchronology/timeline-app on GitHub

The OpenChronology repository on GitHub, mirrored by och-import-github: issues and pull requests as durations (ongoing while open), what happened to them as moments, plus releases, milestones, commits and branches. The Branches view shows the most recently active branches each in a track of its own.

Source: https://github.com/openchronology/timeline-app

3,131 moments · 2026-10-05 CE 20:21:49 UTC – 2026-11-16 CE 12:10:45 UTC · by @athan · @athan

#304 Agreeing to the terms works again

–

  • github
  • github/openchronology/timeline-app
  • github/openchronology/timeline-app#304
  • pull request
  • state:merged

Closes #303. - `platform/components/terms-prompt.jsx` read `new FormData(event.currentTarget)` after `await api('session')`. React clears `currentTarget` once a handler yields, so **Agree** failed with "Failed to construct 'FormData'" and nothing was recorded. It now reads the checkbox before awaiting. - The other forms that build `FormData` from the event read it before their first `await`, so they aren't affected. - New `test/terms-live-postgres.mjs`, in the PostgreSQL job: the production platform with a real browser. It signs in as an account that hasn't agreed, checks that the box is required, ticks it, presses Agree, and checks the panel is gone, no page errors occurred, and `terms_version` and `terms_accepted_at` are recorded. With the old component it times out waiting for the panel to go. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/304

Related

Open #304 Agreeing to the terms works again in the timeline

#304 Agreeing to the terms works again