-
Notifications
You must be signed in to change notification settings - Fork 14k
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: deprecate old API on core superset fave_dashboards #19754
feat: deprecate old API on core superset fave_dashboards #19754
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19754 +/- ##
==========================================
- Coverage 66.51% 66.39% -0.12%
==========================================
Files 1687 1692 +5
Lines 64620 64779 +159
Branches 6646 6661 +15
==========================================
+ Hits 42980 43010 +30
- Misses 19940 20069 +129
Partials 1700 1700
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.
Yey. ccing @rusackas for any feedback on the layout changes
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
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!
* feat: deprecate old API on core superset fave_dashboards * fix js lint * remove unused type
* feat: deprecate old API on core superset fave_dashboards * fix js lint * remove unused type
SUMMARY
Following plan to gradually deprecate "REST" endpoints on
/superset
namespace.Deprecates
/superset//fave_dashboards/<int:user_id>/
. Proposed removal on Superset 3.0Deprecates
/fave_dashboards_by_username/<username>/
. Proposed removal on Superset 3.0Replaced by an existing endpoint /api/v1/dashboard/, includes the necessary frontend migration.
NOTE: The use of the generic get list endpoint will not fetch the date when the dashboard was favorited, this would force us to create a new endpoint specifically for this query or always enforce N+1 queries on the get list (not an option).
I've Replaced this date by the humanised version of the dashboard creation date.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION