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

Improve user interaction within console #11

Open
vipetrul opened this issue Jul 5, 2017 · 3 comments
Open

Improve user interaction within console #11

vipetrul opened this issue Jul 5, 2017 · 3 comments

Comments

@vipetrul
Copy link

vipetrul commented Jul 5, 2017

Suggestion by @christianrondeau :

Show all entries at once

  • y enables it and moves to the next
  • n disables it and moves to the next
  • j and k move down and up in the list
  • Y accepts all
  • N refuses all
  • q quits

Enter sends entries (probably with a confirmation)
That would be something using e.g. ncurses (https://github.com/sushihangover/CursesSharp).

But that's way out of this issue :) My point being that "y" and "enter" makes twice the keypresses...

The "negative" impact of pressing "y" is pretty minimal, so as long as it's clear, I think it's okay.

@vipetrul
Copy link
Author

Are there any other patterns how user interaction is handled in console apps? Just trying to generate more ideas :)

@christianrondeau
Copy link
Owner

Well @dstj might have more feedback, he's the one who actually uses this the most. I personally am a big fan of VIM, but in the end the sole goal is to look at the work logs and synchronize them.

Another thing I wanted (but won't) do, was being able to run the tool is "display only" and "auto-accept". As an example:

jira-toggl-sync --print
jira-toggl-sync -y

That's another feature, but would be an alternative for Y and N.

@vipetrul
Copy link
Author

@christianrondeau , could you expand on your proposal? Currently if config values are established, user doesn't have to provide any additional input to run the application.
@dstj , do you have any thoughts?

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

2 participants