NGU-Web/src/lib
Zaldimmar c5f12c769f Improve content blocks: new types, formatting, and a better editor
Blocks (migration 032): video (click to play, sharing the featured
cards' player), button and callout types; quotes get an attribution
and images alt text separate from the caption. Paragraphs, callouts,
quotes and list items take **bold**, *italic*, [text](url), line
breaks and blank-line paragraphs, parsed into elements (never HTML)
with only safe link schemes. A list item's detail no longer uses an
em-dash.

Editor: each block type shows only its fields, with a named type and
a description, and every open block previews itself with the site's
renderer. Any repeater row can now be duplicated or have a new row
inserted below it; nested collections take `when`, and help text can
depend on the row.

src/seed-showcase.js writes a local test post using every block type
and option. It refuses the production database.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 16:50:21 -05:00
..
adminSchema.ts Improve content blocks: new types, formatting, and a better editor 2026-09-27 16:50:21 -05:00
adminTitle.tsx Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
adminWidth.tsx Add a section nav to the admin editor and fold repeater rows 2026-09-27 15:33:14 -05:00
api.ts Add image uploads with a media library, and event card backgrounds 2026-09-27 15:04:45 -05:00
auth.tsx Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
embeds.ts Add a Featured Content section to the front page 2026-09-27 15:56:29 -05:00
eventSeries.ts Add a reusable event calendar and put it on the front page 2026-09-25 06:28:42 -05:00
eventTypes.ts Let the front page countdown filter by event scope and type 2026-09-26 19:59:29 -05:00
hrefs.ts Point Community page links at the sections that exist 2026-09-27 16:28:26 -05:00
media.ts Add a blog: posts at /blog/:id and a Community page section 2026-09-27 16:27:08 -05:00
platforms.ts Show platform icons on link buttons 2026-09-27 14:45:20 -05:00
qr.ts Add a QR code page at /qr for any page on the site 2026-09-26 18:24:08 -05:00
roles.ts Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
sections.tsx Revert the implicit-any typing of src/ 2026-09-26 15:32:28 -05:00
site.ts Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
text.ts Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
timeline.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
timelineRefs.ts v1.5 - history and timeline as well as many datastructure updates added, polished, fixes 2026-09-25 02:38:51 -05:00
useBlog.ts Add a blog: posts at /blog/:id and a Community page section 2026-09-27 16:27:08 -05:00
useContent.ts Improve content blocks: new types, formatting, and a better editor 2026-09-27 16:50:21 -05:00
useFrontPage.ts Add a Featured Content section to the front page 2026-09-27 15:56:29 -05:00
useHistory.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
useRecord.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
useResource.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
version.ts v1.5 - history and timeline as well as many datastructure updates added, polished, fixes 2026-09-25 02:38:51 -05:00