Skip to main content

Module activity

Module activity 

Source
Expand description

What happened in the app, as an episodic memory (kitchen-ui’s Timeline): every command run (from a menu, a key, the search, the title bar or an agent) with who ran it, the time spent in each workspace, and every job from its start to its end. Attention, not content: a command’s arguments are kept in short, never the data it worked on.

The registry and the frame record into it by themselves; an app adds what a step produced (produced) so the timeline can say where a file came from. view is a timeline that follows the log as it grows.

Enums§

Actor
Who did it.

Functions§

all
Everything so far; 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).
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 as it is.
view
A timeline titled title that follows the log (read again when it changed, every second).