christianrondeau / jira-toggl-sync

A simple tool to synchronize Toggl time entries into Atlassian JIRA's work log entries
9 stars 6 forks source link

Improve user interaction within console #11

Open vipetrul opened 7 years ago

vipetrul commented 7 years ago

Suggestion by @christianrondeau :

Show all entries at once

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 commented 7 years ago

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

christianrondeau commented 7 years ago

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 commented 7 years ago

@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?