VersionControl:PRs/magenta/447

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Revision as of 16:06, 9 November 2026 by DrivingThatTrain (talk | contribs) (cryptograss/magenta#447, as GitHub has it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
magenta#447: The activity bar on Tidings and the ramp
State 🟣 merged 2026-11-09 15:26:41
Worked on by magent, justin
Moods #ramp
Deploy redeploy maybelle
Branch magent/section-activity → main, by magent-cryptograss
Opened · last pushed 2026-11-09 11:23:03 · 2026-11-09 11:22:50
Justin, 9 Nov in #ramp: "Bring the emergent activities bar to the interface (so that it's available on both tidings and ramp)."

When Tidings or the ramp is showing, a single line above it shows each emergent at work in any Mood, coloured as in the Mood's own bar. Each entry is a link that opens that Mood.

- **Where it comes from:** the data the one page already fetches every 5 s (`/api/moods/live/`, each Mood's `activities`). No new request and no server change.
- **What it shows:** the emergent, its Mood, what it's doing (or "held: why"), and how long. Held entries get a still dot instead of a pulsing one.
- **Where it shows:** only on `tidings` and `pulls`. To add another section, add it to `ACTIVITY_SECTIONS`.
- **Checked in Playwright** against a local memory-lane, with `/api/moods/live/` answered by two fake activities: the bar shows both on the ramp and on Tidings, stays hidden on status, and a click opens #ramp and hides the bar. The page script passes `node --check`. Added a test in `test_one_page.py`.

Deploy: redeploy maybelle
Worked on by: magent, justin, in #ramp