Skip to content

Feat/iframe modularization - #273

Closed
F3l1x1vo wants to merge 4 commits into
mainfrom
feat/iframe-modularization
Closed

Feat/iframe modularization#273
F3l1x1vo wants to merge 4 commits into
mainfrom
feat/iframe-modularization

Conversation

@F3l1x1vo

Copy link
Copy Markdown
Collaborator

This PR allows for exporting Stackable Cockpit inbuilt applications like the Trino SQL Editor and the Storage File Browser as an iframe element for use in other frontends.

Important Note: As noted in TECH_DEBT.md, there are specifics to be changed when this feature goes into production. You can already see the iframe integration working in static/embed-demo.html (a static webpage running in the same session as the rest of the Stackable Cockpit frontend) but it would need changes to work outside of that, again which can be found in TECH_DEBT.md. We will have to remove this static webpage when we are ready to merge this PR.


Closes #269

@F3l1x1vo
F3l1x1vo requested a review from dklOrdix July 30, 2026 10:15
@F3l1x1vo F3l1x1vo self-assigned this Jul 30, 2026
F3l1x1vo added 2 commits July 30, 2026 13:43
Previously the trino and storage browser applications were duplicated
under /embed/* routes just to hide the app shell. Instead, a single
`?embed=1` query parameter now hides the sidebar and header via the
(app) layout, keeping the embed mode sticky across navigations.

The /embed route tree, the storage route-context indirection and the
trino helper duplication are removed; the embed response headers are
now keyed on the query parameter instead of the path prefix.
@F3l1x1vo F3l1x1vo mentioned this pull request Aug 31, 2026
14 tasks
@F3l1x1vo

F3l1x1vo commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator Author

Superseeded by #278 and no longer maintained.

@F3l1x1vo F3l1x1vo closed this Sep 3, 2026
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.

iframe Modularization

1 participant