-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alphabetize the Team list for easier selection (#59)
* Alphabetize the Team list for easier selection Problem ------- If I run `bin/packs` and create a new pack, when I get to the team list it's in what looks like a random order. ```bash ❯ bin/packs Hello! What would you like to do? Create a new pack What should the name of your pack be? packs/whatever Please select a team owner (Press ↑/↓/←/→ arrow to move, Enter to select and letters to filter) ‣ Team 5 Apples Team Search Other Team ``` We do have autocomplete with typing but you can also scroll through by arrow keys. If you use the latter method, it might be nice to have these in order. Solution -------- Sort the list of teams by name before sending to the prompt. ```bash ❯ bin/packs Hello! What would you like to do? Create a new pack What should the name of your pack be? packs/whatever Please select a team owner (Press ↑/↓/←/→ arrow to move, Enter to select and letters to filter) ‣ Apples Team Other Team Search Team 5 ``` * bump version to 0.70.0 * bundle install
- Loading branch information
1 parent
92db6c3
commit a159f17
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Gem::Specification.new do |spec| | ||
spec.name = 'use_packwerk' | ||
spec.version = '0.69.0' | ||
spec.version = '0.70.0' | ||
spec.authors = ['Gusto Engineers'] | ||
spec.email = ['[email protected]'] | ||
|
||
|