-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Canvas: Button API Editor support setting parameters #74637
Conversation
# Conflicts: # public/app/features/canvas/elements/button.tsx # public/app/plugins/panel/canvas/editor/element/APIEditor.tsx
# Conflicts: # public/app/features/canvas/elements/button.tsx # public/app/plugins/panel/canvas/editor/element/APIEditor.tsx
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 think we should consider updating the implementation to something we are comfortable with longer term - for this I think we should consider making how the param is sent in the API request a param by param setting vs global to make this feature less restrictive
public/app/plugins/panel/canvas/editor/element/QueryParamsEditor.tsx
Outdated
Show resolved
Hide resolved
# Conflicts: # public/app/features/canvas/elements/button.tsx # public/app/plugins/panel/canvas/editor/element/APIEditor.tsx
@nmarrs updated as per Luke's suggestion. I'll create a task for future improvements. |
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.
This approach seems reasonable, great job!
Adds parameters support to
APIEditor
.request_params.mov
Test Dashboard:
buttonAPIDashboard.txt
Fixes #74220
Special notes for your reviewer:
#74566 needs to be merged first
Please check that: