[TW5] Proposal: TimeLog (UI Design) ...to replace TaskTimerPlugin / InstantTimestampPlugin

204 views
Skip to first unread message

Tobias Beer

unread,
Dec 2, 2014, 3:21:22 AM12/2/14
to tiddl...@googlegroups.com
As Rich was asking here [1] for his timestamp abilities,
I was wondering how all this could possibly look in TW5
so as to make ammends for what in TWc would have been
achieved via InstantTimestampPluginTaskTimerPlugin, etc...

Here's a design of what I think might be a good time-logging solution, ui-wise:

Here's what this could provide, if someone found the time and resources to develop...
  1. a toolbar button available in both, view- and edit-mode
  2. opening a timelog popup
  3. allowing to add a timestamp or datestamp to a tiddler
    • prompting for a short stamp-message
  4. allowing to add a timer to a tiddler
    • allows to start, stop, and cancel a timer and shows the running time
    • stopping the timer prompts for a short log message
The recored stamps and logs should be put into a JSON field of that tiddler.
Some list (in the InfoPanel?) shows the logs for the tiddler, even below the body in edit mode, so as to quicky see it.

You should be able to easily refer to an individual log by its number from within the text, e.g.

<<log 1 true>>

...so as to refer to it (with it's short message) and jot down more notes.

The log macro renders either the according timestamp (time), datestamp (datetime) or timer (start-datetime + duration)

What do you think?

Best wishes, Tobias.

PMario

unread,
Dec 2, 2014, 7:00:26 AM12/2/14
to tiddl...@googlegroups.com
Hi Tobias,

Nice idea. ...

To create the tw hangout annotations I'd also like the possibility to create something like a "delta time".
My idea is different to yours, because I'd like to add the "delta timestamp" to the tiddler text area.

eg:
 - Creating a journal tiddler creates a "start field"
 - Pressing a "record delta" button in edit mode, looks at the start field calculates the delta
 - Write the delta to the text.
    - format: hh:mm:ss    eg: 00:10:15

This would also be handy, if someone needs to create a meeting protocol, that is recorded (voice or video)

----------

Imo the logging mechanism also needs to work, if you save and close the TW.
So imo using js timer functions is a "no go" here.

-------

Just some brainstorming.

have fun!
mario



Tobias Beer

unread,
Dec 2, 2014, 7:45:39 AM12/2/14
to tiddl...@googlegroups.com
Hi Mario,

Good points!
 
To create the tw hangout annotations I'd also like the possibility to create something like a "delta time".
My idea is different to yours, because I'd like to add the "delta timestamp" to the tiddler text area.

The kind of running ticker I believe you desire can be easily done by having the running time work as a button which essentially does the same as hitting the stop button, except for the stop bit... so it keeps on running.

In edit mode, the it could by default not only store the log but also insert the corresponding <<log>> macro at the caret or end.

This would also be handy, if someone needs to create a meeting protocol, that is recorded (voice or video)

Most definitely.
 
Imo the logging mechanism also needs to work, if you save and close the TW.
So imo using js timer functions is a "no go" here.

When the start button is clicked, the start date-time can be (temporarily) logged at a tiddler field. So when you save your wiki and reopen it, you would see the timer running at the current delta. So, the js timer-update is only the visual candy to have you see it running, nothing more.

Best wishes, Tobias.

Tobias Beer

unread,
Dec 2, 2014, 7:51:05 AM12/2/14
to tiddl...@googlegroups.com
So, this seems to beg for a $timer widget with a mode attribute so as to render any of...
  • the timestamp button
  • the datestamp button
  • the start/stop button
  • the active running-time ...button
  • the cancel timer button
...and then some attributes, e.g. to specify the desired date-time-format.

Best wishes, Tobias.

Tobias Beer

unread,
Dec 2, 2014, 8:00:01 AM12/2/14
to tiddl...@googlegroups.com
So, this seems to beg for a $timer widget with a mode attribute so as to render any of...

...or rather than a new $button'ish widget ...the messages that are required for what a generic button is supposed to do to fullfull each function.

Best wishes, Tobias.

RichShumaker

unread,
Dec 2, 2014, 10:56:38 PM12/2/14
to tiddl...@googlegroups.com
First,

Wow.

Second,

Super Wow.

Yes that work flow that you created would be awesome and I like Mario's addition.
I have been doing transcriptions recently and having the ability to timestamp in the Tiddler would be cool as Mario said.
I was thinking of a [[Time / Date Stamp]] where you configure it how you want and in the order you need like ($:/config/NewJournal/Title) for journals.
    • the timestamp button
    • the datestamp button
      • I combined the two above
    • the start/stop button
      • Could this be the same button?
    • the active running-time ...button
      • That would be cool if you could see what time you are at
    • the cancel timer button
    • (STAMP) button that would place the Date time at the cursor point in the [[Tiddler]]
    As always Tobias Thanks for discussing this.

    Rich Shumaker

    Tobias Beer

    unread,
    Dec 3, 2014, 4:36:16 AM12/3/14
    to tiddl...@googlegroups.com
    Hi Rich. 
    • the timestamp button
    • the datestamp button
      • I combined the two above
    Sometimes, people just want that time in their tiddlers, not a full blown date.
    • the start/stop button
      • Could this be the same button?
    That's the idea, at least those two buttons reside in the same spot so as to give the impression of being the same on a different mode.
    • the active running-time ...button
      • That would be cool if you could see what time you are at
    Quite essential, me thinks and straight forward to implement.
    • (STAMP) button that would place the Date time at the cursor point in the [[Tiddler]]
    That's what the timestamp / datestamp buttons are for
     
    As always Tobias Thanks for discussing this.

    Might even start coding that $timer widget at some point ;-)
    Anyone willing to provide the svg candy?

    Best wishes, Tobias.

    Tobias Beer

    unread,
    Dec 3, 2014, 4:41:07 AM12/3/14
    to tiddl...@googlegroups.com
    You should be able to easily refer to an individual log by its number from within the text, e.g.
    <<log 1>>
    ...so as to refer to it (with it's short message) and jot down more notes.

    Would be nice if this would allow to (optionally) render buttons (onhover) allowing you to edit or delete that log.

    Also, you might want something like...

    <<log all>>

    Rendering all logs, perhaps allowing you to specify a template.

    Is it possible to use the $list widget to access data stored in a tiddler field other than the body? That would be great for this purpose as I would want the logs close to the tiddler and not have to hide them in the system-name-space so as to not clutter lists, but that would perhaps be an option too.

    Best wishes, Tobias.
    Reply all
    Reply to author
    Forward
    0 new messages