Skip to content

fix(onboarding): Mobile style tweaks for SCM onboarding#115426

Open
jaydgoss wants to merge 6 commits into
masterfrom
jaygoss/scm-feature-card-mobile-styling
Open

fix(onboarding): Mobile style tweaks for SCM onboarding#115426
jaydgoss wants to merge 6 commits into
masterfrom
jaygoss/scm-feature-card-mobile-styling

Conversation

@jaydgoss
Copy link
Copy Markdown
Member

@jaydgoss jaydgoss commented May 12, 2026

Summary

Tightens up several SCM onboarding screens on narrow viewports:

  • Restructure the SCM feature card into a 3-column grid (icon, label, toggle) with the volume tag and switch sharing the toggle cell and the description spanning the columns beneath the label and toggle. The previous layout split the row into a 2-column grid plus a sibling flex, which overflowed and wrapped awkwardly.
  • Allow the "Continue without a repo" skip button label to truncate with an ellipsis instead of pushing the action row off the screen.
  • Drop the responsive gap override on the info cards grid for consistency.
before after
Screenshot 2026-05-12 at 5 09 21 PM Screenshot 2026-05-12 at 5 22 33 PM
Screenshot 2026-05-12 at 5 11 11 PM Screenshot 2026-05-12 at 4 58 36 PM

Unify the SCM feature card into a single 4-column grid (icon, label, volume, switch) with the description spanning the lower row, so the volume tag and switch no longer overflow on narrow viewports. Drop the responsive gap override on the info cards grid for consistency.
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 12, 2026
@jaydgoss jaydgoss changed the title style(onboarding): Improve mobile layout for SCM feature cards fix(onboarding): Improve mobile layout for SCM feature cards May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.50%

The "Continue without a repo" skip button on the SCM connect step pushed the action row to overflow on narrow viewports. Wrap the label in an ellipsis-truncating Text element and allow the surrounding flex and the button itself to shrink below their natural content size so the row stays within the viewport.
Tooltip wraps non-DOM children in an inline span, which baseline-aligns inside the grid cell and visually offsets the volume tag and switch from the icon and label. Swap the surrounding Container for a Flex with align center so the Tooltip wrapper is vertically centered within its cell.
Span the description across the full remaining grid width using `column="2 / -1"` so it fills the row beneath the label, volume, and switch instead of stopping at column 4.
@jaydgoss jaydgoss changed the title fix(onboarding): Improve mobile layout for SCM feature cards fix(onboarding): Mobile style tweaks for SCM onboarding May 12, 2026
@jaydgoss jaydgoss marked this pull request as ready for review May 12, 2026 22:16
@jaydgoss jaydgoss requested a review from a team as a code owner May 12, 2026 22:16
@jaydgoss jaydgoss requested a review from a team May 12, 2026 22:16
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 56ad4d1. Configure here.

Comment thread static/app/views/onboarding/scmConnect.tsx Outdated
…gle column

Merge the volume tag and switch into a shared toggle cell so the grid drops from 4 columns to 3 and the description naturally spans beneath the label and toggle.
Text defaults to variant=primary which sets color from `tokens.content.primary`, overriding the transparent button's `tokens.interactive.transparent.neutral.content.primary`. Set `variant=inherit` so the label keeps the button's color across states.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant