Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tty prompt ux #17

Merged
merged 3 commits into from
Dec 21, 2024
Merged

Improve tty prompt ux #17

merged 3 commits into from
Dec 21, 2024

Conversation

apainintheneck
Copy link
Owner

Two meaningful TUI improvements:

  1. Disable the readme and changelog sections when we know we can't fetch that data.
  2. Save last position in the selector.

We can tell that the readme and changelog won't be reachable if
we're unable to find a Github or Gitlab repo using the available
URLs in the gem metadata. In that case, we now disable those
options in the TUI to prevent confusion.

It's still possible that the readme and changelog don't exist
but it is less likely.
@apainintheneck
Copy link
Owner Author

apainintheneck commented Dec 20, 2024

TODO: Update gif demo to show the improved UI.

Will update it before the next release.

@apainintheneck apainintheneck merged commit 47a0e83 into main Dec 21, 2024
8 checks passed
@apainintheneck apainintheneck deleted the improve-tty-prompt-ux branch December 21, 2024 02:31
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.

1 participant