Skip to content

Drop art supplies built-in callout; tweak default callout copy - #2033

Open
maebeale wants to merge 8 commits into
mainfrom
maebeale/callout-subtitle-defaults
Open

Drop art supplies built-in callout; tweak default callout copy#2033
maebeale wants to merge 8 commits into
mainfrom
maebeale/callout-subtitle-defaults

Conversation

@maebeale

@maebeale maebeale commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 copy tweaks, retiring one built-in (no migration), and a one-line handouts page-text fix

What is the goal of this PR and why is this important?

  • Retire "Art supplies & what to bring" as a built-in callout — admins who want it can author it as a custom callout instead.
  • Update default subtitles: Handouts → "Worksheets and resources for the event"; Videoconference → "Join details and add to calendar links".
  • Fix the Handouts page dropping the admin's "Callout page text" — it now renders that text (with styled <details> dropdowns) like every other callout page.

How did you approach the change?

  • Dropped art_supplies from the seed definitions so new/edited events no longer materialize it; kept it recognized in BUILTIN_KEYS/CONTENT_BUILTIN_KEYS (retired legacy key) so any already-materialized row still validates and renders as content — no data migration needed.
  • Handouts: set @builtin_intro in the action so the shared _callout_page layout renders the row's description through _rich_content (the same styled-toggle path all other pages use). No double-rendered resource cards.
  • Dev seed now authors the flagship's art-supplies page as a custom callout.

Anything else to add?

  • Existing events that already have an art_supplies row keep it as an editable content callout; setting its builtin_key to NULL later (manual prod edit) turns it into a normal deletable custom callout.

The "Art supplies & what to bring" card is no longer a built-in callout —
admins who want it can author it as a custom callout. A data migration
heals existing rows: used ones (published, with copy, or with linked
resources) become plain custom callouts so their content survives; the
untouched hidden defaults are dropped.

Also updates two default subtitles: Handouts now reads "…for the event"
(not "…the training") and Videoconference reads "Join link and add to
calendar links".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 02:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@maebeale
maebeale marked this pull request as ready for review July 31, 2026 02:41
Keep art_supplies recognized in BUILTIN_KEYS/CONTENT_BUILTIN_KEYS so any
row already materialized on an existing event still validates on save and
still renders as a content callout — it's just no longer in the seed
definitions, so new events never get it. This drops the need for the data
migration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 02:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 11:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

The dedicated handouts page was the only built-in callout page that
dropped the admin's "Callout page text" — it rendered only the resource
cards. Set @builtin_intro so the shared _callout_page layout renders the
row's description through _rich_content, giving its <details> dropdowns
the same styled-toggle treatment as every other callout page.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 11:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

The FAQ default already hydrates onto the materialized row (seeded from
BuiltinCallouts.faq_html), so the render-time `|| faq_html` fallback made
FAQ the one callout an admin couldn't blank — clearing the text silently
re-showed the default. Remove it so a blanked description shows blank,
consistent with every other callout; the default still lives on the row
and "Restore default" re-hydrates it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 11:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 11:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 11:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 31, 2026 11:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants