Skip to main content

Module activity

Module activity 

Source
Expand description

What happened in the app, drawn: kitchen-services’ activity log (kitchen_services::activity) as kitchen-ui’s Timeline. The log itself (commands, focus, jobs, what was produced) is the runtime’s; this module re-exports it, so the registry and the frame record into it as before, and adds the views: view follows the whole log, view_of what a filter keeps.

Structs§

Entry
One thing that happened.

Enums§

Actor
Who did it.

Functions§

all
Everything so far, as the timeline draws it; spans still open end now.
clear
Forgets everything (a new project).
close
Closes the span key now.
command
Records a command run: by whom, how (via: menu, key, search, title bar, agent), with what arguments and what came of it.
focus
The workspace shown now: a span on the Focus lane, until the next one.
generation
Bumped on every change (redraw when it moves).
job_ended
A job ended.
job_started
A job started (its span on the Jobs lane, until job_ended).
made
What was made: a job, or an activity that produced something (a view_of filter).
now
Seconds since 1970 (UTC).
open
Opens a span key (a job, a workspace shown) that lasts until close; one open with the same key is closed first.
produced
What a step produced (files, ids): added to the last activity titled title, or as one of its own on the person’s lane.
record
Adds an activity (for the person working, unless it names one).
to_activity
An entry as the timeline draws it.
view
A timeline titled title that follows the log (read again when it changed, every second).
view_of
A timeline of the activities keep keeps (e.g. made: what the session produced, not every command), following the log.