feat(FN-1932): improve GitHub onboarding messaging and connect CTA
- Replace generic GitHub copy with a clear benefits list for issue, PR, and code-link workflows - Promote the unauthenticated connect experience into a dedicated CTA container with primary button, icon, and inline feedback states - Keep connected users focused on status and disconnect actions while hiding the connect CTA when already authenticated - Expand ModelOnboardingModal tests to cover fallback guidance, benefits rendering, CTA styling, and connected-state behavior
This commit is contained in:
@@ -24109,6 +24109,54 @@ html .column.drag-over * {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
/* === Onboarding GitHub Step === */
|
||||
.onboarding-github-benefits {
|
||||
margin: 0;
|
||||
padding-left: var(--space-xl);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-xs);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.onboarding-github-benefits li {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.onboarding-github-benefits li strong {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.onboarding-github-connect-cta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm);
|
||||
padding: var(--space-md);
|
||||
border: 1px solid color-mix(in srgb, var(--todo) 35%, var(--border));
|
||||
border-left: var(--space-xs) solid var(--todo);
|
||||
border-radius: var(--radius-md);
|
||||
background: color-mix(in srgb, var(--todo) 10%, transparent);
|
||||
}
|
||||
|
||||
.onboarding-github-connect-cta:focus-within {
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
.onboarding-github-connect-cta .btn {
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.onboarding-github-connect-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-sm);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.onboarding-github-connect-feedback {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.model-onboarding-github-optional {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user