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:
1 parent
8d9a059e24
commit
5d5b7e7d3f
20 files changed
+422
-124
No files matched your search
@@ -984,6 +984,10 @@ class Company(Model):
|
||||
#: Why the company is read by hand, one of `HAND_REASONS`; "" when it is
|
||||
#: not on that list.
|
||||
hand_reason: str = ""
|
||||
#: 1 when every board of the company is read with the agents' wide reach,
|
||||
#: Europe today, rather than their places (`app/jobs/reach.py`). Global,
|
||||
#: not an agent's: it is about what is fetched, and fetching is shared.
|
||||
all_roles: int = 0
|
||||
created_at: str
|
||||
updated_at: str
|
||||
|
||||
|
||||
Reference in new issue
Block a user