eviscares / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
0 stars 1 forks source link

[Moco] (Re-)Start last timer #9

Open mrohlof-protofy opened 1 year ago

mrohlof-protofy commented 1 year ago

Extension

https://www.raycast.com/eviscares/moco

Description

I would like to be able to restart the last used timer via notification (where I can also stop it) and also maybe via first level raycast command (also stop current timer might be a valid first level raycast command).

Who will benefit from this feature?

Anyone who takes a break and then resumes their works without switching topics :)

Anything else?

No response

eviscares commented 1 year ago

I see the use case in this, but I also have to think about what constitutes the "last" timer.

mrohlof-protofy commented 1 year ago

Maybe the activity with the most recent "updated_at" timestamp? See https://hundertzehn.github.io/mocoapp-api-docs/sections/activities.html

eviscares commented 1 year ago

That was one idea I had as well, but I'm also considering using the raycast chache for this, to just have the ID of the last paused task available. That might actually make sense in more than one situation, but it also necessitates some more work.