Skip to content
This repository was archived by the owner on Oct 23, 2026. It is now read-only.

fix(init): sort and align selector options - #1387

Merged
betegon merged 2 commits into
mainfrom
fix/init-selector-order-alignment
Aug 7, 2026
Merged

betegon merged 2 commits into
mainfrom
fix/init-selector-order-alignment

Conversation

@betegon

@betegon betegon commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

Sort organization and eligible team options before showing them, so interactive prompts and --yes use the same deterministic order.

Centered Ink selects now render as one bounded block with stable cursor, label, and hint columns. Long display names no longer shift individual rows, while the existing narrow-terminal clipping behavior stays intact.

Test plan

  • pnpm exec vitest run test/lib/init/preflight.test.ts test/lib/init/ui/ink-app.snapshot.test.tsx test/lib/init/ui/ink-app.property.test.ts — 62 tests passed
  • pnpm run lint — 974 files checked
  • pnpm run generate:schema && pnpm run typecheck

@betegon
betegon marked this pull request as ready for review August 7, 2026 12:08
@betegon
betegon merged commit 23e1e1f into main Aug 7, 2026
30 checks passed
@betegon
betegon deleted the fix/init-selector-order-alignment branch August 7, 2026 12:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant