Skip to content

feat(page-builder): match Control UI styling, proxy pages through ngrok#33

Open
billgetman wants to merge 1 commit into
feature/task-managerfrom
feature/page-builder
Open

feat(page-builder): match Control UI styling, proxy pages through ngrok#33
billgetman wants to merge 1 commit into
feature/task-managerfrom
feature/page-builder

Conversation

@billgetman
Copy link
Copy Markdown
Collaborator

Summary

  • Control UI parity: Updated page-builder CSS to match the Control UI — Space Grotesk font, #12141a background, matching letter-spacing, footer hover effect
  • Iframe isolation for HTML blocks: Game/widget HTML blocks now render inside sandboxed <iframe srcdoc> so their CSS (e.g. body { display: flex; justify-content: center }) can't leak into the page shell and break the header/footer layout
  • Ngrok proxy: Added /pages/* reverse proxy in the FastAPI sidecar (port 8000) so page-builder pages are reachable through the existing ngrok tunnel without a second tunnel on port 18789

Test plan

  • Create a page via the agent (page_create tool) and verify the URL works through ngrok
  • Verify header spans full width and matches Control UI styling (font, colors, spacing)
  • Verify footer matches Control UI (opacity, hover effect, typography)
  • Create an HTML block page (e.g. Snake/Tetris game) and confirm game CSS doesn't break the page header/footer
  • Restart the gateway container and confirm the proxy returns 502 gracefully during startup instead of a stack trace

🤖 Generated with Claude Code

- Update page-builder CSS to match Control UI: Space Grotesk font,
  #12141a background, matching letter-spacing and footer hover effect
- Render HTML blocks in sandboxed iframes so game/widget CSS cannot
  leak into the page shell (fixes header/footer layout breakage)
- Add /pages/* reverse proxy in FastAPI sidecar so pages are reachable
  through the ngrok tunnel on port 8000
- Enable page-builder plugin in Docker gateway config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant