Monorepo for Tangled โ€” https://tangled.org

appview/pages: show live updating counters for steps #731

merged
opened by oppi.li targeting master from push-lstutzylzylk

spindles can now give us detailed logs for start and end of steps. the appview can ingest these logs to indicate live durations for steps. it is implemented like so:

  • the logs handler keeps track of start and end times for each step
  • whenever we recieve a start or end time, we update the html to add a data-start or data-end attribute
  • using some javascript, we print a live updating timer for each step:
    • if only data-start is present: then use Now - Start and update each second
    • if both data-start and data-end are present, then use End - Start

Signed-off-by: oppiliappan me@oppi.li

0
by oppi.li 0 comments
expand 1 commit
appview/pages: show live updating counters for steps
1
by oppi.li 0 comments
expand 1 commit
appview/pages: show live updating counters for steps
pull request successfully merged
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:qfpnj4og54vl56wngdriaxug/sh.tangled.repo.pull/3m4g5df6nog22