webmaster 1f8179d562 directory: never show the stale build-time cards before the webhook answers
With JS the build-time card painted first and was then replaced by the webhook's
list — a visitor could see a person who is no longer listed.

- `js` class set on <html> by an inline script as the first thing in <head>, so the
  static cards are hidden from the first frame only when JS will replace them.
- JS on: a text loading line (role=status, aria-live=polite) stands in their place;
  on success the static cards are removed from the DOM and the live list rendered; on
  failure an honest error with a Try again button replaces them — never the stale cards.
- Count line + filter row held out (invisible, out of the tab order) until the data is
  there; pager absent while loading.
- Space reserved (dir-grid min-height, dir-count min-height, filter row kept in flow) so
  the list does not jump when the cards arrive — measured 0px movement loading -> ready.
- JS off: unchanged — the static cards show.
2026-11-03 21:11:36 +00:00
h
2026-06-23 14:29:43 -03:00
S
Description
No description provided
51 MiB
0 Stars 1 Watchers 0 Forks
Languages
HTML 91.6%
JavaScript 6.3%
CSS 2.1%