-
Notifications
You must be signed in to change notification settings - Fork 886
feat(site): Ask for missing template variables in the template editor #7108
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
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.
There are few things that must be improved:
- We need a way to let template author change values while playing with the Editor.
- bug:
null
values sent to the backend side. - bug: autocomplete is unnecessary.
- No test cases in the PR.
site/src/components/TemplateVersionEditor/MissingTemplateVariablesDialog.tsx
Show resolved
Hide resolved
site/src/components/TemplateVersionEditor/MissingTemplateVariablesDialog.tsx
Show resolved
Hide resolved
site/src/pages/TemplateVersionPage/TemplateVersionEditorPage/TemplateVersionEditorPage.tsx
Show resolved
Hide resolved
site/src/components/TemplateVersionEditor/MissingTemplateVariablesDialog.tsx
Show resolved
Hide resolved
site/src/xServices/templateVersionEditor/templateVersionEditorXService.ts
Show resolved
Hide resolved
site/src/xServices/templateVersionEditor/templateVersionEditorXService.ts
Show resolved
Hide resolved
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.
I don't see these comments addressed:
- We need a way to let template author change values while playing with the Editor.
- No test cases in the PR.
If we don't intend to work on these, could you open an issue to address them later?
Demo:
https://user-images.githubusercontent.com/3165839/231559709-766c85ce-2b6c-42e3-9550-575d3aec59bb.mov
Closes #6668