Skip to content

Allow the guide page to be rendered in 'embedded' mode.#1769

Open
FrenjaminBanklin wants to merge 2 commits into
ucfopen:dev/11.1.0from
FrenjaminBanklin:issue/1768-embedded-guide-page
Open

Allow the guide page to be rendered in 'embedded' mode.#1769
FrenjaminBanklin wants to merge 2 commits into
ucfopen:dev/11.1.0from
FrenjaminBanklin:issue/1768-embedded-guide-page

Conversation

@FrenjaminBanklin

@FrenjaminBanklin FrenjaminBanklin commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Closes #1768.

Adds a check for window.IS_EMBEDDED does not render the header if it's set to true.

See ucfopen/Materia-Widget-Dev-Kit#166.

@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.

waitForWindow only resolves when all the props passed in are present in the window object OR 10 seconds has elapsed. This appears to defer rendering of the guide page in Materia proper for 10 seconds, since IS_EMBEDDED is not present. Should be as easy as passing "IS_EMBEDDED": False in the WidgetGuideView as an additional js global.

…ide page loads don't take ten seconds to resolve.
@FrenjaminBanklin

Copy link
Copy Markdown
Contributor Author

Somehow didn't occur to me to make sure the new thing didn't ruin anything in Materia itself on top of working properly in the MWDK.

Fix was as easy as suggested, though. Good call.

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