Third audit, UI half; side nav and request buttons (v1.11.1-audit) #23

Merged
ngu-git-admin merged 1 commit from audit-ui into main 2026-10-02 01:41:43 +01:00

Built on audit-3 (PR #22), so it includes those commits: merge #22 first and this one shows only its own.

Scalability, UI half

  • Event cards: lazy <img> of the -640 copy under the veil (was a full-size CSS background); only slides within 2 of the current one are drawn; past 12 events the dots become a "7 / 200" counter; the past grid shows one row collapsed, then 12 at a time with Show more, newest first
  • Community map: search over the list and grid; 12 cards per region, then Show all; below lg the list scrolls in a 36rem box; hovering no longer redraws the list
  • People tiles: one clip check for the whole list (was a ResizeObserver per tile); Show all past 30
  • Person pages: 6 events and 6 posts, then Show all; blog excerpts load only the first paragraph per post
  • Admin: filter box on pickers and the QR record select past 50 options (OptionFilter.tsx); /admin/options?only= sends only the lists a form uses; Media library thumbnails from the -640 copy, videos preload="none", debounced search dropping stale answers (Drive files too), a note when the newest 500 are shown
  • Pages show their last data while refreshing after the 60s cache (api.ts peek), instead of the skeleton

Navigation (TODO)

  • The side nav stacks above page content; the Retreats carousel arrow no longer draws over its circle
  • National Retreats no longer shows "Add or update an event"; request buttons take their section's accent

Checked

pnpm exec tsc passes; postsBy excerpts checked against an in-memory database. Not checked in a browser yet (list in TODO.md).

🤖 Generated with Claude Code

Built on `audit-3` (PR #22), so it includes those commits: merge #22 first and this one shows only its own. ## Scalability, UI half - Event cards: lazy `<img>` of the -640 copy under the veil (was a full-size CSS background); only slides within 2 of the current one are drawn; past 12 events the dots become a "7 / 200" counter; the past grid shows one row collapsed, then 12 at a time with Show more, newest first - Community map: search over the list and grid; 12 cards per region, then Show all; below lg the list scrolls in a 36rem box; hovering no longer redraws the list - People tiles: one clip check for the whole list (was a ResizeObserver per tile); Show all past 30 - Person pages: 6 events and 6 posts, then Show all; blog excerpts load only the first paragraph per post - Admin: filter box on pickers and the QR record select past 50 options (`OptionFilter.tsx`); `/admin/options?only=` sends only the lists a form uses; Media library thumbnails from the -640 copy, videos `preload="none"`, debounced search dropping stale answers (Drive files too), a note when the newest 500 are shown - Pages show their last data while refreshing after the 60s cache (api.ts `peek`), instead of the skeleton ## Navigation (TODO) - The side nav stacks above page content; the Retreats carousel arrow no longer draws over its circle - National Retreats no longer shows "Add or update an event"; request buttons take their section's accent ## Checked `pnpm exec tsc` passes; `postsBy` excerpts checked against an in-memory database. Not checked in a browser yet (list in TODO.md). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ngu-git-admin added 3 commits 2026-10-02 01:09:38 +01:00
Security:
- docx unzip reads each part once (a repeated entry was a zip bomb)
- request files must be named for their type (no PDF named .html)
- team roster hidden when its organization is unpublished
- /people?ids= hides draft organizations, takes 200 ids
- v_events takes the first published host and reads event_hosts
  directly (migration 059, plus an index on person_awards.event_id)
- group accounts refused while access groups are off; group sync
  can't undo a superadmin's disable
- 64 KB body limit on login, feedback and csp-report
- Drive pick-up races no longer 500; random upload boundary

Scalability:
- /events filters by scope, host, status and type on the server;
  Home no longer prefetches every event
- /organizations leaves out bodies and leadership; the map's group
  panel fetches its own
- admin lists page with Show more and a real count
- content request record search and the newsletter's post list
  ask the server

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Event cards: lazy -640 photo, only nearby slides drawn, a counter
  past 12 events, past grid paged with Show more
- Community map: search over list and grid, 12 per region then Show
  all, list no longer redrawn on hover
- People tiles: one clip check for the list, Show all past 30
- Person pages: 6 events and posts then Show all; excerpts load only
  the first paragraph
- Admin: filter box on long pickers and the QR select, options sent
  per form, Media thumbnails from the small copy, debounced searches
  that drop stale answers
- Pages show their last data while refreshing after the cache TTL
- Side nav stacks above page content (the carousel arrows)
- No event request button on National Retreats; request buttons take
  their section's accent
- Version v1.11.1-audit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ngu-git-admin merged commit 685e0b2aac into main 2026-10-02 01:41:43 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ngu-git-admin/NGU-Web#23
No description provided.