Skip to content

Allow js/css#498

Merged
rogueg merged 2 commits into
mainfrom
page-frame
Jul 10, 2026
Merged

Allow js/css#498
rogueg merged 2 commits into
mainfrom
page-frame

Conversation

@rogueg

@rogueg rogueg commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

This removes the sanitization we had, as we want to allow js/css on pages.

Locally this should be fine. On graphene cloud, we'll sandbox pages in an iframe, and I simplified the api for binding url params to inputs in order to support that.

rogueg added 2 commits July 7, 2026 10:30
We want to move to a world where pages can do basically anything. #468 added sanitization that we don't really want, so effectively revert it.
I want something lightweight and not svelte depedant. This will also make it easy for us to sandbox pages
@kevinmarr

Copy link
Copy Markdown
Contributor

Prob need an update to base.md

@rogueg

rogueg commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Prob need an update to base.md

Yeah, but I'm not sure if it should be in this PR? I kinda want to play with it more to get a sense of where it works and doesn't before agents start using it more widely.

For example, this allows svelte conditionals and it'd be neat to show and hide bits of the ui depending on if a query returns rows, but at the moment there's no api to use for that. It's not even clear how much we want to encourage that, as it ties graphene md to a particular version of svelte.

@kevinmarr

Copy link
Copy Markdown
Contributor

Ah ok. Fine by me

@rogueg
rogueg merged commit 8b54385 into main Jul 10, 2026
10 checks passed
@rogueg
rogueg deleted the page-frame branch July 10, 2026 22:42
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.

2 participants