Skip to content

ADR β€” PR #994

2026-05-17 19:40 β€” Add accessibility live regions for status messages

Section titled β€œ2026-05-17 19:40 β€” Add accessibility live regions for status messages”

2026-05-17 19:41 β€” Clear status state on baseline input change

Section titled β€œ2026-05-17 19:41 β€” Clear status state on baseline input change”

2026-05-17 19:42 β€” Add transaction wrapping for org-rules API operations

Section titled β€œ2026-05-17 19:42 β€” Add transaction wrapping for org-rules API operations”

2026-05-18 10:00 β€” Confirmed live region implementation (must-fix)

Section titled β€œ2026-05-18 10:00 β€” Confirmed live region implementation (must-fix)”

2026-05-18 10:05 β€” Confirmed clearing stale banners on input change (must-fix)

Section titled β€œ2026-05-18 10:05 β€” Confirmed clearing stale banners on input change (must-fix)”

2026-05-18 10:10 β€” Confirmed transaction wrapper works (must-fix)

Section titled β€œ2026-05-18 10:10 β€” Confirmed transaction wrapper works (must-fix)”

2026-05-18 21:00 β€” Finalized CodeRabbit feedback implementation

Section titled β€œ2026-05-18 21:00 β€” Finalized CodeRabbit feedback implementation”

2026-05-18 21:30 β€” Verified all findings and added regression tests + structured logging

Section titled β€œ2026-05-18 21:30 β€” Verified all findings and added regression tests + structured logging”
  • Comment: https://github.com/ERP-Unlocked/ordermatic/pull/994
  • Priority: must-fix
  • Decision: accept
  • Rationale: Verified all 3 CodeRabbit findings are correctly addressed. Added unit tests for accessibility/state clearing and implemented structured logging in the API handler for better observability.

2026-05-18 21:35 β€” Final review and minor a11y polish

Section titled β€œ2026-05-18 21:35 β€” Final review and minor a11y polish”
  • Comment: https://github.com/ERP-Unlocked/ordermatic/pull/994
  • Priority: nice-to-have
  • Decision: accept
  • Rationale: Verified all 3 CodeRabbit findings are correctly addressed. Added role=β€œstatus” to the success message for better accessibility consistency in the live region.

2026-05-18 22:30 β€” Added API regression tests for transaction logic

Section titled β€œ2026-05-18 22:30 β€” Added API regression tests for transaction logic”
  • Comment: N/A (Internal follow-up)
  • Priority: nice-to-have
  • Decision: accept
  • Rationale: Ensures the transaction-wrapped upsert and audit logging remain atomic and correctly implemented during future refactors. Verified via src/pages/api/settings/org-rules.test.ts.