kamhix / todoist-linux

The linux desktop application for todoist
http://todoistlinux.hakimouake.com
184 stars 17 forks source link

Feature request: shortcut to show todoist #17

Open cbecker opened 7 years ago

cbecker commented 7 years ago

Hi. First thanks for coding this, it has been very useful to me.

I don't know much aboute JS nor node, but do you think it would be possible to have a shortcut to show the todo list in the center of the current screen? Or a shortcut to add a new task?

thanks!

mkowske commented 7 years ago

Another way this could work, is if there was a command line interface to the Todoist binary and then user would just need to write a script that could be called with a hot key. Something like:

Todoist --addTask "Title" --labels "label1, label2" etc etc...

I also would benefit from the ability to quickly add a task from anywhere.

martinspedro commented 7 years ago

The command line interface would be awesome!! I thought a good modification to at @mkowske said is something like: todoist --addTask "create a command line interface to todoist !!1 #Todoist tom @linux @features"

You just need to specify the type of action and then the string shall be parsed like in todoist.

cbecker commented 7 years ago

@kamhix I don't know how to PM you. I wanted to say how useful the linux todoist is these days, thanks again for this great app :)!!

martinspedro commented 7 years ago

@kamhix @mkowske Any updates on this?

kamhix commented 7 years ago

Hello guys ! Sorry for no news.

About the command line tool, I think it will be a little hard to make it with nwjs. As the app is loaded inside an iframe, I can directly set a task without manipulating or simulate keyboard events. So I made some research about it and I found that Todoist has a very cool python api. I also found some interesting python library like pywebview to load html inside desktop app.

So basically what all this means ?

In the week I will turn the project from nwjs to python with the webview still working. From that I will start adding native features like login, listing projects, etc... But the most cool thing about that will be that we will be able use Todoist command from Terminal exactly like @k3rn3l-pan1c and @mkowske suggest. It will also help with the shortcuts like showing Todoist or add a task directly.

New features !

We will have with the change to python app.

I will work on this in the next week and I hope all of this be ready. With those features, the app will start being more native and most Linux :). If you have any others features requests, open an issue! Thanks

cbecker commented 7 years ago

Wow @kamhix that sounds amazing, I'm looking forward to this. I'll be happy to beta-test it, please keep me in the loop :)

martinspedro commented 7 years ago

@kamhix I saw the API before commenting, that is why I asked for updates. :wink: I would also recommend colorama, a python package for colorful terminal output.

The todo list you describe sounds awesome! I would also sugest:

If you need help please let me know. I would be glad to help! If not, as @cbecker said, I will be happy to beta test it

Best regards!

kamhix commented 6 years ago

Hello Everyone, I know it's been a long time, but I was busy and I lost the new changes files. I have more time now and I built a new version with shortcuts. The cli app is still in construction so It was not released this time, maybe next week. So If you still using Todoist maybe you can try and give me some feedback.

roock commented 6 years ago

I'm having issues with the "Add Note" global shortcut. The shortcut does open the Quick Add function inside the app, but the todoist app window is not focused and stays in the back.

After checking the code, I've noticed that my initial findings were wrong: the shortcut works perfectly, if the application window is not shown at all. If the main windows is in the background, the main windows is not focused.