-
Notifications
You must be signed in to change notification settings - Fork 925
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
Conversation
7c28011
to
71d0a19
Compare
97fe2be
to
e9671b9
Compare
There was a problem hiding this 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 : ""; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const initialVal = p.value?.valid ? p.value.value : ""; | |
const initialVal = p.value?.valid ?? ""; |
more question marks in exchange for being slightly terser 🤷♀️
resolves coder/preview#58