On-demand PR and CI overview panel on story cards

Table of Contents

This page is a capture in the inbox bucket of the product backlog — a pre-sprint idea, not yet pulled into a sprint as a story.

What

Each story card in the agile dashboard gets a "PRs" button (or expandable section) that, when clicked, calls the GitHub API to fetch all open PRs associated with that story's tasks and renders a mini panel: one row per task that has a PR, showing PR number, title, CI check status (green/red/pending), and a direct link. Nothing is pre-computed at site build time — the fetch is triggered entirely by the button click, keeping the static site fast. The panel collapses again on a second click. A task's PR is identified via the #+pr: frontmatter field already present in task docs; the story card can enumerate its tasks' IDs from the * Tasks table and look up the corresponding #+pr: values from the pre-built JSON index the site already generates.

Why

When a story has several tasks in flight simultaneously it is hard to know which PRs are open and whether their CI is green without navigating to GitHub manually. An on-demand panel brings that information to the dashboard without the latency cost of a live CI poll for every visible story on page load.

References

See also

Emacs 29.1 (Org mode 9.6.6)