Skip to content

Conversation

@nathanthorpe
Copy link
Contributor

@nathanthorpe nathanthorpe commented May 4, 2023

Change to use autocomplete if there are more than 10 projects available.

Also sort the list so it displays alphabetically.

@nathanthorpe nathanthorpe requested review from shanosborne and sminot May 4, 2023 21:33
}
answers = prompt_wrapper(project_prompt)
return answers['project']
project_names = sorted([project.name for project in projects])[:9]
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you have the [:9] in here for testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah...

@nathanthorpe nathanthorpe merged commit a99ea55 into main May 4, 2023
@nathanthorpe nathanthorpe deleted the project_listing_improvement branch May 4, 2023 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants