Skip to content

feat(aicoc): add Read blog CTA to session header#100

Open
dosteinacher wants to merge 1 commit into
mainfrom
feat/aicoc-blog-cta
Open

feat(aicoc): add Read blog CTA to session header#100
dosteinacher wants to merge 1 commit into
mainfrom
feat/aicoc-blog-cta

Conversation

@dosteinacher

@dosteinacher dosteinacher commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Surfaces a fourth CTA in the AI CoC session hero — Read blog — pointing at the matching post on culture-tecture.adobe.com (or re-think.adobe.com). For sessions where the presenter also wrote the canonical write-up, this turns the hub from a recording-only archive into a launchpad for both formats.

  • New blog metadata field, indexed by helix-query.yaml into /en/aicoc-index.json.
  • buildBlogButton(url) in session-header.js renders only when the cell is populated (same pattern as Recording / Deck / Slack — no per-doc code change).
  • New icons/book-open.svg.
  • CTA order: Watch recording → Slides → Read blog → Slack.

Required follow-up in SharePoint

Per-session: add a Blog row to the Metadata table (between Deck and Slack), value = the bare blog URL. 8 high-confidence matches identified from #ai-community-of-communities recap mining — list will be applied to the local docx files in a separate pass.

Test plan

  • On a session page with a blog cell, the "Read blog" button appears between "Slides" and Slack
  • On a session page without a blog cell, no button appears (no regression vs. today)
  • Button opens the blog URL in a new tab
  • Light + dark mode both readable

🤖 Generated with Claude Code

Preview

Without re-uploading docs: the button only renders when a session page has a blog metadata cell. Existing published pages won't have that yet, so the preview branch alone will look identical to production.

To actually see the button: re-upload one of the patched docs in ~/Downloads/aicocdocs/ (the 11 with a populated Blog cell) to SharePoint, preview/publish that one page, then visit it on this branch:

Branch preview host: feat-aicoc-blog-cta--inside-aem--adobe.aem.page

No-regression check (no blog cell): any session without a Blog row should look exactly like main. Pick any session not in the 11-doc list above.

Some AI CoC sessions have a companion blog post on culture-tecture.adobe.com
(written by the same presenter, often the canonical write-up of what was
demoed live). Surfacing that as a first-class CTA next to Watch / Slides /
Slack means readers can jump straight to the polished article.

Wire-up follows the existing pattern: new `blog` metadata field → indexed
by helix-query → read in session-header.js → optional button (renders only
when populated, same as recording/deck/slack).

- Added `icons/book-open.svg` for the button icon.
- `buildBlogButton(url)` mirrors `buildDeckButton` shape; secondary style.
- CTA order is Watch (primary) → Slides → Read blog → Slack.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@aem-code-sync

aem-code-sync Bot commented Jun 9, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

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.

1 participant