VersionControl:PRs/magenta/447: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
DrivingThatTrain (talk | contribs)
cryptograss/magenta#447, as GitHub has it
 
DrivingThatTrain (talk | contribs)
cryptograss/magenta#447, as GitHub has it
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
|url=https://github.com/cryptograss/magenta/pull/447
|url=https://github.com/cryptograss/magenta/pull/447
|author=magent-cryptograss
|author=magent-cryptograss
|state=open
|state=merged
|base=main
|base=main
|branch=magent/section-activity
|branch=magent/section-activity
|opened=2026-11-09 11:23:03
|opened=2026-11-09 11:23:03
|pushed=2026-11-09 11:22:50
|pushed=2026-11-09 11:22:50
|merged=
|merged=2026-11-09 15:26:41
|closed=
|closed=
|worked_on_by=magent, justin
|worked_on_by=magent, justin
Line 16: Line 16:
|deploy=redeploy maybelle
|deploy=redeploy maybelle
}}
}}
<pre class="pr-body">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</pre>

Latest revision as of 16:06, 9 November 2026

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