wizards: show "previously selected" in-place when navigating back
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
followup to #2148
## Problem
Since #2148 , pickerPrompter.setRecentItem() always sorts the `recentItem` at the top of the list. This is useful when revisiting a new wizard, but perhaps less ergonomic when "navigating back" in an existing wizard.
## Requirements
> Basically I think we should move to the top for persisted items, but leave in-place when the user goes back a step.
Contributor guide
Research direction
Start by tracing pickerPrompter.setRecentItem() and the behavior introduced by #2148. Reproduce navigating back in an existing wizard versus revisiting a new wizard, then verify persisted items move to the top while previously selected items remain in place when going back.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100