|
52 | 52 | ), |
53 | 53 | ] |
54 | 54 |
|
55 | | -disable_dialog = { |
56 | | - "actionText": "Visit GitHub", |
57 | | - "body": "Before deleting this integration, you must uninstall this" |
58 | | - " integration from GitHub. After uninstalling, your integration will" |
59 | | - " be disabled at which point you can choose to delete this" |
60 | | - " integration.", |
61 | | -} |
62 | | - |
63 | | -removal_dialog = { |
64 | | - "actionText": "Delete", |
65 | | - "body": "Deleting this integration will delete all associated repositories" |
66 | | - " and commit data. This action cannot be undone. Are you sure you" |
67 | | - " want to delete your integration?", |
68 | | -} |
69 | 55 |
|
70 | 56 | metadata = IntegrationMetadata( |
71 | 57 | description=DESCRIPTION.strip(), |
|
74 | 60 | noun=_("Installation"), |
75 | 61 | issue_url="https://github.com/getsentry/sentry/issues/new?title=GitHub%20Integration:%20&labels=Component%3A%20Integrations", |
76 | 62 | source_url="https://github.com/getsentry/sentry/tree/master/src/sentry/integrations/github", |
77 | | - aspects={"disable_dialog": disable_dialog, "removal_dialog": removal_dialog}, |
| 63 | + aspects={}, |
78 | 64 | ) |
79 | 65 |
|
80 | 66 | API_ERRORS = { |
@@ -160,8 +146,6 @@ class GitHubIntegrationProvider(IntegrationProvider): |
160 | 146 | integration_cls = GitHubIntegration |
161 | 147 | features = frozenset([IntegrationFeatures.COMMITS, IntegrationFeatures.ISSUE_BASIC]) |
162 | 148 |
|
163 | | - can_disable = True |
164 | | - |
165 | 149 | setup_dialog_config = {"width": 1030, "height": 1000} |
166 | 150 |
|
167 | 151 | def post_install(self, integration, organization, extra=None): |
|
0 commit comments