diff --git a/web/app/common/constants.ts b/web/app/common/constants.ts index e90a5434..f2609c03 100644 --- a/web/app/common/constants.ts +++ b/web/app/common/constants.ts @@ -11,8 +11,8 @@ export enum LocalStorageKeys { AUTH_TOKEN = 'auth_token' } -export type FastlaneStatus = - 'failure'|'success'|'ci_problem'|'pending'|'missing_fastfile'|'installing_xcode'; +export type FastlaneStatus = 'failure'|'success'|'ci_problem'|'pending'| + 'missing_fastfile'|'installing_xcode'; export function fastlaneStatusToEnum(status: FastlaneStatus): BuildStatus { switch (status) { @@ -32,3 +32,9 @@ export function fastlaneStatusToEnum(status: FastlaneStatus): BuildStatus { throw new Error(`Unknown status type ${status}`); } } + +/** + * This is what is defined by GitHub to be their token length, but it can be + * modified. + */ +export const GITHUB_API_TOKEN_LENGTH = 40; diff --git a/web/app/onboard/onboard.component.html b/web/app/onboard/onboard.component.html index 98eaae88..43225deb 100644 --- a/web/app/onboard/onboard.component.html +++ b/web/app/onboard/onboard.component.html @@ -28,7 +28,53 @@
fastlane.ci needs you to set up a CI bot account to update the build status, etc.
+