Skip to content

[web] List the open blame reports by sprint, and open them - #280

Merged
mcraveiro merged 3 commits into
mainfrom
feature/serve-the-open-blame-reports
Dec 5, 2026
Merged

mcraveiro merged 3 commits into
mainfrom
feature/serve-the-open-blame-reports

Conversation

@mcraveiro

Copy link
Copy Markdown
Member

Building the Serve the open blame reports task, from the prototype you signed off.

What you get

A Blames screen, seventh in the menu beside Documents. It lists the reports of a project, grouped by the sprint in their path, newest sprint first, the open ones before the addressed, with filters for open, addressed and all. Each row shows the state, the owning environment, the path and a preview of the report. Clicking one opens it in the existing document view by its :ID:, the owner's * Response included.

The service

document_summary now carries state and sprint, and a list request may name a * Status field whose value comes back as owner. The field name is validated to letters, digits, spaces, _ and - before it is used, so nothing regex-special reaches the expression. The owner is read from the stored source at query time; filling a column at sync from the project's * Open reports table is the follow-up, noted in the task.

Verification

  • compass.http.tests: 9836 assertions in 390 cases, including the owner extraction and that an unsafe field name answers empty.
  • @compass/pages: 255 tests, including the screen's sprint grouping, its open filter and its links by :ID:.
  • Real folder in Chromium against a throwaway database seeded with three of ORE Studio's blame reports: the open filter showed the one started report with owner jolly_knuth, All showed the three, and clicking one opened its page with the response rendered.

The story and its sprint row are DONE.

🤖 Generated with Claude Code

A page of documents carries its state and the sprint its path sits in,
and a request may name a Status field whose value comes back as owner,
validated so no other input reaches the expression. compass.web gains a
Blames screen: reports grouped by sprint, newest first, open before
addressed, filtered, each opening in the document view by its :ID:.

Verified against a throwaway database seeded with three of ORE Studio's
blame reports in Chromium; the story closes with it.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Count tiles first, then the three views: by sprint with the state filter,
outstanding grouped by owner oldest first, and an analysis of owner load,
the open-addressed split and the days reports were filed. Each row carries
the owner and the age, and the list request now also returns the created
date.

Co-Authored-By: Claude Code <noreply@anthropic.com>
The list request may name a second Status field and a heading, so each
report shows who found the break and whether a Response was written, as
the prototype did. Both names are validated before they reach the
expression, and the heading's section must hold text.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@mcraveiro
mcraveiro merged commit 3f80d4e into main Dec 5, 2026
4 of 5 checks passed

This branch had an error being deployed

1 failed deployment
CI — f8af7df6 Deployed Dec 5, 2026 by mcraveiro via linux-clang-release-ninja #558
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant