Tag a company All roles to read its big boards with the agents' wide reach; favourite scores only

Migration 21 adds companies.all_roles, tags every favourite of any agent and each company whose board had params {"reach": "all"} (logged per board, the param removed). reach.plan reads a tagged company's boards with the union of the enabled agents' require reach and the base reach; favourite no longer widens the fetch. POST /api/companies/{key}/all-roles sets it and queues a pull when on. The Companies list, the reader and the company strip draw the toggle beside the affinity buttons, the list filters on it, and the board's reach editor drops its All roles option.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-30 10:44:41 +02:00
1 parent 8d9a059e24
commit 5d5b7e7d3f
20 files changed
+422 -124

No files matched your search

+7
View File
@@ -1113,6 +1113,11 @@ table.applications td[data-label="Saved"] { white-space: nowrap; color: var(--di
.affinity button[data-value="-1"][aria-pressed="true"] {
color: var(--accent-fg); background: var(--error); border-color: var(--error);
}
/* The All roles tag, global and apart from the stances: green, the colour
the app gives what widens (`--good`). */
.affinity button[data-value="all"][aria-pressed="true"] {
color: var(--accent-fg); background: var(--good); border-color: var(--good);
}
/* agents */
@@ -1302,6 +1307,8 @@ table.applications td[data-label="Saved"] { white-space: nowrap; color: var(--di
font-size: .96rem; text-decoration: none; color: inherit;
}
.crow .name { font-weight: 600; }
/* A company row has one control more: the All roles tag after the stances. */
#companies-list .crow { grid-template-columns: 1fr auto auto auto; }
/* Only a name that is a link: the Watchlist draws one without a page to
open as text, which must not look as if it led somewhere. */
@media (hover: hover) {