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
|
|
@ -114,6 +114,9 @@ export type EventAward = {
|
|||
citation?: string | null
|
||||
}
|
||||
|
||||
/** A descriptor tag (070_tags.sql), eg. Online or In-Person. */
|
||||
export type Tag = { id: string; name: string }
|
||||
|
||||
export type EventRecord = {
|
||||
id: string
|
||||
/** Whose gathering it is: an event_scopes id. */
|
||||
|
|
@ -133,7 +136,10 @@ export type EventRecord = {
|
|||
locality?: string | null
|
||||
state_code?: string | null
|
||||
country?: string | null
|
||||
/** The event carries the "online" tag (v_events). */
|
||||
is_online: boolean
|
||||
/** Its tags: on the event's own page only. */
|
||||
tags?: Tag[]
|
||||
org_logo?: string | null
|
||||
event_logo?: string | null
|
||||
color?: string | null
|
||||
|
|
@ -231,13 +237,17 @@ export type OrganizationRecord = {
|
|||
state_code?: string | null
|
||||
country?: string | null
|
||||
location_label?: string | null
|
||||
is_online: boolean
|
||||
tags: Tag[]
|
||||
description: string[]
|
||||
blocks: ContentBlock[]
|
||||
links: Link[]
|
||||
socials: Link[]
|
||||
/* splitLinks in shape.js lifts these out as bare strings: the
|
||||
website's url, the email's label, the instagram handle. */
|
||||
/** Every website and email row (an email's url is the bare address). */
|
||||
websites: Link[]
|
||||
emails: Link[]
|
||||
/* splitLinks in shape.js lifts these out as bare strings, for
|
||||
cards: the first website's url, the first email's address, the
|
||||
instagram handle. */
|
||||
website?: string | null
|
||||
email?: string | null
|
||||
instagram?: string | null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue