Thomas,

Thank you for your detailed response. I've come across your plugin in the 
past and I'm impressed. Great work indeed!

I'm not interested in timers or anything processing-heavy. Your solution 
that triggers the alert when the user is interacting with TW is perfectly 
suitable for me (I assume that the alert is triggered when the refresh 
mechanism fires, which again is triggered by user interaction).

I've had a look at the tiddler $:/plugins/telmiger/reminders/messages which 
is where, I believe, most of the logic happens. You've built it 
beautifully, but unfortunately it's not immediately obvious to me what 
"holds off" the alert from being displayed until, say, the double down 
arrow on the task in the Do section is pressed.

As you've noted, an alert can be triggered just by interacting with the TW 
(as long as the deadline is passed), which must imply that the alert is not 
triggered by an action in the button but that some re-evaluation of 
conditions must happen on a refresh cycle.

So far I see that it's impossible to both have a tiddler tagged 
$:/tags/Alert and not see it displayed as an alert immediately upon 
creation, because once so tagged, such a tiddler *becomes* an alert and so 
it *must *fire.

I have automated alerts that show on startup (if conditions are met) but 
this uses actions such as <$action-createtiddler/> (creating alerts on the 
fly) embedded in $reveal widgets that narrow down the conditions for 
displaying such alerts. But I can't fire such actions by merely interacting 
with the TW itself, so I can't create alerts on demand in this way without 
running <$action-createtiddler/> somewhere.

Apologies if this is too long winded & thanks for your time!

Regards,
Hubert

On Wednesday, 29 April 2020 20:25:31 UTC+1, Thomas Elmiger wrote:
>
> Hi Hubert and Peter,
>
> @Peter: I have no other solution for recurring reminders than setting the 
> new date manually when you are done.
>
> @Hubert
>
> At the time when I developed ToDoNow I had to build my own alert sytem 
> that probably comes close to what you are looking for. See 
> https://tid.li/tw5/tdn.html and click the double down arrow on the task 
> in the Do section. 
>
> An alert should appear to tell you that this task is late. Click the stop 
> watch to change the deadline and see what happens. My sytem assumes that 
> you are working on the task in the Do section, so tasks placed there will 
> not bother you with alerts.
>
> I think someone else built a *timer* later on to trigger (other) alerts 
> every few seconds or minutes, but my solution does not have that. I did not 
> want to waste processing time while not looking at the screen. So my alerts 
> are triggered by *activity* in the wiki only. A simple click anywhere 
> should be enough in most cases.
>
> The second weakness of my solution ist that time differences are rather 
> guesstimated than calculated. Rather precise for deadlines close to now but 
> probably wrong for deadlines far away from now. And maybe a bit wrong 
> around midnight but we shouldn’t be working then anyway.
>
> My solution was meant to be modular and reusable, so if you can borrow 
> something from there you are very welcome (see the plugins): 
>
> * moments.js by Kixam
> * datepicker plugin by Kixam
>
> These are used to set the deadline in a field* todo-deadline*.
>
> *Reminders for ToDoNow *is my plugin, stuff like the name of the field to 
> watch is configurable.
> For calculations my *rpn* plugin is necessary – this is from a time when 
> TW filters were not able to calculate anything. 
>
> That’s all for now, might be others have better solutions. 
>
> Cheers,
> Thomas
>
>

-- 
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/e05d478d-b917-4c4c-957c-ea03456c2630%40googlegroups.com.

Reply via email to