On Tuesday, July 28, 2020 at 3:25:44 PM UTC-7, Mat wrote:
>
> Eric Shulman wrote:
>>
>> * SampleCountdownSequence now does cycles!
>>
>
> Yehaaww!
>  
>
>> Demo is 10 minutes work session followed by 2 minutes break time, 
>> repeated 5 times
>> (1 hour total).
>>
>
> Good demo choice ;-) ;-) 
>  
>
>> Let me know what else it should do...
>>
>
> 1) RSOE at when worksession 4 break is to start. "Uncaught RangeError: 
> Maximum call stack size exceeded"
>

I have not seen this error, and I've run through the whole sequence of 5 
work sessions/break times (with shortened times of 1 minute work and 15 
seconds break).   Can you tell me more about what happened?  Can you 
reproduce it with the latest version (just updated to add configuration 
controls)


> 2) For the *practical* use of these CountdownSequences, it would be neat 
> if it is possible to *define sessions* that one can select. I imagine a 
> little form where you fill in the session name and its steps, something 
> like so (copied straight from my actual routine)
>

> *Daily Worksession*
> Read book     : 30 m
> Lunch             : 2 m
> TiddleFiddle   : 10:30 h
> Family dinner : 5 m
>
> *Exercise before breakfast*
> Pushups    : 2:59 h
> Run 15 km : 15 m
> Ice-bath     : 3 h 
>

Right now, the "demo" has only two steps, "work session" and "break time".
Each step is implemented by "daisy-chaining" coded macros.
Ideally, you would just enter a table of steps and times and the macros
would be auto-generated.  But that's certainly more complex.
I need to think about the best way to do this.

Also... you only spend 2 minutes for lunch and 5 minutes for dinner, but 3 
hours for an ice-bath?!? 
and you can run 15km in just 15 minutes?!?  WOW!
 

> 3)  If one doesn't dismiss a modal, the subsequent modals will 
> (eventually) pile on in front. (Interestingly, also the dark surrounding 
> the modal is added so it gets darker and darker). Maybe a modal should 
> clear any preceding modal?
>

I need to look into this a bit to figure out how to programatically dismiss 
an existing modal.
 

> Thank you!
>

You're welcome.  This has been an interesting exercise in interrupt-driven 
TW coding.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/66908a26-20a9-4043-b7f9-88cf5b90cb4bo%40googlegroups.com.

Reply via email to