mcndt / obsidian-toggl-integration

A Toggl integration plugin for the popular knowledge base application Obsidian.
GNU General Public License v3.0
283 stars 21 forks source link

Bug: stop timer command opens modal #10

Closed ljantzen closed 3 years ago

ljantzen commented 3 years ago

When presented with the 'Select a project' prompt, all I get is (No Project). image.

Selecting Donw Arrow or Up Arrow does nothing.

I am able to start timer, but it is not associated with any project. I have a number of clients and projects in my workspace.

mcndt commented 3 years ago

Have you selected your Toggl workspace in the plugin settings? Currently I don't support using mixed workspaces, so you have to set it at setup.

ljantzen commented 3 years ago

Yes workspace is selected.

But restarting Obsidian seemed to do something. I now get the project list, and a list of existing timers. Good!

But invoking Stop Timer presents me with the Select a project prompt again. If I create a new timer, the old timer is stopped, and a new timer started. But if I just want to stop the timer (and not start a new one) the running timer is not stopped.

mcndt commented 3 years ago

But invoking Stop Timer presents me with the Select a project prompt again. If I create a new timer, the old timer is stopped, and a new timer started. But if I just want to stop the timer (and not start a new one) the running timer is not stopped.

What a strange bug! I can reproduce it here. I'll see if I can fix it today or tomorrow! But to help you for now, the stop timer button in the sidebar view works as intended.

mcndt commented 3 years ago

Also if you find a way to reproduce the empty project list, please let me know so I can look into fixing that bug as well

ljantzen commented 3 years ago

On a side note: How do I open the Toggl sidebar view? I cant find it...

ljantzen commented 3 years ago

And another Obsidian restart solved that as well..

mcndt commented 3 years ago

Glad you could get it working. I should add a command for opening it manually though. Sorry for your frustrating experience so far. Your feedback will go a long way to make the plugin better!

ljantzen commented 3 years ago

Tank you for an excellent and useful plugin, even though it is a little rough around the edges. :-D

mcndt commented 3 years ago

Fixed in release 0.2.2, currently live in obsidian plugin marketplace.