-
-
Notifications
You must be signed in to change notification settings - Fork 9
added /diagnostics page for installation / org list visibility #241
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
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
| timestamp: new Date().toISOString(), | ||
| appConnected: !!app.github.app, | ||
| totalInstallations: app.github.installations.length, | ||
| installations: [] as any[], |
Check failure
Code scanning / ESLint
Disallow the `any` type Error
| totalInstallations: app.github.installations.length, | ||
| installations: [] as any[], | ||
| errors: [] as string[], | ||
| appInfo: null as any, |
Check failure
Code scanning / ESLint
Disallow the `any` type Error
| suspendedAt: installation.suspended_at, | ||
| suspendedBy: installation.suspended_by, | ||
| hasOctokit: !!octokit, | ||
| octokitTest: null as any, |
Check failure
Code scanning / ESLint
Disallow the `any` type Error
| installationDiag.octokitTest = { | ||
| success: true, | ||
| appName: authTest.data?.name || 'Unknown', | ||
| appOwner: (authTest.data?.owner as any)?.login || 'Unknown', |
Check failure
Code scanning / ESLint
Disallow the `any` type Error
| diagnostics.appInfo = { | ||
| name: appInfo.data?.name || 'Unknown', | ||
| description: appInfo.data?.description || 'No description', | ||
| owner: (appInfo.data?.owner as any)?.login || 'Unknown', |
Check failure
Code scanning / ESLint
Disallow the `any` type Error
| }) | ||
| export class MainDiagnosticsComponent { | ||
| isLoading = false; | ||
| lastResult: any = null; |
Check failure
Code scanning / ESLint
Disallow the `any` type Error
| export class InstallationDiagnosticsDialogComponent { | ||
| constructor( | ||
| public dialogRef: MatDialogRef<InstallationDiagnosticsDialogComponent>, | ||
| @Inject(MAT_DIALOG_DATA) public data: any |
Check failure
Code scanning / ESLint
Disallow the `any` type Error
| } | ||
|
|
||
| validateInstallations() { | ||
| return this.http.get<any>(`${this.apiUrl}/validate-installations`); |
Check failure
Code scanning / ESLint
Disallow the `any` type Error
created Diagnostics page to confirm installation and account list details