Say All locations wherever the company switch is named

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Sonnet 5.5 committed 2026-10-04 21:33:31 +02:00
1 parent 6cad9713ac
commit 744d14160d
3 files changed
+24 -24

No files matched your search

+16 -16
View File
@@ -16,7 +16,7 @@
* Beside `api` on `window`, the few helpers more than one page script uses:
* `count`, `cell`, `debounce`, `safeUrl`, and the company list with its
* affinity control (`loadCompanies`, `companies`, `affinityControl`,
* `setAffinity`) and the two fetch overrides beside it, All countries and
* `setAffinity`) and the two fetch overrides beside it, All locations and
* All roles (`overridesControl`). One
* copy each, since two copies of a helper is one of them
* being fixed.
@@ -189,26 +189,26 @@
/* The two fetch overrides, one more pair of toggles in the affinity
buttons' fragment beside them, in a group of their own since they are
global rather than an agent's stance (app/jobs/reach.py). The fetch gate
has three parts, region, place and role, and a company follows every
agent's on all three unless it is set to:
- All countries: the place part is skipped. The company's roles are
fetched and kept from the whole region (Europe), not only the agents'
places, for every agent. The region itself still holds.
- All roles: the role part is skipped: no fetch terms and no titles to
leave out.
has four parts, world, location, role exclusion and role fetch, and a
company follows every agent's unless it is set to:
- All locations: the location gate is skipped. The company's roles are
fetched and kept from the whole world gate (Europe, say), not only the
agents' locations, for every agent. The world gate itself still holds.
- All roles: role exclusion and role fetch are skipped: no titles to
leave out and no fetch terms.
Turning either on or off queues a rescore on the server, as the other
switches that change what passes do, and a pull reads the board anew.
`company` is the shared list's row; `onChange` runs after the server
accepted a switch, with the company it answered. */
const OVERRIDES = [
{ value: "countries", field: "all_countries", path: "all-countries", text: "All countries",
on: "All countries is on: this company's roles are fetched and kept from the whole "
+ "region (Europe), not only the agents' places, for every agent. The region still "
+ "holds. Turning it off puts the agents' places back and rescores.",
off: "All countries: fetch and keep this company's roles from the whole region "
+ "(Europe) instead of only the agents' places, for every agent. Turning it on "
+ "rescores.",
said: (on) => (on ? "all countries in the region" : "the agents' places") },
{ value: "countries", field: "all_countries", path: "all-countries", text: "All locations",
on: "All locations is on: this company's roles are fetched and kept from the whole "
+ "world gate (Europe, say), not only the agents' locations, for every agent. The "
+ "world gate still holds. Turning it off puts the agents' locations back and rescores.",
off: "All locations: fetch and keep this company's roles from the whole world gate "
+ "(Europe, say) instead of only the agents' locations, for every agent. Turning it "
+ "on rescores.",
said: (on) => (on ? "all locations in the world gate" : "the agents' locations") },
{ value: "roles", field: "all_roles", path: "all-roles", text: "All roles",
on: "All roles is on: this company's roles are fetched with no fetch terms and kept "
+ "whatever their title, for every agent. Turning it off puts the agents' fetch "