Skip to content

feat(login): redesign for multi-forge with segmented forge selector#2855

Merged
setchy merged 6 commits intomainfrom
multi-forge-login-ux
May 8, 2026
Merged

feat(login): redesign for multi-forge with segmented forge selector#2855
setchy merged 6 commits intomainfrom
multi-forge-login-ux

Conversation

@afonsojramos
Copy link
Copy Markdown
Member

@afonsojramos afonsojramos commented May 8, 2026

Summary

Redesigns the login screen now that #2842 introduced multi-forge support, surfacing the forge as the meaningful first choice and demoting login methods to a clearer primary/alternate hierarchy.

  • Segmented forge selector with a sliding pill indicator (useLayoutEffect + measured ref) that animates between tabs. Scales linearly to N forges via the adapter registry.
  • Primary CTA per forge — adapter's variant: 'primary' method (or first registered) becomes "Continue with X"; alternates render as quieter invisible buttons under the primary.
  • Per-forge tagline added as optional ForgeAdapter metadata so each adapter ships its own copy ("github.com & GitHub Enterprise", "Self-hosted Git service") without bleeding into shared UI code.
  • Compact layout that fits inside the 500×400 menubar window — no overflow on any forge configuration.
  • Entrance animations (staggered fade-up + cross-fade on forge change) defined in tailwind.config.mts keyframes; honour prefers-reduced-motion via motion-reduce: variants.
image
Screen.Recording.2026-05-08.at.14.57.08.mp4

@github-actions github-actions Bot added the enhancement New feature or enhancement to existing functionality label May 8, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 8, 2026

Copy link
Copy Markdown
Member

@setchy setchy left a comment

Choose a reason for hiding this comment

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

🚀

@setchy setchy merged commit 64a5e36 into main May 8, 2026
19 checks passed
@setchy setchy deleted the multi-forge-login-ux branch May 8, 2026 18:48
@github-actions github-actions Bot added this to the Release 7.0.0 milestone May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or enhancement to existing functionality

Development

Successfully merging this pull request may close these issues.

2 participants