Repository navigation
feat(start): style cards in the consuming page - #1751
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Generally looks good, just one point: |
dicagno
left a comment
There was a problem hiding this comment.
Approved with nits. Please address the above before merging
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
# [1.33.0](v1.32.0...v1.33.0) (2026-11-19) ### Features * **start:** style cards in the consuming page ([#1751](#1751)) ([4341cf0](4341cf0))
|
🎉 This PR is included in version 1.33.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Refs #1637 (cards layout only). Replaces adobe/da-nx#1016.
Summary
Keep the Start-page layout in the DA consumer instead of the generic Nexter cards block, as requested in adobe/da-nx#1016.
styles/start.css, scoped to.nx-cards.start: centered 664px cap, responsive columns, token-based padding, background, rounding and shadow.decorateAreahook only when Start cards are present. Repeated decoration does not add another stylesheet; Tools-only pages do not load it.The authored
start-copycontent, Markus'snx-cardsrenderer and sharednx-action-cardstay unchanged. No new card variants, renderer, content edits, document publishing, Add Site or greeting changes.Ready for review. This PR can merge independently of adobe/da-nx#978. It only adds scoped Start-card styling, conditional stylesheet loading and layout tests; it does not change Nexter or card behavior. The test URLs select
nx=toolsto preview the styling with the cards from adobe/da-nx#978, not because that PR is a merge dependency.Test URLs
Validation
npx --no-install wtr 'test/unit/scripts/{scripts,utils}.test.js' --node-resolve --port=2058nx=toolscomponents.color-scheme.main, CI passed, including 207 Playwright tests and the Lint & Test check.