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

[FeatureRequest] Rewrite the Dev Env Settings Window #199

Open
janosmurai opened this issue Jul 29, 2024 · 0 comments
Open

[FeatureRequest] Rewrite the Dev Env Settings Window #199

janosmurai opened this issue Jul 29, 2024 · 0 comments
Labels
enhancement New feature or request hacktoberfest Issue to help with during Hacktoberfest2023

Comments

@janosmurai
Copy link
Contributor

janosmurai commented Jul 29, 2024

Is your feature request related to a problem? Please describe.
The Dev Env Settings Window utilizes the rich library to create UI elements. These UI elements are implemented in the menu.py file. It's tedious and redundant to implement these components because other Python libraries already provide them.

Describe the solution you'd like
Rewrite the Dev Env Settings Window using Textual. Textual provides textual UI elements.
Everything should look and work the same as now, so the current UI can be used as a reference for validation.

This is how the Dev Env Settings Window looks like:
image

Easiest way to reach this UI is by the dem create command.

The functionality of the window should remain the same, but the sizes of the upper two panels should change. In v0.6.x the upper two panels dynamically changed with the number of items included in them. For the new layout, these two panels should always take all the available sizes regardless of the number of items listed in them.

Describe alternatives you've considered
Alternative libraries might also be used instead of Textual, but please let's discuss your recommendation before you jump into the implementation.

Additional context
The two affected files: menu.py and dev_env_settings_window.py


For axem internal use only:
Jira: https://axem.atlassian.net/browse/DEM-267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Issue to help with during Hacktoberfest2023
Projects
None yet
Development

No branches or pull requests

1 participant