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 version selector #1440

Merged
merged 3 commits into from
Jan 24, 2025
Merged

Improve version selector #1440

merged 3 commits into from
Jan 24, 2025

Conversation

deivid-rodriguez
Copy link
Member

What was the end-user problem that led to this PR?

The problem was that we browsing bundler CLI command documentation, and using the version selector, you'll be redirected to bundle install page if the current command is not present in the chosen version.

That is unexpected to me, since the intention when performing that action is to browse the documentation for the same command, but a different version of Bundler.

What is your fix for the problem, implemented in this PR?

My fix is only include versions in the selector that have the current command, and to not show the selector at all if the current version is the only one defining the command.

@deivid-rodriguez deivid-rodriguez merged commit 4f6e073 into master Jan 24, 2025
3 checks passed
@deivid-rodriguez deivid-rodriguez deleted the improve-version-selector branch January 24, 2025 15:04
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.

2 participants