Group pages: framed facts, tags for organizations and events, every website and email (migration 070)
- Email buttons went to the link's label, not its URL (splitLinks took the label); they use the URL now, with or without mailto:. - Every website and email row is listed, each with its own label, instead of only the first. - The facts at the top of an organization page sit in a framed card: City, Part of <name> Region, Ministry, Meets, Since, and its tags. - Tags (070): Data -> Tags (Online, In-Person to start) replace the Online checkbox on organizations and events. Ticked records get the Online tag; v_events reads the "online" tag as is_online, so the calendar filter and place lines are unchanged. Tags show on the record's page and on group entries in the Community map list and grid. The map no longer keeps online groups off their state's tile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
07c15ce96d
commit
b55b088e16
23 changed files with 344 additions and 93 deletions
|
|
@ -55,6 +55,7 @@ import { blogPosts } from "./admin-schema/blog.js";
|
|||
import { siteSettings } from "./admin-schema/siteSettings.js";
|
||||
import { newsletters } from "./admin-schema/newsletters.js";
|
||||
import { personTagTypes } from "./admin-schema/personTags.js";
|
||||
import { tags } from "./admin-schema/tags.js";
|
||||
import { contactTypes } from "./admin-schema/contactTypes.js";
|
||||
import { redirects } from "./admin-schema/redirects.js";
|
||||
import {
|
||||
|
|
@ -70,6 +71,7 @@ export const ENTITIES = {
|
|||
events,
|
||||
people,
|
||||
person_tag_types: personTagTypes,
|
||||
tags,
|
||||
contact_types: contactTypes,
|
||||
redirects,
|
||||
teams,
|
||||
|
|
@ -105,6 +107,7 @@ export const OPTION_QUERIES = {
|
|||
events: "SELECT id, title AS label FROM events ORDER BY starts_on DESC, title",
|
||||
people: "SELECT id, display_name AS label FROM people ORDER BY sort_name, display_name",
|
||||
person_tag_types: "SELECT id, name AS label FROM person_tag_types ORDER BY sort_order, name",
|
||||
tags: "SELECT id, name AS label FROM tags ORDER BY sort_order, name",
|
||||
contact_types: "SELECT id, name AS label FROM contact_types ORDER BY sort_order, name",
|
||||
// Link fields with `redirects: true` pick from these (068).
|
||||
redirects: "SELECT id, id || ' (' || target_url || ')' AS label FROM redirects ORDER BY id",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue