Skip to content
SprecherEast
Issue 220

tech-debt: Two small leftovers from the #218 and #219 reviews

Back to our plan
Done
toolingtech-debtpriority: low

Type

tech-debt

Problem

Two small leftovers from the reviews of #218 and #219, both marked non-blocking:

  • src/components/AdminBar/index.test.tsx returns its element with as HTMLElement, and the waitFor before it can't change anything (#218 re-review).
  • docs/architecture/data-model.md lists payload-locked-documents as "not configured in this repo", which #219 made wrong.

Proposed fix

Use querySelector<HTMLElement> with a throwing null check in the test, and say in the data model that edit locks are staff-only since #147.

Acceptance criteria

  • Not done: No as cast in the AdminBar test; the test still passes.
  • Not done: The data model line matches the code.

Area

tooling

Priority

priority: low


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab