[PR #1821] [MERGED] Hub: Kanban and Journal tabs, weekly summaries, /data/journal.json for Kira and X #3792

Closed
opened 2026-11-03 04:12:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1821
Author: @ludovic111
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @ludovic111

Base: main ← Head: feat/hub-board


📝 Commits (3)

  • c04b7af Hub: the Kanban and the Journal tabs, and /hub/journal.json
  • e458e37 Hub: journal.json in the flat format Kira reads, at /data/journal.json
  • bcee0d0 Merge feat/roadmap-hub (main's registry pages) into feat/hub-board

📊 Changes

12 files changed (+535 additions, -9 deletions)

View changed files

📝 roadmap/README.md (+35 -1)
➕ roadmap/journal/2026-43.md (+17 -0)
📝 tests/test_roadmap.py (+17 -0)
📝 tools/roadmap.py (+25 -1)
📝 website/README.md (+2 -2)
📝 website/build.mjs (+9 -2)
📝 website/data/roadmap.json (+9 -0)
📝 website/src/hub-page.js (+32 -1)
📝 website/src/hub.html (+19 -0)
📝 website/src/hub.js (+245 -0)
📝 website/src/hub.test.mjs (+86 -2)
📝 website/src/style.css (+39 -0)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Third of the roadmap stack, on #1819 (base feat/roadmap-hub). It adds the hub's Kanban and Journal tabs and /data/journal.json.

What

  • Kanban (boardFrom, boardHtml in website/src/hub.js)
    • Columns: To do / In progress / In review / Done, from GitHub's open issues and PRs plus those closed in the last 7 days.
    • Cards are placed the way Kira's board places them (src/board.js autoColumn): an issue goes to review when an open, ready PR fixes it, and to in progress when a draft PR fixes it, it is assigned, or it carries the in progress / claimed label. A PR that fixes no open issue is its own card.
    • Each card shows its roadmap item: its roadmap:<id> label first, then the item that links it, then the item linking an issue it fixes. A selector filters the board to one item, or to cards that have an item.
    • Long columns show 20 cards, then "Show N more". The board is baked at build and refreshed in the browser from the same 4 requests the roadmap already makes.
  • Journal (journalFrom, journalHtml)
    • Every game and launcher release, newest first, with the changes from its notes.
    • Simple shows what is new, "and N fixes", and chips for the roadmap items moved. Technical shows every change with its PR, grouped under its roadmap item and then "Other changes".
    • Each release says which items shipped in it.
    • "Merged, in the next release": merged PRs that no recent release's notes mention, skip-release excluded.
    • Weekly summaries come from roadmap/journal/<year>-<ISO week>.md (# Title, plain text, ## Technical, dev text). tools/roadmap.py build puts them into website/data/roadmap.json. This PR adds the first one, for week 43.
  • /data/journal.json is built with each deploy and is the one source for Kira's #updates and X posts, in the flat format kira-hub-1's src/journal.js reads: one entry per merged pull request (merge, with item/item_title), release, shipped roadmap item (shipped, with shipped_in, a ≤ 240-character post and announce) and weekly summary (weekly), newest first. Ids are stable forever. The format is documented in roadmap/README.md, along with the weekly step for the heartbeat.
  • Freshness: journal.json is only as new as the last website deploy. Railway redeploys on changes to website/** (which includes any roadmap change), not on merges or releases. For merges to reach #updates promptly, the website needs a periodic or per-release rebuild. That is a deploy decision, so it is not in this PR.

Tests

  • npm test: 26/26. New tests cover the board's placement, the PR card linked to its issue, labels before links, the done window, the journal's grouping, pending merges without skip-release, and the JSON shape and post length.
  • python3 -m unittest tests.test_roadmap: OK. A new test covers weekly summaries: newest first, their Monday, and badly named or badly shaped files.
  • Build: 346 board cards, 40 journal entries, 98/98 roadmap links live.
  • Playwright screenshots of /hub#board, /hub#journal (Simple and Technical), at 390, 1120 and 1440 px in light and dark: no overflow, no page errors.

Needs the orchestrator

  • The heartbeat writes a weekly roadmap/journal/<week>.md; the steps are in roadmap/README.md.
  • kira-hub-1 reads /data/journal.json for #updates and X (format in roadmap/README.md, "The journal").

skip-release: website and tools only.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/1821 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/25/2026 **Status:** ✅ Merged **Merged:** 10/25/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/hub-board` --- ### 📝 Commits (3) - [`c04b7af`](https://github.com/horizon-rust/horizon/commit/c04b7afdb9b515b57cde9459f2e01386e4e327bd) Hub: the Kanban and the Journal tabs, and /hub/journal.json - [`e458e37`](https://github.com/horizon-rust/horizon/commit/e458e3724924360dfad1252358368ff090cc4dae) Hub: journal.json in the flat format Kira reads, at /data/journal.json - [`bcee0d0`](https://github.com/horizon-rust/horizon/commit/bcee0d02ec6a35e0cf2c8d9d9d0dd9f8390bf0a4) Merge feat/roadmap-hub (main's registry pages) into feat/hub-board ### 📊 Changes **12 files changed** (+535 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `roadmap/README.md` (+35 -1) ➕ `roadmap/journal/2026-43.md` (+17 -0) 📝 `tests/test_roadmap.py` (+17 -0) 📝 `tools/roadmap.py` (+25 -1) 📝 `website/README.md` (+2 -2) 📝 `website/build.mjs` (+9 -2) 📝 `website/data/roadmap.json` (+9 -0) 📝 `website/src/hub-page.js` (+32 -1) 📝 `website/src/hub.html` (+19 -0) 📝 `website/src/hub.js` (+245 -0) 📝 `website/src/hub.test.mjs` (+86 -2) 📝 `website/src/style.css` (+39 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Third of the roadmap stack, on #1819 (base `feat/roadmap-hub`). It adds the hub's **Kanban** and **Journal** tabs and **`/data/journal.json`**. ## What - **Kanban** (`boardFrom`, `boardHtml` in `website/src/hub.js`) - Columns: To do / In progress / In review / Done, from GitHub's open issues and PRs plus those closed in the last 7 days. - Cards are placed the way Kira's board places them (`src/board.js` `autoColumn`): an issue goes to review when an open, ready PR fixes it, and to in progress when a draft PR fixes it, it is assigned, or it carries the `in progress` / `claimed` label. A PR that fixes no open issue is its own card. - Each card shows its **roadmap item**: its `roadmap:<id>` label first, then the item that links it, then the item linking an issue it fixes. A selector filters the board to one item, or to cards that have an item. - Long columns show 20 cards, then "Show N more". The board is baked at build and refreshed in the browser from the same 4 requests the roadmap already makes. - **Journal** (`journalFrom`, `journalHtml`) - Every game and launcher release, newest first, with the changes from its notes. - Simple shows what is new, "and N fixes", and chips for the roadmap items moved. Technical shows every change with its PR, grouped under its roadmap item and then "Other changes". - Each release says which items shipped in it. - "Merged, in the next release": merged PRs that no recent release's notes mention, `skip-release` excluded. - **Weekly summaries** come from `roadmap/journal/<year>-<ISO week>.md` (`# Title`, plain text, `## Technical`, dev text). `tools/roadmap.py build` puts them into `website/data/roadmap.json`. This PR adds the first one, for week 43. - **`/data/journal.json`** is built with each deploy and is the one source for Kira's #updates and X posts, in the flat format kira-hub-1's `src/journal.js` reads: one entry per merged pull request (`merge`, with `item`/`item_title`), release, shipped roadmap item (`shipped`, with `shipped_in`, a ≤ 240-character `post` and `announce`) and weekly summary (`weekly`), newest first. Ids are stable forever. The format is documented in `roadmap/README.md`, along with the weekly step for the heartbeat. - **Freshness:** journal.json is only as new as the last website deploy. Railway redeploys on changes to `website/**` (which includes any roadmap change), not on merges or releases. For merges to reach #updates promptly, the website needs a periodic or per-release rebuild. That is a deploy decision, so it is not in this PR. ## Tests - `npm test`: 26/26. New tests cover the board's placement, the PR card linked to its issue, labels before links, the done window, the journal's grouping, pending merges without `skip-release`, and the JSON shape and `post` length. - `python3 -m unittest tests.test_roadmap`: OK. A new test covers weekly summaries: newest first, their Monday, and badly named or badly shaped files. - Build: `346 board cards, 40 journal entries`, 98/98 roadmap links live. - Playwright screenshots of `/hub#board`, `/hub#journal` (Simple and Technical), at 390, 1120 and 1440 px in light and dark: no overflow, no page errors. ## Needs the orchestrator - The heartbeat writes a weekly `roadmap/journal/<week>.md`; the steps are in `roadmap/README.md`. - kira-hub-1 reads `/data/journal.json` for #updates and X (format in `roadmap/README.md`, "The journal"). `skip-release`: website and tools only. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:12:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3792
No description provided.