Page updates: v1.10.3 to v1.10.6 #20

Merged
ngu-git-admin merged 19 commits from page-updates into main 2026-10-01 09:23:31 +01:00

Branch page-updates, tags v1.10.3 to v1.10.6.

  • v1.10.3: people blocks and host teams (migration 054), the Organization page, the 404 page with suggestions, request form wording.
  • v1.10.4: one-row people tiles, privacy wording (Church Center, self-hosted Plausible), the accessibility panel (OpenDyslexic, reading mode), the newsletter builder, mobile fixes.
  • v1.10.5: cleanup of old-data fixes, an Organization page editor (migration 055), navigation dropdowns and the side nav.
  • v1.10.6: Retreats, Community, Resources, Organization and History built from sections in Admin → Pages (migration 056), with presets for the blog, groups map, regions, partners, events, timeline and NGU's details; newsletter drafts with content blocks, a footer and Post as blog post (migration 057); footer site map full width, 30-character side nav titles, Timeline under Data, no Home dropdown.

Before deploying: back up the database (056 and 057 rebuild content_blocks), and set up Plausible before the privacy wording goes live.

🤖 Generated with Claude Code

Branch page-updates, tags v1.10.3 to v1.10.6. - v1.10.3: people blocks and host teams (migration 054), the Organization page, the 404 page with suggestions, request form wording. - v1.10.4: one-row people tiles, privacy wording (Church Center, self-hosted Plausible), the accessibility panel (OpenDyslexic, reading mode), the newsletter builder, mobile fixes. - v1.10.5: cleanup of old-data fixes, an Organization page editor (migration 055), navigation dropdowns and the side nav. - v1.10.6: Retreats, Community, Resources, Organization and History built from sections in Admin → Pages (migration 056), with presets for the blog, groups map, regions, partners, events, timeline and NGU's details; newsletter drafts with content blocks, a footer and Post as blog post (migration 057); footer site map full width, 30-character side nav titles, Timeline under Data, no Home dropdown. Before deploying: back up the database (056 and 057 rebuild content_blocks), and set up Plausible before the privacy wording goes live. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ngu-git-admin added 19 commits 2026-10-01 09:23:25 +01:00
- A "People" content block: a team's members as people tiles, people
  picked one by one as items (each with a title), or both.
  content_blocks gains team_id (migration 054 rebuilds it for the
  type CHECK); a picked person rides on the item's person_id.
