-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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): rename native filter configuration property #13769
fix(dashboard): rename native filter configuration property #13769
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13769 +/- ##
==========================================
- Coverage 77.39% 77.32% -0.08%
==========================================
Files 933 933
Lines 47186 47186
Branches 5872 5872
==========================================
- Hits 36521 36486 -35
- Misses 10523 10558 +35
Partials 142 142
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
@villebro I'm not sure if this migration was correct as it seems like the frontend defaults the cc: @michellethomas |
SUMMARY
The PR #13625 introduced a regression in the native filters feature, causing existing filter configurations to not show up on the Filter Tab and making it impossible to save affected dashboards. The reason for the regression was that the
filter_configuration
property in the dashboard'sjson_metadata
object that contains all native filters had changed name tonative_filter_configuration
.This PR migrates all existing dashboards that include native filter configurations from using the now deprecated
filter_configuration
to the newnative_filter_configuration
. Dashboards that were already using the new name are unaffected. The migration also limits the migration to dashboards that have native filter configurations, making this migration fairly light weight (won't touch any rows if the native filters feature was not activated).TEST PLAN
filter_configuration
property to use the newnative_filter_configuration
property. Also made sure the dashboards loaded the filter configurations correctly, and were able to to save updated metadata.filter_configuration
property. Also reran the up migration, and made sure dashboards with native filters were working again.ADDITIONAL INFORMATION