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

TUI Improvements #42

Open
8 tasks done
thw26 opened this issue Jan 10, 2024 · 2 comments · Fixed by #99 · May be fixed by #105
Open
8 tasks done

TUI Improvements #42

thw26 opened this issue Jan 10, 2024 · 2 comments · Fixed by #99 · May be fixed by #105
Labels
cli Related to the CLI, optargs, or TUI enhancement New feature or request interface
Milestone

Comments

@thw26
Copy link
Collaborator

thw26 commented Jan 10, 2024

  • Add Curses file selector in place of curses_get_user_input() for file selections. See Add TUI Status Console #99 and fc44b00
  • Create a tui_screen.TextScreen (see Add TUI Status Console #99) that shows the list of required packages and show them being scanned/checked off when found, as a form of user feedback, during the dependency checking.
  • Add a status line. See Add TUI Status Console #99.
    • When the TUI is running, we cannot see the CLI itself. We may want to consider making the TUI a full app, as in do not return to the CLI but keep the TUI open even on a blank screen, so as not to obscure output.
  • Add a progress bar. See Convert installer to a sequential process with progress tracking #85.
  • Rework using curses.wrapper() for error handling. See 8183588.
  • Add a progress spinner/wheel to show that we are still working and not stalled. See Add TUI Status Console #99.
  • Reduce number of screens by having multiple choices on one??? Probably too painful to generate nicely.
  • Implement doupdate instead of refresh
@thw26 thw26 added enhancement New feature or request alpha cli Related to the CLI, optargs, or TUI interface labels Jan 10, 2024
@thw26 thw26 added this to the Beta milestone Jan 10, 2024
@thw26
Copy link
Collaborator Author

thw26 commented Jan 25, 2024

See these also for a base way of doing file picking:

https://github.com/wong2/pick
https://github.com/anafvana/pickpack
https://inigo.katxi.org/devel/lfm/

@thw26 thw26 added beta and removed alpha labels Jan 31, 2024
@thw26 thw26 modified the milestones: Beta, Release 1.0.0 Jan 31, 2024
@thw26 thw26 removed the beta label Jan 31, 2024
@thw26 thw26 mentioned this issue Feb 23, 2024
@thw26 thw26 mentioned this issue Apr 26, 2024
1 task
@thw26 thw26 linked a pull request May 7, 2024 that will close this issue
1 task
@thw26 thw26 closed this as completed in #99 Jun 1, 2024
@thw26 thw26 linked a pull request Jun 1, 2024 that will close this issue
1 task
@thw26 thw26 reopened this Jun 1, 2024
thw26 pushed a commit that referenced this issue Jun 14, 2024
- Refactor for TUI as class. Fix #42.
- Add a Curses console and waiting screen.
- Add PythonDialog as alternative to Curses
	- Replicates Curses functionality, except Menu + Console
	- Adds a file picker
	- Adds a package install screen
- Implement threading for TUI
- Add download_packages(). Rework code for individual package testing.
- Fix #104
- Various code fixes
thw26 pushed a commit that referenced this issue Jun 15, 2024
- Refactor for TUI as class. Fix #42.
- Add a Curses console and waiting screen.
- Add PythonDialog as alternative to Curses
	- Replicates Curses functionality, except Menu + Console
	- Adds a file picker
	- Adds a package install screen
- Implement threading for TUI
- Add download_packages(). Rework code for individual package testing.
- Fix #104
- Various code fixes
thw26 pushed a commit that referenced this issue Jun 15, 2024
- Refactor for TUI as class. Fix #42.
- Add a Curses console and waiting screen.
- Add PythonDialog as alternative to Curses
	- Replicates Curses functionality, except Menu + Console
	- Adds a file picker
	- Adds a package install screen
- Implement threading for TUI
- Add download_packages(). Rework code for individual package testing.
- Fix #104
- Various code fixes
thw26 pushed a commit that referenced this issue Jun 16, 2024
- Refactor for TUI as class. Fix #42.
- Add a Curses console and waiting screen.
- Add PythonDialog as alternative to Curses
	- Replicates Curses functionality, except Menu + Console
	- Adds a file picker
	- Adds a package install screen
- Implement threading for TUI
- Add download_packages(). Rework code for individual package testing.
- Fix #104
- Various code fixes
thw26 pushed a commit that referenced this issue Jun 16, 2024
- Refactor for TUI as class. Fix #42.
- Add a Curses console and waiting screen.
- Add PythonDialog as alternative to Curses
	- Replicates Curses functionality, except Menu + Console
	- Adds a file picker
	- Adds a package install screen
- Implement threading for TUI
- Add download_packages(). Rework code for individual package testing.
- Fix #104
- Various code fixes
thw26 pushed a commit that referenced this issue Jun 16, 2024
- Refactor for TUI as class. Fix #42.
- Add a Curses console and waiting screen.
- Add PythonDialog as alternative to Curses
	- Check if user has an up-to-date `dialog` package.
	- Replicates Curses functionality, except Menu + Console
	- Adds a file picker
	- Adds a package install screen
- Implement threading for TUI
- Add download_packages(). Rework code for individual package testing.
- Fix #104
- Various code fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the CLI, optargs, or TUI enhancement New feature or request interface
Projects
None yet
1 participant