OpenSpec change add-page-sections: change 1 of the page builder. The design is in docs/superpowers/specs/2026-12-03-page-builder-design.md, approved 2026-12-03, and also covers changes 2 and 3.
What
New block types:
FEATURES: icon cards from a fixed list of 12 Lucide icons.
STEPS: numbered.
TRUST: a strip of short items.
CTA: a band whose button is required.
FEATURES, STEPS and TRUST share one cards list of {icon, title, text}. A field that a type does not use is refused.
Looks: any block except Custom HTML takes a look of DEFAULT, MUTED, DARK or ACCENT.
A non-default look draws the block as a full-width band. ACCENT uses the company colour, and its button flips so it never matches the band.
DEFAULT renders exactly as before, so existing pages do not change.
HERO image: now optional. On a band, an image-less hero takes the band's colours.
Form editor: new "Add …" buttons; the cards can be added (up to 6), removed (down to 2) and moved; a look picker; card errors show at the card's own field.
Labels: 36 new labels in English and Chinese, in sql/01-section-labels.sql and sql/99-rollback.sql. There is no DDL.
Live Playwright check on a local portal from this branch, using a disposable INS page with all six kinds of section, deleted afterwards:
a CTA with no button is refused at "Button label";
the published page at 1280 and 360 px shows the dark hero band, the trust strip, the icon cards, the numbered steps on a light grey band, and the company-colour CTA with its flipped button;
no sideways scroll at 360 px;
the staff preview shows the same bands.
Notes
One existing assertion changed in CmsBlockValidatorTest. A hero with no image is now allowed, as the approved spec says, so the "image required" check now uses an IMAGE_TEXT block, which still needs an image.
In dark mode the Dark band shows light, because the page colours invert. This is recorded in docs/deployment.md.
OpenSpec change `add-page-sections`: change 1 of the page builder. The design is in `docs/superpowers/specs/2026-12-03-page-builder-design.md`, approved 2026-12-03, and also covers changes 2 and 3.
## What
- **New block types:**
- FEATURES: icon cards from a fixed list of 12 Lucide icons.
- STEPS: numbered.
- TRUST: a strip of short items.
- CTA: a band whose button is required.
- FEATURES, STEPS and TRUST share one `cards` list of `{icon, title, text}`. A field that a type does not use is refused.
- **Looks:** any block except Custom HTML takes a look of `DEFAULT`, `MUTED`, `DARK` or `ACCENT`.
- A non-default look draws the block as a full-width band. ACCENT uses the company colour, and its button flips so it never matches the band.
- DEFAULT renders exactly as before, so existing pages do not change.
- **HERO image:** now optional. On a band, an image-less hero takes the band's colours.
- **Form editor:** new "Add …" buttons; the cards can be added (up to 6), removed (down to 2) and moved; a look picker; card errors show at the card's own field.
- **Labels:** 36 new labels in English and Chinese, in `sql/01-section-labels.sql` and `sql/99-rollback.sql`. There is no DDL.
## Verification
- services-counter: 367 tests green.
- Portal: vitest 1905 passed / 1 skipped (exit 0), `tsc` clean, lint 0 errors (4 old warnings).
- Live Playwright check on a local portal from this branch, using a disposable INS page with all six kinds of section, deleted afterwards:
- a CTA with no button is refused at "Button label";
- the published page at 1280 and 360 px shows the dark hero band, the trust strip, the icon cards, the numbered steps on a light grey band, and the company-colour CTA with its flipped button;
- no sideways scroll at 360 px;
- the staff preview shows the same bands.
## Notes
- One existing assertion changed in `CmsBlockValidatorTest`. A hero with no image is now allowed, as the approved spec says, so the "image required" check now uses an IMAGE_TEXT block, which still needs an image.
- In dark mode the Dark band shows light, because the page colours invert. This is recorded in `docs/deployment.md`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
OpenSpec change
add-page-sections: change 1 of the page builder. The design is indocs/superpowers/specs/2026-12-03-page-builder-design.md, approved 2026-12-03, and also covers changes 2 and 3.What
cardslist of{icon, title, text}. A field that a type does not use is refused.DEFAULT,MUTED,DARKorACCENT.sql/01-section-labels.sqlandsql/99-rollback.sql. There is no DDL.Verification
tscclean, lint 0 errors (4 old warnings).Notes
CmsBlockValidatorTest. A hero with no image is now allowed, as the approved spec says, so the "image required" check now uses an IMAGE_TEXT block, which still needs an image.docs/deployment.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs