Feature updates v1.7.4: media, blog, featured content, editor nav, content blocks #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/new-features"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature round tagged
v1.7.4-feature-updates. This branch also carries the earlier v1.7 to v1.7.3 commits that were never merged to main (hero video and backdrop, QR page, countdown filters, editor text tidy-up, event card colours).What's new
server/src/seed-showcase.jswrites fully filled test records of every kind (--listed,--production).Before deploying
front_page_sections,content_blocksandfeatured_cards; back up/var/lib/ngu/ngu.dbfirst.docs/media-uploads.md): create/var/lib/ngu/uploads, setUPLOADS_DIRon thengu-apiunit, add the nginx/uploads/block and raiseclient_max_body_size, and runpnpm installinserver/for the newsharpdependency.*or[..](..)is now read as formatting.Testing
Type-check and build pass. Server routes, migrations, upload handling, the link-preview address guards and the feed reader were tested against a scratch database.
Aidan Tested all content in browser.
🤖 Generated with Claude Code
Your wording pass on adminSchema.ts and fields.tsx: "Default: ..." blank options, "eg." examples, "URL ID" for slugs, and relabelled front page sections, stat sources and hero fields. On top of it: - Content block row titles end with an ellipsis when the paragraph is cut. preview() in src/lib/text.ts does it for anything that shortens text: it collapses whitespace, cuts on a word and adds "..." only when it actually shortened. - No em-dashes in the editor, front end or server: placeholders ("Internal note: ..."), the Organizations blurb, the URL ID help, empty table cells (now "-"), the Award dropdown ("Torch Award (NGU)" in OPTION_QUERIES), a boot error message, and every comment in the admin files. Also cleared from the files added this branch (QR page, directory route, embeds, hero, migration 024), and the QR page's team labels read "Board (NGU)". - A few comments where removing the dash had run two sentences together get a comma, colon or parentheses back. - docs/updating-data-in-code.md matches the new labels and gains a "Writing text in the editor" section with these conventions; CLAUDE.md lists them under Rules and gotchas. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>