Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions config-ui/src/routes/onboard/step-2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,23 @@ export const Step2 = () => {
return null;
}

const platformNames: Record<string, string> = {
github: 'GitHub',
gitlab: 'GitLab',
azuredevops: 'Azure DevOps',
}

return (
<>
<S.StepContent>
{['github', 'gitlab', 'azuredevops'].includes(plugin) && (
{platformNames[plugin] && (
<div className="content">
<ConnectionToken
type="create"
label="Personal Access Token"
subLabel={
<p>
Create a personal access token in GitHub. For self-managed {config.name}, please skip the onboarding
Create a personal access token in {platformNames[plugin]}. For self-managed {config.name}, please skip the onboarding
and configure via <Link to={PATHS.CONNECTIONS()}>Data Connections</Link>.
</p>
}
Expand Down
Loading