Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Refactor the mode selection #68

Open
rikurauhala opened this issue Jan 10, 2023 · 0 comments
Open

Refactor the mode selection #68

rikurauhala opened this issue Jan 10, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed refactoring Functionality in need of refactoring user interface User interface related

Comments

@rikurauhala
Copy link
Owner

Currently, setting input and output modes to the same type has been blocked by disabling the selection. This is fine but leads to a degraded user experience.

An example: the user loads the application at 0b.is. By default the modes are set to binary as input and decimal as output. What if the user wants to convert decimal to binary instead? The user opens the input mode select and notices that the decimal option is disabled. The user would have to change the output into something else first.

A possible solution would be to stop disabling options. Instead, if input is set to same as the output, the I/O could be swapped. So in the example case above, the user would simply choose decimal, input would be set to decimal and output would be swapped to binary. There could also be a separate button for swapping the systems in the UI itself.

@rikurauhala rikurauhala added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers user interface User interface related refactoring Functionality in need of refactoring labels Jan 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed refactoring Functionality in need of refactoring user interface User interface related
Projects
None yet
Development

No branches or pull requests

1 participant