-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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: remove old alerts and configs keys #19261
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19261 +/- ##
==========================================
- Coverage 66.53% 66.29% -0.25%
==========================================
Files 1667 1670 +3
Lines 64361 63952 -409
Branches 6493 6506 +13
==========================================
- Hits 42825 42399 -426
- Misses 19854 19867 +13
- Partials 1682 1686 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@betodealmeida Ephemeral environment spinning up at http://35.166.1.54:8080. Credentials are |
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 love all the red in this PR!
@@ -109,144 +55,3 @@ def log(self, pk: int) -> FlaskResponse: # pylint: disable=unused-argument | |||
class AlertView(BaseAlertReportView): | |||
route_base = "/alert" | |||
class_permission_name = "ReportSchedule" |
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.
Are these 2 classes still being used?
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.
Yes these are used for the dropdown menu alerts and report link
/testenv up FEATURE_ALERT_REPORTS=True |
@betodealmeida Ephemeral environment spinning up at http://54.186.96.55:8080. Credentials are |
/testenv up FEATURE_ALERT_REPORTS=True |
@hughhhh Ephemeral environment spinning up at http://35.87.219.244:8080. Credentials are |
Ephemeral environment shutdown and build artifacts deleted. |
* remove templates * remove models and more templates * remove view * remove tasks * remove views * remove schedule models * remove views, init files config code * remove supersetapp init code * remove tests and clean up pylint errors * remove unused import * pylint * run black * remove deprecate notice
SUMMARY
This pr removes the old deprecated Legacy Alerts Code and Config Keys for the coming 2.0 release.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
User should not be able to use or set old alerts.
ADDITIONAL INFORMATION