Split the All tag into two company overrides: All countries and All roles (WP L)
Fetching has two filters, and a company now overrides each on its own.
All countries (companies.all_countries) is the old All roles tag: its big
boards are read with the agents' wide reach. All roles (companies.all_roles,
new meaning) drops the agents' fetch terms and any later role filter.
- Migration 24 copies the old tag to all_countries and keeps all_roles for
those companies, and moves a board's {"terms": false} to its company.
- The runner no longer reads {"terms": false}; the plan leaves the terms out
for a company set to All roles.
- POST /api/companies/{key}/all-countries and /all-roles, each queueing a
pull when turned on; CompanyOut carries both.
- Two toggles replace All on the Companies row, the reader and the Roles
strip; the reach line states countries and role types in plain words;
the filter select gets both options.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
795ca3628c
commit
e52857dea5
23 files changed
+602
-215
No files matched your search
+6
-3
@@ -1003,9 +1003,12 @@ 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.
|
||||
#: The two fetch overrides (`app/jobs/reach.py`), global rather than an
|
||||
#: agent's, since fetching is shared. `all_countries` 1: every big board
|
||||
#: of the company is read with the agents' wide reach, Europe today,
|
||||
#: rather than their places. `all_roles` 1: no role-type narrowing, no
|
||||
#: fetch terms today, on any of its boards.
|
||||
all_countries: int = 0
|
||||
all_roles: int = 0
|
||||
created_at: str
|
||||
updated_at: str
|
||||
|
||||
Reference in new issue
Block a user