-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Fix dashboard parameter mapping issues #4211
Conversation
.click(); | ||
}; | ||
|
||
it('has widget mapping as the default', function () { |
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.
The default mapping by API is widget level param (cause api-redash:addWidget doesn't send parameterMapping data), but in the UI (AddWidgetDialog) it's dashboard level param.
Dunno if this is an actual problem or not, but it did confuse me when I read the test.
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.
Well noticed, I've never realized that 😂. I'll rename the test for now.
What type of PR is this? (check all applicable)
Description
Bugs:
null
(even though there was a value in the parameter)To-do:
Related Tickets & Documents
--
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Issue 1
Before
After
Issue 2
Before
After