People blocks and host teams
- A "People" content block: a team's members as people tiles, people
picked one by one as items (each with a title), or both.
content_blocks gains team_id (migration 054 rebuilds it for the
type CHECK); a picked person rides on the item's person_id.
- An organization host can name a team (any organization's) to show
in its place: event_hosts.team_id, carried by v_event_hosts. The
event page reads "Hosted by" the team, linked to its page.
- Admin fields can show on `when: { path, filled: true }`.
- The showcase post has a people block; the past showcase event is
hosted by the region shown as its team.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6f86a113e0
commit
7c7cdaac14
10 changed files with 228 additions and 11 deletions
|
|
@ -150,6 +150,7 @@ export const blocksChild = (ownerKind) => ({
|
|||
"schedule",
|
||||
"table",
|
||||
"cards",
|
||||
"people",
|
||||
],
|
||||
{ required: true },
|
||||
),
|
||||
|
|
@ -158,6 +159,8 @@ export const blocksChild = (ownerKind) => ({
|
|||
url("href"),
|
||||
text("alt"),
|
||||
text("cite"),
|
||||
// People blocks only (054): whose team's tiles to show.
|
||||
text("team_id"),
|
||||
],
|
||||
children: [
|
||||
{
|
||||
|
|
@ -200,5 +203,6 @@ export const hostsChild = {
|
|||
table: "event_hosts",
|
||||
owner: { column: "event_id" },
|
||||
order: "sort_order",
|
||||
columns: [text("org_id"), text("person_id")],
|
||||
// team_id (054): an organization host's team, shown in its place.
|
||||
columns: [text("org_id"), text("person_id"), text("team_id")],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue