Add API for pending reports
This commit is contained in:
1 parent
bb21a767d7
commit
10d214ef56
7 files changed
+127
-3
No files matched your search
@@ -1,5 +1,9 @@
|
||||
# Structure and Data
|
||||
|
||||
## External report polling — 2026-11-17
|
||||
|
||||
- `GET /api/admin/calculations/pending` reads unentered history directly from SQLite/PostgreSQL in ascending ID order with cursor pagination. `PATCH /api/admin/calculations/{id}/entered` updates the same flag as the admin UI and returns the actual row regardless of history size. The existing admin password/session authorizes both; no separate integration identity exists. See README for the contract and polling semantics. Changes are local until deployed.
|
||||
|
||||
## Calculator and related UI guidance pass — 2026-11-14
|
||||
|
||||
- `web/calculator.html` keeps the existing warm palette and typography. Section navigation now uses real links with `aria-current` and browser history; calculation mode uses a native radio group with built-in arrow-key behavior. File inputs, repeatable kitten fields, quick input and output have accessible labels/focus; dialogs retain native modal focus and Escape handling. No new runtime dependencies or polyfills were required.
|
||||
|
||||
Reference in new issue
Block a user