Skip to content

KiDraht opens inside RediOnFlow (BauFlow and BaumdienstFlow) - #26

Open
IamRedi wants to merge 3 commits into
mainfrom
feat/kidraht-in-app
Open

IamRedi wants to merge 3 commits into
mainfrom
feat/kidraht-in-app

Conversation

@IamRedi

@IamRedi IamRedi commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Requested by Redi

KiDraht now opens inside RediOnFlow (BauFlow and BaumdienstFlow) instead of in a separate tab.

  • Button: a teal "KiDraht" pill next to the logo in the top bar (icon only on phones). It replaces the small round icon in the demo.
  • In-app page: /demo/kidraht and /workzone/kidraht show KiDraht in a full-height frame, with an "Open in new tab" link.
  • Real Workzone (BauFlow and BaumdienstFlow): the button shows for signed-in admins and workers once KIDRAHT_URL (https) is set for that company.
  • Demo: BaumdienstFlow keeps KIDRAHT_DEMO_URL with its Musterstadt default. BauFlow shows the button only when KIDRAHT_DEMO_URL is set on that service, so it never links to the tree-care company.
  • CSP (report-only): adds frame-src 'self' https: so the frame doesn't generate reports.
  • Translations: demo.kidrahtNewTab in DE, EN, IT, PL, RO, SQ.
  • Tests: unit test for kidrahtAppUrl. I couldn't install dependencies locally (disk full), so typecheck, build and E2E run in CI.

KiDraht must allow this origin via KIDRAHT_FRAME_ANCESTORS.

🤖 Generated with Claude Code

…-app page (demo and Workzone via KIDRAHT_URL)
@IamRedi IamRedi self-assigned this Nov 2, 2026
IamRedi added a commit that referenced this pull request Nov 2, 2026
…ton opens /demo/kidraht and /workzone/kidraht, site card keeps the full-screen panel
@IamRedi IamRedi changed the title KiDraht opens inside BaumdienstFlow KiDraht opens inside RediOnFlow (BauFlow and BaumdienstFlow) Nov 2, 2026
IamRedi added a commit that referenced this pull request Nov 2, 2026

This branch has not been deployed

No deployments
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