-
Notifications
You must be signed in to change notification settings - Fork 788
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
RadioSet
redux
#2372
RadioSet
redux
#2372
Commits on Apr 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b36afd8 - Browse repository at this point
Copy the full SHA b36afd8View commit details -
Turn a RadioSet into a single focus switching site
With this commit a RadioSet becomes something you can tab into and out of with just one keypress; navigation of the buttons within moves to being done with the cursor keys instead. See Textualize#2368.
Configuration menu - View commit details
-
Copy full SHA for 59506f3 - Browse repository at this point
Copy the full SHA 59506f3View commit details -
This is necessary now that a focused RadioSet has acquired a border colour similar to that if a focused Input.
Configuration menu - View commit details
-
Copy full SHA for e16493b - Browse repository at this point
Copy the full SHA e16493bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6a3731 - Browse repository at this point
Copy the full SHA a6a3731View commit details -
Change RadioSet so it's less a container of widgets and more a widget
Initially we went with a RadioSet being a simple container of RadioButtons, with the user navigating the RadioButtons like you would any other set of widgets. This was fine but it became pretty clear pretty quickly that having to tab through a non-trivial collection of buttons in a set to get to the next widget wasn't ideal. This commit, satisfying Textualize#2368, takes over the navigation of the buttons within the container, makes the container itself a focusable widget, and sets up some new bindings to allow a more natural and efficient interaction with the set.
Configuration menu - View commit details
-
Copy full SHA for c45f935 - Browse repository at this point
Copy the full SHA c45f935View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d5db58 - Browse repository at this point
Copy the full SHA 0d5db58View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2c56e7 - Browse repository at this point
Copy the full SHA f2c56e7View commit details -
Force a wee wait when testing the demo
This keeps randomly failing in Windows in CI; multiple subsequent runs gets it going in the end, normally one further fail at a time. So let's throw a wee wait on the end and see if that helps.
Configuration menu - View commit details
-
Copy full SHA for 88926a4 - Browse repository at this point
Copy the full SHA 88926a4View commit details -
Lower the wait for the demo snapshot test
250 worked; so let's try it lower.
Configuration menu - View commit details
-
Copy full SHA for db45287 - Browse repository at this point
Copy the full SHA db45287View commit details -
Demo snapshot test back up to a 250 wait
Waiting 100 resulted in a fail, so let's bump back up again.
Configuration menu - View commit details
-
Copy full SHA for 7a536c7 - Browse repository at this point
Copy the full SHA 7a536c7View commit details