Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: create experimental template embed page for dynamic params #17999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 23, 2025

Conversation

jaaydenh
Copy link
Contributor

@jaaydenh jaaydenh commented May 22, 2025

resolves coder/preview#58

@jaaydenh jaaydenh self-assigned this May 22, 2025
@github-actions github-actions bot added the stale This issue is like stale bread. label May 30, 2025
@github-actions github-actions bot closed this Jun 2, 2025
@jaaydenh jaaydenh reopened this Jun 2, 2025
@github-actions github-actions bot removed the stale This issue is like stale bread. label Jun 3, 2025
@github-actions github-actions bot added the stale This issue is like stale bread. label Jun 11, 2025
@github-actions github-actions bot closed this Jun 15, 2025
@jaaydenh jaaydenh reopened this Jun 15, 2025
@github-actions github-actions bot removed the stale This issue is like stale bread. label Jun 16, 2025
@jaaydenh jaaydenh force-pushed the jaaydenh/template-embed-page branch from 7c28011 to 71d0a19 Compare June 18, 2025 17:47
@jaaydenh jaaydenh marked this pull request as ready for review June 20, 2025 16:35
@jaaydenh jaaydenh force-pushed the jaaydenh/template-embed-page branch from 97fe2be to e9671b9 Compare June 23, 2025 17:21
@jaaydenh jaaydenh requested a review from aslilac June 23, 2025 17:22
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

@BrunoQuaresma might have more context/thoughts on this page than me if you have time to get a review from him, but it all looks reasonable to me

if (parameters) {
const serverParamValues: Record<string, string> = {};
for (const p of parameters) {
const initialVal = p.value?.valid ? p.value.value : "";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const initialVal = p.value?.valid ? p.value.value : "";
const initialVal = p.value?.valid ?? "";

more question marks in exchange for being slightly terser 🤷‍♀️

@jaaydenh jaaydenh merged commit 6877142 into main Jun 23, 2025
33 checks passed
@jaaydenh jaaydenh deleted the jaaydenh/template-embed-page branch June 23, 2025 19:47
@github-actions github-actions bot locked and limited conversation to collaborators Jun 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update TemplateEmbedPage for Parameters
2 participants