feat(aicoc): add Read blog CTA to session header#100
Open
dosteinacher wants to merge 1 commit into
Open
Conversation
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>
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
blogmetadata field, indexed byhelix-query.yamlinto/en/aicoc-index.json.buildBlogButton(url)insession-header.jsrenders only when the cell is populated (same pattern as Recording / Deck / Slack — no per-doc code change).icons/book-open.svg.Required follow-up in SharePoint
Per-session: add a
Blogrow to the Metadata table (between Deck and Slack), value = the bare blog URL. 8 high-confidence matches identified from#ai-community-of-communitiesrecap mining — list will be applied to the local docx files in a separate pass.Test plan
blogcell, the "Read blog" button appears between "Slides" and Slackblogcell, no button appears (no regression vs. today)🤖 Generated with Claude Code
Preview
Without re-uploading docs: the button only renders when a session page has a
blogmetadata 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.pageNo-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.