Page features: directory and blog post tabs, image converter, version names
- Featured event badge: above the event's card from lg up, left out on phones - Version names from the tag (The Region Cards Update) in the site and admin footers - Tools -> Image converter (JPG, PNG, WebP in the browser) and Download as in Media - People directory sections take several tags, a tab each (migration 078) - Tab blocks split a blog post into tabs; contents follow the open tab (migration 079) - The side nav sun fades out as the page scrolls into the footer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a6c66d4607
commit
31afa889d6
28 changed files with 878 additions and 70 deletions
28
TODO.md
28
TODO.md
|
|
@ -60,16 +60,13 @@
|
|||
- [ ] Which page showed the wrong picture, and where (Discord, iMessage, Facebook)? Answer:
|
||||
- [ ] Is it production (not deployed yet?) or the SVG skip? Should an SVG logo get a PNG copy made at upload for previews? Answer:
|
||||
- [ ] Should event pages prefer the card background ("banner") over the event photo? Answer:
|
||||
- [ ] **Blog page tabs**: tabs within a blog post, at the top.
|
||||
- [ ] each tab would switch the active display of content and table of contents, there could be some title/intro content above the tabs.
|
||||
|
||||
- [ ] **Gamification synced to Discord**: points, badges or levels on the site, synced to Discord. Linking a profile to Discord is done (Part 2, Accounts); the bot, points and badges are next.
|
||||
- [ ] What earns points: going to events, writing for the blog, volunteering, Discord activity? Answer: all of the above, we could create badges on profiles.
|
||||
- [ ] Where are they shown: on full profiles, a leaderboard, only in Discord? Answer: shown on profiles when logged in, no leaderboard for now, and when using a command in discord. this content would not show on the public bio section of a user when viewing from a people tile.
|
||||
- [ ] Which way does it sync: site → Discord roles, Discord → site, or both? Is there a Discord bot already (or only the reports webhook)? Answer: would like a bot built, for if things in discord update or affect gamification shown on the website. most things will be assigned to users by moderators.
|
||||
- [ ] How do we match a person to their Discord account (they link it themselves)? Answer: they can link it, admins can overwrite and update/set
|
||||
- [ ] **Site version names**: each update gets a name, "The ___ Update", Minecraft style.
|
||||
- [ ] Shown where: the footer next to the version, the changelog, both? Answer: both
|
||||
- [ ] Does the tag suffix become the name (v1.13.2-region-cards → "The Region Cards Update"), or a name of its own? Answer: yeah the tag.
|
||||
- [ ] **Site version names**: in the footers now (Part 2, Page features); still to show them in the changelog once it's built (Pages: Website changelog).
|
||||
|
||||
## Accessibility Features
|
||||
- [ ] Check the mobile fixes on a real phone (or the browser's phone view at 320, 375 and 430px), light and dark: every page, the menu, the hero, the retreat carousel, people tiles and their details, the community map, schedule blocks, the banner.
|
||||
|
|
@ -79,9 +76,6 @@
|
|||
- [ ] A Listen button in the Accessibility panel, or on each page by its title? Answer:
|
||||
|
||||
## Mobile
|
||||
- [ ] **Featured event label on the front page**: where it sits doesn't make sense, at least on mobile.
|
||||
- [ ] Where should it go: above the card, on the card's photo, or dropped on mobile? Answer: droppd on mobile
|
||||
- [ ] Same change on desktop? move above the section on the right displaying the featured event.
|
||||
|
||||
## Page Editing
|
||||
|
||||
|
|
@ -94,17 +88,12 @@
|
|||
- [ ] Which fields: name, photo, email, phone, birthday? Which win when both sides differ? Answer:
|
||||
- [ ] How often: a button in Data, hourly, nightly? Answer: manually only
|
||||
- [ ] Is there a Planning Center API app (personal access token) we can use, and which account owns it? Answer: use the API
|
||||
- [ ] **New Thought young adult directory**: things like authors and TikTok and Instagram creators.
|
||||
- [ ] section in the community page, Directories. tabs with different people lists, we have musicians already.
|
||||
- [ ] Do they agree to be listed, or is it a public list of public accounts? Answer: we add them to the list as admins
|
||||
- Skipped on 2026-10-16 until the fields (and which side wins) are decided.
|
||||
- [ ] **New Thought young adult directory**: the tabs are built (Part 2, Page features). Content: make the People tags (eg. Authors, Creators), tag people, and set Community's Directories section to them.
|
||||
|
||||
## Navigation
|
||||
|
||||
## Tools
|
||||
- [ ] **File conversion**: a simple tool, eg. WebP to JPG.
|
||||
- [ ] Which conversions: images only (WebP, JPG, PNG, HEIC?), or also documents (Word to PDF) and video? Answer: image converson
|
||||
- [ ] In the browser (nothing uploaded, images only), or on the server (more formats)? Answer: images only.
|
||||
- [ ] Also a "Download as JPG" on files in the Media library? [ ] yes
|
||||
|
||||
## Content
|
||||
- [ ] **Newsletter: featured partners and new partnerships**, maybe as a blog post.
|
||||
|
|
@ -133,6 +122,15 @@
|
|||
|
||||
|
||||
# Part 2: Done
|
||||
## Page features (branch `page-features`, on top of `nav-access`, no PR yet; migrations 078 and 079, back up the database before deploying)
|
||||
- [x] **Featured event label** (Mobile): the "Featured event" badge left the headline; from lg up it sits above the event's card it names, and on a phone (the card under the words) it's left out.
|
||||
- [x] **Site version names**: the tag's words after the number are the version's name, `v1.13.2-region-cards` → "The Region Cards Update" (`src/lib/version.ts`), shown with the number in the site's footer and beside the version in the admin's footer and home.
|
||||
- [x] **Image converter** (Tools → Image converter): pictures to JPG, PNG or WebP in the browser (nothing uploaded): pick or drop several, a quality slider for JPG and WebP, download each or all. JPG fills transparency white. Media's images each have a Download as… (JPG, PNG, WebP) doing the same (`src/lib/convertImage.ts`).
|
||||
- [x] **Directory tabs** (migration 078): the People directory preset takes several People tags, a tab each in the order picked (Directory: tags under the section); one tag shows without tabs, reading mode lists every tag. Each section's old single tag became its first.
|
||||
- [x] **Blog post tabs** (migration 079): a Tab block in a post (its text the tab's title) starts a tab holding the blocks after it; blocks before the first Tab are the intro above the tabs. The contents list follows the open tab, a link to a heading in another tab opens it, and Download PDF and reading mode show every tab under its title. Outside a post a Tab block reads as a heading.
|
||||
- [x] **Side nav sun into the footer** (Navigation): the sun is far bigger than the sticky layer that carries it, so once the last section went up past the list it hung over the footer. It now fades out as the list leaves with the last section, and back in on the way up.
|
||||
- [ ] Check in a browser: the side nav sun fading at the end of a long page (2xl screen) and with a tall footer; the featured event hero at phone and desktop width, the footers' version line, converting a PNG with transparency to JPG and a JPG to WebP (and Download as in Media), a Directories section with two tags and with one, a post with an intro and three tabs (contents, keyboard arrows, PDF, reading mode).
|
||||
|
||||
## Page Editing (branch `nav-access`, no PR yet; migration 077)
|
||||
- [x] **Drafts of every record** (migration 077, `docs/drafts.md`): an existing record of any kind (events, people, organizations, blog posts, the front page, the site pages, Navigation, Site settings...) can be saved as a draft instead of going live. One draft per record; anyone who can edit it can save, preview, publish or discard it. Opening a record with a draft opens the draft, saying who saved it and when, and warning when the live record was saved since. Lists mark records with a draft.
|
||||
- [x] **Preview on the real page**: Preview saves the draft and opens the record's page in a new tab with it applied, under an amber "Previewing a draft" bar, for signed-in admin accounts only; anyone else sees the live page. The server answers that tab's reads from a second connection holding the draft in a transaction it rolls back, so no page needed code of its own.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue