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

Interactive mode #4

Open
mattytrentini opened this issue Aug 22, 2024 · 4 comments
Open

Interactive mode #4

mattytrentini opened this issue Aug 22, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@mattytrentini
Copy link
Owner

Would be interesting to use Textual to make an interactive mode where the user can navigate through the list of ports/boards - displaying information about them - and then choose to build/clean etc.

@Josverl
Copy link
Contributor

Josverl commented Aug 22, 2024

You could create a simpler UX using one of the inquirer modules without the need to go full out on textual

@mattytrentini
Copy link
Owner Author

True, and that's a reasonable option! Though an interactive Textual application isn't terribly complex and may be more appealing..?

@Josverl
Copy link
Contributor

Josverl commented Aug 23, 2024

I found Textual a bit more than what I needed, but was already underway with click and rich-click, and just needed an input/choice/dropdown.
I spend way more time on the mpflash TUI than I expected based on my Powershell TUI experience, where a lot of this is part of the language itself.
So did not want to grow the effort any further.

@mattytrentini
Copy link
Owner Author

A start has been made on this, see the interactive-build branch.

It was very straightforward to create a GUI shell application and populate the tree on the left with the list of boards. The harder part will be neatly streaming the CLI build output to a panel...

image

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

No branches or pull requests

2 participants