Page management, step 2: the core pages as sections
Migrations 081 and 082: Feedback, Request, QR codes, Give, Privacy and Terms become pages of sections. Their forms and embeds are section types any page can use; Give's words and all of Privacy and Terms become blocks. The privacy contact email is written into the policy and its setting goes. Core pages keep their address and can't be deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1342691f49
commit
f33c0008fe
27 changed files with 298 additions and 645 deletions
6
TODO.md
6
TODO.md
|
|
@ -78,7 +78,7 @@
|
|||
## Page Editing
|
||||
- [ ] **Page management revamp**, in steps (answers from 2026-10-16: disabled means out of the menus, sitemap and search with the address still working; admins can make new pages; the front page, the Community blog's settings, the form and embed pages and Privacy/Terms all become pages of sections; section types like the hero, stats, featured cards, calendar and countdown can go on any page, each with its own content).
|
||||
- [x] Step 1, the page registry (Done, below).
|
||||
- [ ] Step 2: Feedback, Request, Give, QR codes become pages of sections (a section type each for the form, the giving embed and the QR maker); Privacy and Terms become editable blocks (their data request form a section type).
|
||||
- [x] Step 2, the core pages as sections (Done, below).
|
||||
- [ ] Step 3: section types with their own settings: the Community blog (its slots, pinned posts and feeds move into the section, so it can go on any page), then the front page's hero, countdown, retreats, calendar, stats, timeline, featured cards and connect, and the front page itself a page of sections.
|
||||
|
||||
## Admin
|
||||
|
|
@ -123,7 +123,9 @@
|
|||
|
||||
|
||||
# Part 2: Done
|
||||
## Page management (branch `page-management`, on top of `page-features`, no PR yet; migration 080, back up the database before deploying)
|
||||
## Page management (branch `page-management`, on top of `page-features`, no PR yet; migrations 080 to 082, back up the database before deploying)
|
||||
- [x] **Core pages as sections** (migrations 081, 082): Feedback, Request, QR codes, Give, Privacy and Terms are pages of sections now, edited in Page management like any other. Their forms and embeds are section types any page can use (Website feedback form, Request form, Data request form, Giving button, QR code maker); Give's words, and all of Privacy and Terms, are blocks (headings, paragraphs, lists), with "Last updated" in the section's blurb. The privacy contact email was written into the policy's text and its Site settings field is gone. These pages keep their address (the site's code links to them) and can't be deleted. The privacy notice's link now goes to #cookies-and-browser-storage.
|
||||
- [ ] Check in a browser: each of the six pages (reading width of Privacy and Terms, the giving modal opening), editing a Privacy paragraph, a Request form section put on another page.
|
||||
- [x] **Page registry** (migration 080): every page of the site is a row in Pages → Page management (admins and up): its address, title, intro, Hidden (Not found below viewer) and Disabled (out of the menus, the sitemap and search; the address still works), and the order of its admin card. New pages are made there, as pages of sections at the address given (any address but the admin's, the API's, the records' and the account pages'). The admin home's Pages group opens with a Page management banner (New page, Menus), then a card per page. The six page editors (Retreats, Community...) are one editor now; site.json's `pages` and Navigation's page list moved into the registry and are gone. The fixed pages (Feedback, Request, Give, QR codes, Privacy, Terms, the front page) take their words from it too and can't be deleted.
|
||||
- [ ] Check in a browser: the admin home's banner and page cards, making a page (address, sections) and opening it, hiding and disabling one (menus, the page signed out), renaming Feedback, the Under page select in Navigation.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue