Skip to content

Use URL params to determine if a creator is embedded. - #1685

Merged
clpetersonucf merged 1 commit into
ucfopen:dev/11.0.1from
FrenjaminBanklin:issue/1673-urlparam-creator-embed
Mar 30, 2026
Merged

Use URL params to determine if a creator is embedded.#1685
clpetersonucf merged 1 commit into
ucfopen:dev/11.0.1from
FrenjaminBanklin:issue/1673-urlparam-creator-embed

Conversation

@FrenjaminBanklin

Copy link
Copy Markdown
Contributor

Closes #1673.

Removes window location parsing logic from WidgetCreatorPage component in favor of using the '?is_embedded' URL parameter to determine whether a creator is embedded.

Adds new prop to WidgetCreator component to track whether a creator is embedded and use this to control the widget preview URL.

Currently this is probably only ever going to be used by the MWDK to omit unnecessary header components (see ucfopen/Materia-Widget-Dev-Kit#149).

…Page component in favor of using the '?is_embedded' URL paramater to determine whether a creator is embedded. Added new prop to WidgetCreator component to track whether a creator is embedded and use this to control the widget preview URL.

@clpetersonucf clpetersonucf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sensible changes, LGTM.

@clpetersonucf
clpetersonucf merged commit f88d520 into ucfopen:dev/11.0.1 Mar 30, 2026
2 checks passed
@clpetersonucf clpetersonucf mentioned this pull request Apr 29, 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.

2 participants