Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Quick add shortcut key sequence #83

Closed
awmottaz opened this issue May 26, 2020 · 2 comments · Fixed by #84
Closed

Quick add shortcut key sequence #83

awmottaz opened this issue May 26, 2020 · 2 comments · Fixed by #84

Comments

@awmottaz
Copy link
Contributor

When I perform the following steps...

  1. Open a project
  2. Type a to append a task to the project
  3. Close the window
  4. Use the Quick Add shortcut

...then I will find myself in the append task text input with a "q" filled in the text input. Here's a screen recording of this sequence:

Peek 2020-05-26 13-33

I am guessing that the Quick Add shortcut works by raising the app and then firing a keydown event with "q" to trigger the Todoist shortcut for quick add. If this is indeed the case, can this keydown sequence precede the "q" with a press of the Escape key? This way it closes whatever mode I left the app in and I get the Quick Input every time.

@krydos
Copy link
Owner

krydos commented May 26, 2020

hey @awmottaz, thanks for so good report and the gif.

It works exactly as you mentioned. The qucik-add event opens the todoist window and then simulates q button press. I'll take a look if sending esc key will help (it definitely should help).

I'll let you know the result.

@awmottaz
Copy link
Contributor Author

Thanks for the quick response @krydos ! I just opened a PR to add the Escape keydown event. Hopefully that helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants