Repository navigation
feat(action-center): History — what was done, and what has been measured - #815
Merged
Merged
Conversation
History reads the same actions the Actions tab triages, but from the far end: an action appears once it is underway or closed. Columns, filters, sorting, pagination, a detail drawer, and the four states a table needs — loading, empty, no-match, error. Everything it shows is read from a recorded row: which action ran, its kind and impact, what it touched, which signals consolidated into it, its goal, which tasks were carried out and in what state, who it was assigned to, when it closed, and how many days that took. Except the result. An action's `baseline` captures its triggering signals at the moment it was raised, so the "before" half is recorded — but nothing re-reads those metrics afterwards, so there is no "after". Visibility change, citations change, prompts improved: no source. So `results` comes back empty, validation reports `pending`, and the Result column and the drawer's metric cards say that instead of printing a number nobody measured. A dash, not a zero — zero is a measurement. That is the whole point of the tab. History exists to show whether what the product recommended actually worked; filling it with invented improvements would refute the claim it is there to make, and the reader would have no way to tell. The types are the full shape a validation pass would populate (ValidationStatus, ActionResultMetric with before/after, AffectedEntity, per-task execution state), so adding that pass is a matter of filling these in rather than reshaping them. The tab returns to the Action Center nav, and ComingSoonPage goes with it — History was its last caller. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01SQ2H6mSd9JDpmqonk2VWBj
This was referenced Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Action Center's fourth tab. History reads the same actions the Actions tab triages, but from the far end: an action appears here once it is underway or closed.
Columns, five filters, search, sorting, pagination, a detail drawer, and the four states a table needs — loading, empty, no-match, error. The tab returns to the nav, and
ComingSoonPagegoes with it; History was its last caller.What it shows, and what it does not
Everything on the page is read from a recorded row:
sourcearrays of the signals that consolidated into itcreated_atandcompleted_at, both recordedExcept the result. An action's
baselinecaptures its triggering signals at the moment it was raised, so the "before" half is recorded — but nothing re-reads those metrics afterwards, so there is no "after". Visibility change, citations change, prompts improved: no source.So
resultscomes back empty, validation reportspending, and the Result column and the drawer's metric cards say so instead of printing a number nobody measured. A dash, not a zero — zero is a measurement.That is the point of the tab rather than a gap in it. History exists to show whether what the product recommended actually worked; filling it with invented improvements would refute the claim it is there to make, and a reader looking at their own brand would have no way to tell. The types are the full shape a validation pass would populate —
ValidationStatus(kept separate fromActionStatus, because an action can be completed while its validation is pending),ActionResultMetricwith before/after/delta/direction,AffectedEntity, per-task execution state — so adding that pass means filling these in, not reshaping them.What this does not include
Export (CSV/PDF), a "How it works" link, mobile card layout, and filter state in the URL. Export is left out rather than stubbed: a download button that produces nothing reads as broken, not as forthcoming. The others are scope for their own change.
Related issue
None — built from the History brief.
Type of change
feat— New featureDatabase
None. Reads existing tables only.
How to test
Action Center → History.
neware not history and stay out.—and the section explains that nothing has measured this action yet.Note on what you will see today: across the whole database exactly one action qualifies, so the table is nearly empty and most brands show the empty state. That is the data, not the page — nothing has reached a terminal status yet.
Run from
web/:Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/) — 0 errorsyarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)🤖 Generated with Claude Code
https://claude.ai/code/session_01SQ2H6mSd9JDpmqonk2VWBj