Document UX replacement fix

This commit is contained in:
Jordan Wages 2025-09-17 00:14:10 -05:00
commit 8b2bc9bb1c

View file

@ -286,3 +286,4 @@ Implementation Notes
- Keep queries read-only; always `LIMIT ? OFFSET ?` for lists; avoid `SELECT *` except for single-row detail.
- Respect accessibility: labelinput associations, `aria-live` only for async status, focus returned to opener on overlay close.
- Performance: debounce search 200300 ms; cache prepared statements if beneficial; do not pre-render large lists.
- UX manager now guards against race conditions during fades: `UX.replace` updates `currentBase` before the fade-in completes and checks that the previous element is still connected before trying to animate it out.