Skip to content

Add workflow-carousel component model JSON#250

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/generate-workflow-carousel-json
Draft

Add workflow-carousel component model JSON#250
Copilot wants to merge 2 commits into
mainfrom
copilot/generate-workflow-carousel-json

Conversation

Copilot AI commented Mar 21, 2026

Copy link
Copy Markdown

workflow-carousel had no AEM Universal Editor component model, making it unavailable for authoring. This adds the full model definition following the established block pattern.

blocks/workflow-carousel/_workflow-carousel.json

  • workflow-carousel container — link (aem-content) + linkText (text, default: "View All Steps")
  • workflow-carousel-item child — image (reference/Picture), imageAlt, category, title, link (aem-content), linkText (default: "Explore")
  • Filter restricting children to workflow-carousel-item

Fields map directly to what workflow-carousel.js reads at render time: first row → View All link; subsequent rows → picture, <strong> category, title <p>, and explore <a>.

models/_section.json — Added workflow-carousel to the section component allowlist so it can be placed on pages.

Compiled JSON (component-models.json, component-definition.json, component-filters.json) rebuilt via npm run build:json.

Test URLs:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@aem-code-sync

aem-code-sync Bot commented Mar 21, 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 PSI checks
  • Re-sync branch
Commits

Copilot AI changed the title [WIP] Add workflow carousel JSON generation logic Add workflow-carousel component model JSON Mar 21, 2026
Copilot AI requested a review from prasadE455 March 21, 2026 14:42
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