godbout / alfred-time

Start and stop tracking time with Toggl, Harvest, Everhour or Clockify through Alfred 4. ⏰️
MIT License
110 stars 8 forks source link

Cannot start or stop new timers #56

Open nathansnelgrove opened 1 month ago

nathansnelgrove commented 1 month ago

Hi! I'm unsure if this is because of the API switch in Toggl or if it's something else, but the workflow sort of stopped working for me. (Is it possible that this happened because I finally updated to Sonoma? Or maybe Homebrew uninstalled a version of PHP I need? Just trying to rule out possibilities...)

Basically, if I type "time" in Alfred, I can start anything I want, but it never shows me a list of projects, and the timer never actually starts if I "start" the timer without a project or tag...

godbout commented 1 month ago

is there a change in Toggl's API? i haven't used this shit Workflow for a long time. just checked and Sonoma is handled. also both Intel and Apple silicon shits. so maybe an API issue yeah.

nathansnelgrove commented 1 month ago

Is it possibly related to Homebrew installing PHP 8.3? The last update to the workflow added support for 8.2, but never went further.

godbout commented 1 month ago

honestly i don't know and i don't care but i'll check later tonight because it's you. and because of all the beers you sent.

nathansnelgrove commented 1 month ago

That’s kind of you, thanks!

godbout commented 1 month ago
  1. Toggl has a new v9 API: https://github.com/toggl/toggl_api_docs/blob/master/toggl_api.md
  2. Alfred Time uses a package for the Toggl API: https://github.com/Morning-Train/toggl-api
  3. the package is stuck in ancient time

which means, in order to get the Workflow working again, or 1) i use another package, which means rewriting some part of the Workflow 2) build my own package/wrapper

in any case, that's too much work. i'm not using this Workflow anymore. i built it because i was using both Toggl and Harvest at the same time (Toggl for the time, Harvest for PDF invoices). i built my own invoicing system since them (i'm the only 500 Fortune company with 1 employee) and i'm starting my Toggls on my phone now.

best is to use dedicated Toggl Workflows, like this one: https://github.com/jason0x43/alfred-toggl

it's been a fun ride. but it's over. i'll archive this repo soon.

nathansnelgrove commented 1 month ago

Thanks man. I appreciate you looking into it. Be well and congrats on your success!