feat(ui): US-22 becomes a side-effect-free draft correction; add US-24 S3 deletion

US-22: the PocketBase UI edits one field at a time with no preview of
the final name, so a field edit now persists the values with no template
evaluation, no re-filing and no status change; the corrected event carries
the field diff alone. The full correction (all fields, dry-run, re-filing,
validation) moves to the custom dashboard (US-3x).
US-24: deleting a documents record deletes the S3 object at file_key first;
the cascade delete removes the history. Spec, hooks, E2E updated together.
This commit is contained in:
2026-11-04 22:08:31 +01:00
parent 6961256538
commit 7b25b7b144
5 changed files with 129 additions and 93 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ func main() {
app.Logger().Warn(s3.StartupWarning, "bucket", envCfg.S3Bucket)
}
// US-22 / US-23 / US-04: request hooks on documents and document_events.
// US-04 / US-22 / US-23 / US-24: request hooks on documents and document_events.
pbapp.BindHooks(app, cfg, s3)
// Manual poll pass: a superuser-only route used by the E2E gate and the