Skip to content

Strengthen layout ecosystem bridge contracts#7

Merged
Foscat merged 1 commit into
mainfrom
agent/layout-style-ecosystem-bridge
Jul 8, 2026
Merged

Strengthen layout ecosystem bridge contracts#7
Foscat merged 1 commit into
mainfrom
agent/layout-style-ecosystem-bridge

Conversation

@Foscat

@Foscat Foscat commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Add the ecosystem design spec and bridge smoke coverage for UI Style Kit and Interactive Surface composition.

Rebuild the distributed layout bridge assets so package output matches the authored contract.

Add the ecosystem design spec and bridge smoke coverage for UI Style Kit and Interactive Surface composition.

Rebuild the distributed layout bridge assets so package output matches the authored contract.
@Foscat Foscat self-assigned this Jul 8, 2026
Copilot AI review requested due to automatic review settings July 8, 2026 07:00
@Foscat Foscat added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR strengthens the layout-style-css ecosystem bridge contract with ui-style-kit-css by normalizing root background geometry (without redefining paint) and extending the Playwright demo smoke coverage to assert the expected non-repeating, viewport-filling background behavior. It also adds an ecosystem design spec and regenerates dist/ assets to match the authored contract.

Changes:

  • Add Playwright smoke assertions to ensure demo root background layers stay fixed, do not tile, and size to the viewport.
  • Update the UI Style Kit bridge CSS to enforce non-tiling, fixed, full-viewport background geometry on the .ly-root when UI/theme/mode attributes are present.
  • Add a new ecosystem design spec document and rebuild generated dist/ outputs.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/demo-smoke.test.mjs Adds smoke assertions for root background layer behavior via computed styles.
styles/layout-ui-style-kit-bridge.css Normalizes .ly-root background geometry (attachment/repeat/size/position + min height) under the bridge layer.
docs/superpowers/specs/2026-07-07-interactive-layout-lab-ecosystem-design.md Introduces an ecosystem design spec and expanded reliability contract guidance.
dist/layout-ui-style-kit-bridge.css Regenerated bridge output reflecting the authored background normalization rules.
dist/layout-style-css.min.css Regenerated minified bundle output incorporating the updated bridge layer rules.
dist/layout-style-css.css Regenerated unminified bundle output incorporating the updated bridge layer rules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Foscat Foscat merged commit 164b8ff into main Jul 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants