Skip to content

Invalid versions#172

Open
tcjr wants to merge 2 commits into
ember-learn:mainfrom
tcjr:disabled-versions
Open

Invalid versions#172
tcjr wants to merge 2 commits into
ember-learn:mainfrom
tcjr:disabled-versions

Conversation

@tcjr

@tcjr tcjr commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

This PR makes two small UI improvements regarding invalid version combinations.

Firstly, when an invalid combination is chosen, the button is disabled but the EsButton component does not change the look at all. This PR grays out buttons when they are disabled. It also puts the text into a well to make it slightly more prominent.

Secondly, any options that are invalid for the To or From selectors are given an "invalid" treatment to discourage the user from selecting those versions. For example, if the From version is 4.5, then any version before and including 4.5 are grayed out in the To selector. Similarly, if the To version is set to 5.5, then anything after 5.5 is grayed out in the From selector.

"Grayed out" here includes a strikethrough, but I'm not fully sold on it.

Here's what the To selector looks like when the From is already set to 4.5.
Screenshot 2026-07-05 at 11 26 17 AM

@netlify

netlify Bot commented Jul 5, 2026

Copy link
Copy Markdown

Deploy Preview for upgrade-guide ready!

Name Link
🔨 Latest commit 419c1bd
🔍 Latest deploy log https://app.netlify.com/projects/upgrade-guide/deploys/6a4a872ce3779800089e15fb
😎 Deploy Preview https://deploy-preview-172--upgrade-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@tcjr tcjr changed the title Disabled versions Invalid versions Jul 5, 2026
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