- An organization host can name a team (any organization's) to show
  in its place: event_hosts.team_id, carried by v_event_hosts. The
  event page reads "Hosted by" the team, linked to its page.
- Admin fields can show on `when: { path, filled: true }`.
- The showcase post has a people block; the past showcase event is
  hosted by the region shown as its team.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three sections: Mission, Vision & Values from the national
organization record's own description and content blocks;
Leadership as that record's teams with their people; Details &
Contact with NGU's address, nonprofit status, email and the
record's contact links. /leadership answers with a 301 to
/organization (MOVED in routes/pages.js), and a page title or intro
saved for it in Site settings moves with it (migration 054).

OrganizationDetail's team list and contact buttons are now shared
components (OrgTeams, OrgContact), and NGU's address and email live
once in src/data/organizationDetails.ts for the footer, the page and
ComingSoon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The closest static pages and public records to the failed address
(suggest.ts: letter-pair likeness of the address's last part to each
URL ID and name, and of the whole address to each path), so a typo,
a missing hyphen or an old /chapters/ link still finds its page; the
main pages below to start from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Detail fields can carry a help line under the title (RequestField
help). The blog post's card field is now Short description, saying
where it shows; other long titles became short ones with the detail
in the help. The Files note explains that a blog post sent as a
.docx can be imported straight onto the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When every group (a team's leads and members alike) fits side by
side with tiles at three quarters of full width or wider, 10 at most,
they share one line, each group's width following its head count; a
board of 7 is one row rather than 5 and 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Giving entry links ngu.churchcenteronline.com and says Church
Center's script loads with the Giving page and may use Google
Analytics in its form. Cookies and storage now say the site uses
self-hosted, cookieless Plausible Analytics and not Google
Analytics. Last updated September 30, 2026.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A button fixed to the bottom right of every public page opens two
switches. Dyslexia-friendly font swaps every typeface for
OpenDyslexic (self-hosted, @fontsource/opendyslexic, downloaded
only when chosen). Reading mode steps the design back: no background
circles, motion or shadows, every layout one column, larger text and
underlined links. Both are data attributes on <html>, remembered in
the browser and set before the first paint like the theme. On a
phone the privacy notice sits above the button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tick upcoming events, published blog posts and the front page's
featured cards, write a title and intro, and copy an email-ready
newsletter (table layout, inline styles, the palette in hex, a
plain-text copy alongside) into Mailchimp, Gmail or Church Center,
or download it. Picked posts are read from their public pages, so
only live posts make it in; links and images point at the live
site. Nothing is sent or stored. The builder is src/lib/newsletter.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The mobile menu centers when it fits and starts at the top when
  it's taller than the screen (safe center), so its top is
  reachable; its close button is a 44px target.
- Page titles and the hero headline start a size smaller on phones
  and break long words instead of being cut off.
- Hero: the split buttons stack on a phone (the slash from sm); the
  slide dots and pause button are 40px targets and wrap; photo heroes
  leave room for the caption above the buttons.
- Retreat carousel: phone-sized padding and type; on a phone the
  arrows sit beside the dots instead of over the text, dots are 40px
  targets, and a swipe turns it. The narrow event card layout gives
  the logo its own row (it had made a stray column).
- People tiles: the details panel slides to stay on screen with its
  notch under the tile; a third column only when tiles keep 60% of
  their width; a 40px close button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The community map keeps a readable size on a phone and scrolls
  sideways in its own box; group cards wrap their controls under the
  name, with smaller logos and 40px buttons; group details likewise.
- Org list cards, the stats numbers and the front page timeline rail
  cards size down on phones (the stats band unchanged from sm up).
- Schedule entries put the time on its own line on a phone; 40px
  fold-out toggles.
- The banner gives its text the room on a phone, with a 40px
  dismiss button.
- Email addresses may break anywhere (one rule for every mailto:
  link), so a long one can't push past the screen.
- Footer site-map links, the arrow links and the accessibility
  panel's close button are larger targets; the open accessibility
  panel sits above the privacy notice; the timeline's "still to
  come" list reads in full on touch screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nothing before these changes was ever public, so the fixes kept for
older data go: the /leadership redirect (MOVED in routes/pages.js),
index.html's move of "ngu-" browser keys to "site-", the boot-time
sorting of images from before folders (media.js), and emoji path
icons (a path with no named icon shows a dot; migration 055 turns
the baseline's seeded emoji into their names).

Pages → Organization page (migration 055): a singleton with the
Mission, Vision & Values blocks, the Leadership blocks (a People
block per team, in order) with a heading and blurb, and Volunteering
(title, blurb, links). content_blocks gains the two owner kinds;
GET /organization-page serves it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The header's second strip is gone: each top link drops down its
  page's sections on hover or keyboard focus.
- Retreats, Community, Resources, Organization and History get the
  admin editors' "On this page" column (SectionNav), sticky at the
  left from lg up, with the section being read lit.
- Home's sections in the dropdown, mobile menu, footer site map, the
  feedback form and the QR maker are the bands the front page is
  showing, in its order and under its headings (navSections.ts,
  frontPageBands.ts, which Home.tsx now draws from too).
- Resources comes before Organization in the nav and footer.
- The Organization page draws from its own editor's content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each page is now a list of sections edited in Admin → Pages: a title
(30 characters at most, for the side nav), URL ID, blurb and accent,
its own content blocks, and an optional preset (Community blog, groups
map, region list, partner cards, events, timeline, NGU's details).
Migration 056 seeds every page as the code drew it and moves the
Organization editor's blocks and volunteering into its sections. The
Community blog's settings move into the Community editor. The header,
footer and side nav read each page's sections from the API.

The admin engine reads and writes nested collections to any depth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tools → Newsletter saves drafts (migration 057: newsletters, with
content blocks owned 'newsletter'), adds blocks written for the issue
and an editable footer (no unsubscribe link: Mailchimp adds one), and
turns a draft into an unpublished blog post. The admin engine binds
child owner ids as text, so an auto-numbered record's blocks are
owned by '1', not '1.0'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ngu-git-admin merged commit 3e4a725c99 into main 2026-10-01 09:23:31 +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#20
No description provided.