-
Notifications
You must be signed in to change notification settings - Fork 14.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
Migrate dashboard positions data from v1 to v2 format #5463
Migrate dashboard positions data from v1 to v2 format #5463
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5463 +/- ##
=======================================
Coverage 59.11% 59.11%
=======================================
Files 372 372
Lines 23751 23751
Branches 2758 2758
=======================================
Hits 14041 14041
Misses 9695 9695
Partials 15 15 Continue to review full report at Codecov.
|
9ae941c
to
b37a3ab
Compare
this lgtm for the conversion, could one of @mistercrunch @john-bodley @michellethomas or @timifasubaa PTAL at the python / migration specifics? |
I'd recommend adding a note in |
812f692
to
c893de6
Compare
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.
sounds like this all executed successfully in staging with @john-bodley 's migration fix in, so approving this one too 🔥
c893de6
to
06ff600
Compare
* Migrate dashboard positions data from v1 to v2 format * UPDATING.md * rebase onto master (cherry picked from commit fd2d4b0)
* Migrate dashboard positions data from v1 to v2 format * UPDATING.md * rebase onto master
This PR blocks #5418.
This work was implemented in frontend js, we show dashboard v2 in preview mode, but not save the converted format to dashboard table.
Here we provide automatic migration script, to convert all not converted dashboard position_json data from V1 array to V2 nested layout.
js code is here:
https://github.com/apache/incubator-superset/blob/master/superset/assets/src/dashboard/util/dashboardLayoutConverter.js
@john-bodley @mistercrunch @timifasubaa @michellethomas @williaster