NexusTimer icon indicating copy to clipboard operation
NexusTimer copied to clipboard

feat: Add inspection time tracking

Open bryanlundberg opened this issue 1 year ago • 5 comments

It would be a good detail to save the inspection time for people who play using the inspection feature and display it alongside all other statistics.

image

Note: Right now, the application does not save any kind of inspection times; it needs to be adapted from the beginning.

bryanlundberg avatar Jul 14 '24 11:07 bryanlundberg

Hi @bryanlundberg , assign this to me and please let me know about inspection time. I checked the code that if a user is playing with inspection time or not but I need to what inspection time is?

syrok94 avatar Jul 16 '24 10:07 syrok94

Hi @bryanlundberg , assign this to me and please let me know about inspection time.

Hi, inspection time its on settings: image

That feature gives a user 15 seconds of inspection time before starting the timer. WCA

https://github.com/user-attachments/assets/76fbb5d1-0596-4626-9ec4-b42d5b87aecb

bryanlundberg avatar Jul 16 '24 10:07 bryanlundberg

if a user is playing with inspection time or not but I need to what inspection time is?

Default inspection time 0, its important save the spent time, not the remaining.

bryanlundberg avatar Jul 16 '24 10:07 bryanlundberg

Thanks 👍🏻.

syrok94 avatar Jul 16 '24 10:07 syrok94

Hey @bryanlundberg , Is there an existing method to get the inspection time? Currently, the useTimer hook returns an inspectionTime, but it defaults to 1600. This might be due to re-renders causing it to reset. I'm considering adding an inspectionTime field to the solve interface and saving the inspection time there. What are your thoughts on this approach?

syrok94 avatar Jul 17 '24 09:07 syrok94