-
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
feat(alerts/reports): delete and bulk delete actions #12053
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12053 +/- ##
==========================================
- Coverage 63.81% 63.76% -0.06%
==========================================
Files 956 956
Lines 46845 46945 +100
Branches 4590 4597 +7
==========================================
+ Hits 29895 29933 +38
- Misses 16766 16828 +62
Partials 184 184
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
2a67b09
to
67b436b
Compare
@@ -66,7 +66,7 @@ | |||
"@data-ui/sparkline": "^0.0.84", | |||
"@emotion/core": "^10.0.35", | |||
"@superset-ui/chart-controls": "^0.15.13", | |||
"@superset-ui/core": "^0.15.13", | |||
"@superset-ui/core": "^0.15.17", |
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.
update to take advantage of new rison
requestType
for makeApi
67b436b
to
74336d1
Compare
@@ -52,7 +52,7 @@ export type AlertObject = { | |||
database?: MetaObject; | |||
description?: string; | |||
grace_period?: number; | |||
id?: number; | |||
id: number; |
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.
Does this not throw a ts error when creating alerts?
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.
I updated the state type to be Partial<AlertObject>
so that we can store incomplete AlertObjects in state.
SUMMARY
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
After:
TEST PLAN
ADDITIONAL INFORMATION