Repository navigation
Reapply composer base-ref picker with final UX - #21543
Merged
Merged
Conversation
…ser" (#21536) This reverts commit a7b9ea5. Co-authored-by: Vincent <[email protected]>
Contributor
|
This run was cancelled 🛑 The workflow was cancelled before completion. Please check the link below for details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

ELI5
The previous revert removed the New Workspace base-branch picker, so users could not choose a release or feature branch while creating a workspace. This restores the final reviewed UX from PR #17250.
What Changed
The New Workspace composer again separates the workspace name from the branch it is created from. The final UX uses the clearer Create From label, a compact base-ref control, and a Branch from picker for typed names and issue-backed sources. The picker lists branches when opened and preserves the typed workspace name.
This re-applies the complete implementation from #17250, including its state handling, draft persistence, visibility rules, tests, and shared picker move.
Why
The revert removed a requested workflow and discarded the final UX that had already been reviewed and merged. Reapplying the known-good merge keeps the original implementation and tests together instead of rebuilding a partial variant.
Original implementation author: Vincent (@Tkotm76).
Linked Issue
Fixes #15747
Visual Proof
Before: original PR before screenshot
After: final composer screenshot
Testing
The restored commit contains the original focused coverage for picker visibility, naming intent, draft persistence, rendered composer behavior, and empty-query branch listing. A local targeted Vitest run was started after restoration but did not complete in this workspace environment.
Review
Agent skill upstream boundary
Notes
This is an exact re-application of the merged #17250 implementation after #21536 reverted it.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)