timers-for-raycast icon indicating copy to clipboard operation
timers-for-raycast copied to clipboard

Feature request: See logs

Open antonioc-cl opened this issue 1 year ago • 3 comments

First of all, thanks for your work. It is a really useful extension for Raycast.

I just used it "snoozing" or "extending" a few timers and I was wondering how much it ended up being. But i think i am not able to see how much time has passed, right? So i was wondering if a) it is possible to have a log of the timers I have used b) if not, are you thinking on something like this?

I am thinking something like this util leveraging fs to set a timestamp to test and the make it more beautiful (?)

`import { appendFileSync } from "fs";

const logFilePath = environment.supportPath + "/log.txt";

const log = (message: string) => { const timestamp = new Date().toISOString(); appendFileSync(logFilePath, [${timestamp}] ${message}\n); }; `

Thanks in advance :)

antonioc-cl avatar Jul 12 '24 22:07 antonioc-cl

Hi @TOPAiiN, thanks for using Timers!

Yes, I'm planning to add a feature soon that will show you a "command history", including what timers and stopwatches you've set, when they were triggered, and how long they ran for.

I've been busy with some of my other projects lately, so there are a few upgrades and bugfixes to Timers that I am implementing first, but I'm hoping to have this feature out soon. Thanks for the suggestion :)

ThatNerdSquared avatar Jul 13 '24 00:07 ThatNerdSquared

Awesome! let me know if I can help you.

antonioc-cl avatar Jul 14 '24 01:07 antonioc-cl

Let's keep the issue open for now - it'll help with prioritization knowing there's been a request for this.

ThatNerdSquared avatar Jul 14 '24 03:07 ThatNerdSquared