-
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
fix: consistent left margin for dashboard layout. Fixes #13863 #13884
Conversation
/testenv up |
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.
tested locally with FF on and off. everything works as expected. thanks for the fix!!
Codecov Report
@@ Coverage Diff @@
## fix/13863 #13884 +/- ##
=============================================
- Coverage 77.55% 77.33% -0.23%
=============================================
Files 935 935
Lines 47301 47305 +4
Branches 5907 5913 +6
=============================================
- Hits 36685 36581 -104
- Misses 10472 10580 +108
Partials 144 144
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@junlincc Ephemeral environment spinning up at http://54.202.59.139: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.
LGTM
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
A recent PR, #13723, made some changes around how the sidebar works for the native filter features. This looks great when the feature flag is on, but when the feature flag is off, we lose the left margin, as reported in #13863.
This PR makes sure the styling is consistent, by considering feature flag setting, and only toggling off
dashboardFiltersOpen
(which sets the margin) when the feature is indeed enabled.@simcha90 if you have a more elegant way to tackle this, or ideas for sufficient testing to cover this possible regression, please let me know your thoughts.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE (
DASHBOARD_NATIVE_FILTERS
set to False):AFTER (
DASHBOARD_NATIVE_FILTERS
set to False):AFTER (
DASHBOARD_NATIVE_FILTERS
set to True):TEST PLAN
Verified that the margin is restored, in view and edit mode, with the
DASHBOARD_NATIVE_FILTERS
flag on and off.ADDITIONAL INFORMATION