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 CLI interface for each "mode" #9

Closed
ctengel opened this issue Jun 26, 2021 · 11 comments
Closed

Interactive CLI interface for each "mode" #9

ctengel opened this issue Jun 26, 2021 · 11 comments
Assignees
Milestone

Comments

@ctengel
Copy link
Owner

ctengel commented Jun 26, 2021

Split from #3 which is now focused on server-side, and includes the basis for modes/lifecycle

Features

  • Urgent Important ABC Frog - just push a key 0/1/2... Timing
  • Shift key for filter/sort
  • Enter to confirm, escape to cancel

Enablers

This was referenced Jun 26, 2021
@ctengel ctengel added this to the MVP milestone Jul 3, 2021
@ctengel
Copy link
Owner Author

ctengel commented Jul 3, 2021

PyInquirer seems to be not being maintained: CITGuru/PyInquirer#159

cmd2 doesn't seem to be a very good option for our use case

ncurses is painful, see https://github.com/ctengel/pipysplitflap/blob/master/cursessim.py

Other options to look at:

Windows incompatibility and too much dependence on curses/ncurses under the hood is not really an issue for us. Just want to run on Linux (via SSH Win) and not deal with curses internals.

@ctengel
Copy link
Owner Author

ctengel commented Jul 3, 2021

Ideally we have a table view where one can move around and execute operations immediately by doing keystrokes, but it wod be OK to have a scrollable/selectable list.. (checkable) and then run an operation.

Could a basic WebGUI be built on this same premise?

@ctengel
Copy link
Owner Author

ctengel commented Jul 3, 2021

What about an X/Tk version?

@ctengel
Copy link
Owner Author

ctengel commented Jul 3, 2021

Inquirer list or checkbox could work

@ctengel
Copy link
Owner Author

ctengel commented Jul 3, 2021

Prompt toolkit seems just like readline on steroids

Blessed is an improvement on blessings. It's really amazing and probably better than dealing with curses directly for an enhanced level table.

So to start let's try inquirer.

@ctengel
Copy link
Owner Author

ctengel commented Jul 3, 2021

Simple term menu?

@ctengel
Copy link
Owner Author

ctengel commented Jul 3, 2021

@ctengel
Copy link
Owner Author

ctengel commented Jul 4, 2021

@ctengel ctengel self-assigned this Jul 4, 2021
@ctengel
Copy link
Owner Author

ctengel commented Jul 5, 2021

Using inquirer and click...

  • -a, --api url
  • import
  • new
  • triage
  • schedule
  • stage
  • execute
  • print
  • statusrep

ctengel added a commit that referenced this issue Jul 5, 2021
Currently only new and triage modes
Part of #9
ctengel added a commit that referenced this issue Aug 5, 2021
Also some readme and linting
Part of #9
@ctengel
Copy link
Owner Author

ctengel commented Aug 5, 2021

Next steps

@ctengel
Copy link
Owner Author

ctengel commented Aug 5, 2021

Arbitrary actions in each mode

@ctengel ctengel closed this as completed in cb81711 Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant