-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
chore: Migrate /superset/favstar to API v1 #23165
Conversation
bcd20f3
to
4f561f9
Compare
Codecov Report
@@ Coverage Diff @@
## master #23165 +/- ##
==========================================
- Coverage 67.67% 67.59% -0.09%
==========================================
Files 1910 1913 +3
Lines 73710 73906 +196
Branches 7973 8019 +46
==========================================
+ Hits 49882 49954 +72
- Misses 21787 21910 +123
- Partials 2041 2042 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 21 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
ac7c5dd
to
ec469b0
Compare
ec469b0
to
f728b01
Compare
…rate-favstar-to-api-v1
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.
Looks great! Happy to see the old endpoints getting deprecated!
SUMMARY
Continuing the effort on deprecating all /superset/ REST API endpoints
Deprecates
/superset/favstar
, which allowed to fav/unfav/count charts/dashboards for:/api/v1/dashboard/<pk>/favorites/
POST/DELETE (to add/remove fav status)/api/v1/chart/<pk>/favorites/
POST/DELETE (to add/remove fav status)/superset/favstar
to check for favorite status in favor of the/favorite_status
resource within dashboard/chart resource.Also, fixed an issue that would only load the favorite status for a given chart/dashboard in explore once, so, if the user went back and selected a different one, the change didn't reflect.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION