-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
feat(dashboard): Support changing filter bar location #22004
Conversation
Codecov Report
@@ Coverage Diff @@
## master #22004 +/- ##
==========================================
+ Coverage 67.00% 67.03% +0.03%
==========================================
Files 1809 1814 +5
Lines 69295 69475 +180
Branches 7410 7456 +46
==========================================
+ Hits 46430 46576 +146
- Misses 20955 20973 +18
- Partials 1910 1926 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
6ec5a34
to
3eaa53c
Compare
/testenv up |
@rusackas Ephemeral environment spinning up at http://35.164.249.47:8080. Credentials are |
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 all looks good to me! Reviewed code & tested the following locally:
- Setting & resetting position on dashboards with and without position previously saved
- Toggling as admin, non-admin owner, and non-admin non-owner
- Toggling with network error
Thanks!
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.
LGTM!
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
This PR implements support for changing the native filters bar location.
dashboardInfo.filterBarLocation
) and sends a PUT request toapi/v1/dashboard/{id}
endpoint with updatedjson_metadata
.dashboardInfo.filterBarLocation
is populated in dashboard'shydrate
functionBEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Screen.Recording.2022-11-02.at.18.29.50.mov
TESTING INSTRUCTIONS
HORIZONTAL_FILTER_BAR
fffilter_bar_location
in the bodyADDITIONAL INFORMATION