tobimori/streamdeck-toggl

Prompt for Entry Name

stutton opened this issue · 3 comments

Love the plugin, helps a lot with keeping my time straight.

One thing that would be super useful would be the ability for the plugin to prompt for the Entry Name when starting tracking. I have the Stream Deck buttons setup to different categories of time (e.g. Support, Meeting, Training ect...) but I'd like to be able to set a different Entry Name each time I start tracking so I remember what exactly I was working on for that time block.

Thanks!

@tobimori If you can give me some info on how I could do the user prompt on button press, I can probably work on a PR for this!

Awesome plugin btw!

Hey @stutton and @sadortun,

I'd also like this, and have had a look arounde but it doesn't seem like there's any way for a Stream Deck plugin to ask for input like that.

The reply here suggests it may be possible with a C/C# based plugin, but not with a JavaScript one: https://www.reddit.com/r/StreamDeckSDK/comments/f6buy2/dialogprompt_user_for_input/

I can't find any thing which I can see that might make it workable.

If anyone has any ideas, do share :)

Oh, hold on a moment!

I didn't notice it, but after I moved on from looking at this and closed a bunch of other windows - I found this little Prompt window waiting patiently.

It was hidden in the background, which is unhelpful - and uses the old (and soon to be deprecated) prompt() JS method. But might be worth playing with!

image