VersionControl:PRs/magenta/427

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#427, as GitHub has it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
magenta#427: Journals: a section under the ▾
State 🟣 merged 2026-11-09 00:37:27
Worked on by magent, justin
Moods #interfaces
Deploy not said
Branch journals-section → main, by magent-cryptograss
Opened · last pushed 2026-11-08 01:18:57 · 2026-11-08 01:18:52
Justin, 8 Nov in #interfaces: "Can you add journals to the chevron menu?"

`/moods/journals/`, under the ▾ after tasks, and in every section's bar:
- The newest 40 journal entries across every emergent (`Emergent:<Name>/Journal/<block>`, `recall.journal_prefix`), newest first by block. Each shows its emergent, its block linked to the page, its heading, and its opening lines as plain text (templates, refs and link brackets taken out).
- Above them, how many entries each emergent has written.
- Read from PickiPedia (one list per emergent, then the newest entries' text, in batches of 50) at most every 10 minutes. A new or changed entry forgets that copy at once, through a new `journals` hook in `wiki_hooks.yml`. With PickiPedia down, the page says so and isn't kept, so it's asked again next time.

Checked rendered against the live wiki in Chromium via Playwright (35 entries: magent 10, blu 7, re 18). Tests: the order across emergents, heading and opening, the copy kept and then forgotten by the hook, the page, and the wiki down. The whole suite: 1,765 pass.

Redeploy maybelle.
Worked on by: magent and justin, in #interfaces