Say All locations wherever the company switch is named
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6cad9713ac
commit
744d14160d
3 files changed
+24
-24
No files matched your search
+16
-16
@@ -16,7 +16,7 @@
|
|||||||
* Beside `api` on `window`, the few helpers more than one page script uses:
|
* Beside `api` on `window`, the few helpers more than one page script uses:
|
||||||
* `count`, `cell`, `debounce`, `safeUrl`, and the company list with its
|
* `count`, `cell`, `debounce`, `safeUrl`, and the company list with its
|
||||||
* affinity control (`loadCompanies`, `companies`, `affinityControl`,
|
* 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
|
* All roles (`overridesControl`). One
|
||||||
* copy each, since two copies of a helper is one of them
|
* copy each, since two copies of a helper is one of them
|
||||||
* being fixed.
|
* being fixed.
|
||||||
@@ -189,26 +189,26 @@
|
|||||||
/* The two fetch overrides, one more pair of toggles in the affinity
|
/* 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
|
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
|
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
|
has four parts, world, location, role exclusion and role fetch, and a
|
||||||
agent's on all three unless it is set to:
|
company follows every agent's unless it is set to:
|
||||||
- All countries: the place part is skipped. The company's roles are
|
- All locations: the location gate is skipped. The company's roles are
|
||||||
fetched and kept from the whole region (Europe), not only the agents'
|
fetched and kept from the whole world gate (Europe, say), not only the
|
||||||
places, for every agent. The region itself still holds.
|
agents' locations, for every agent. The world gate itself still holds.
|
||||||
- All roles: the role part is skipped: no fetch terms and no titles to
|
- All roles: role exclusion and role fetch are skipped: no titles to
|
||||||
leave out.
|
leave out and no fetch terms.
|
||||||
Turning either on or off queues a rescore on the server, as the other
|
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.
|
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
|
`company` is the shared list's row; `onChange` runs after the server
|
||||||
accepted a switch, with the company it answered. */
|
accepted a switch, with the company it answered. */
|
||||||
const OVERRIDES = [
|
const OVERRIDES = [
|
||||||
{ value: "countries", field: "all_countries", path: "all-countries", text: "All countries",
|
{ value: "countries", field: "all_countries", path: "all-countries", text: "All locations",
|
||||||
on: "All countries is on: this company's roles are fetched and kept from the whole "
|
on: "All locations 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 "
|
+ "world gate (Europe, say), not only the agents' locations, for every agent. The "
|
||||||
+ "holds. Turning it off puts the agents' places back and rescores.",
|
+ "world gate still holds. Turning it off puts the agents' locations back and rescores.",
|
||||||
off: "All countries: fetch and keep this company's roles from the whole region "
|
off: "All locations: fetch and keep this company's roles from the whole world gate "
|
||||||
+ "(Europe) instead of only the agents' places, for every agent. Turning it on "
|
+ "(Europe, say) instead of only the agents' locations, for every agent. Turning it "
|
||||||
+ "rescores.",
|
+ "on rescores.",
|
||||||
said: (on) => (on ? "all countries in the region" : "the agents' places") },
|
said: (on) => (on ? "all locations in the world gate" : "the agents' locations") },
|
||||||
{ value: "roles", field: "all_roles", path: "all-roles", text: "All roles",
|
{ 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 "
|
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 "
|
+ "whatever their title, for every agent. Turning it off puts the agents' fetch "
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
* joined with each company's board subscription — its id and whether it is
|
* joined with each company's board subscription — its id and whether it is
|
||||||
* on — so nothing here fetches `/api/sources` as well. The affinity buttons
|
* on — so nothing here fetches `/api/sources` as well. The affinity buttons
|
||||||
* are `affinityControl`, the same ones the Roles tab and the read page draw,
|
* are `affinityControl`, the same ones the Roles tab and the read page draw,
|
||||||
* and beside them `overridesControl`, the two fetch overrides All countries
|
* and beside them `overridesControl`, the two fetch overrides All locations
|
||||||
* and All roles, which are global and drawn with or without an agent.
|
* and All roles, which are global and drawn with or without an agent.
|
||||||
*
|
*
|
||||||
* Liked and hidden are per search agent, so the `#c-agent` select above the
|
* Liked and hidden are per search agent, so the `#c-agent` select above the
|
||||||
@@ -25,10 +25,10 @@
|
|||||||
* from app/jobs/reach.py), so the row shows whether the company follows the
|
* from app/jobs/reach.py), so the row shows whether the company follows the
|
||||||
* agents' filters or overrides them. Its editor has a second line that sets
|
* agents' filters or overrides them. Its editor has a second line that sets
|
||||||
* the board's own reach: the agents', or its own countries and remote,
|
* the board's own reach: the agents', or its own countries and remote,
|
||||||
* posted to `/api/sources/{id}/reach`. Fetching from the whole region (All
|
* posted to `/api/sources/{id}/reach`. Fetching from the whole world gate (All
|
||||||
* countries) and no fetch terms or titles to leave out (All roles) are the
|
* locations) and no fetch terms or titles to leave out (All roles) are the
|
||||||
* company's two overrides instead, and the board's own countries win over
|
* company's two overrides instead, and the board's own countries win over
|
||||||
* All countries.
|
* All locations.
|
||||||
*
|
*
|
||||||
* Beside that line stands the board's size, set when it was added and
|
* Beside that line stands the board's size, set when it was added and
|
||||||
* changed only by a Recheck ("999 roles · checked 30 Sep"). Recheck, beside
|
* changed only by a Recheck ("999 roles · checked 30 Sep"). Recheck, beside
|
||||||
@@ -326,8 +326,8 @@
|
|||||||
note.className = "muted small";
|
note.className = "muted small";
|
||||||
note.textContent = [
|
note.textContent = [
|
||||||
company.all_countries
|
company.all_countries
|
||||||
? "All countries is on: roles are fetched and kept from the whole region, and countries set here win over it."
|
? "All locations is on: roles are fetched and kept from the whole world gate, and countries set here win over it."
|
||||||
: "All countries, beside the stars, fetches and keeps this company's roles from the whole region (Europe), not only the agents' places.",
|
: "All locations, beside the stars, fetches and keeps this company's roles from the whole world gate (Europe, say), not only the agents' locations.",
|
||||||
company.all_roles
|
company.all_roles
|
||||||
? "All roles is on: no fetch terms and no titles to leave out."
|
? "All roles is on: no fetch terms and no titles to leave out."
|
||||||
: "All roles drops the fetch terms and the titles to leave out.",
|
: "All roles drops the fetch terms and the titles to leave out.",
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
<section class="card" id="company-boards" data-section>
|
<section class="card" id="company-boards" data-section>
|
||||||
<h2>Company boards</h2>
|
<h2>Company boards</h2>
|
||||||
<p class="lede">Every company roledesk has seen, and how many of its roles are open. Switching a board off stops reading it and closes its roles; hiding a company keeps reading it but leaves its roles out of the list and unscored. Like or favourite raises a company's roles a little in the cut and in the feed order, in each search agent's own ranking (a liked company about 0.05, a favourite about 0.1), and passes nothing the fetch gate rejects. All countries and All roles are for every agent: the first skips the place part of the fetch gate, the second the fetch terms and the titles to leave out.</p>
|
<p class="lede">Every company roledesk has seen, and how many of its roles are open. Switching a board off stops reading it and closes its roles; hiding a company keeps reading it but leaves its roles out of the list and unscored. Like or favourite raises a company's roles a little in the cut and in the feed order, in each search agent's own ranking (a liked company about 0.05, a favourite about 0.1), and passes nothing the fetch gate rejects. All locations and All roles are for every agent: the first skips the location gate and keeps the world gate, the second skips the role exclusion and the fetch terms.</p>
|
||||||
|
|
||||||
<form id="board-form" class="agent-form source-form" autocomplete="off">
|
<form id="board-form" class="agent-form source-form" autocomplete="off">
|
||||||
<h3>Follow a company</h3>
|
<h3>Follow a company</h3>
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
<option value="favourite">Favourite</option>
|
<option value="favourite">Favourite</option>
|
||||||
<option value="liked">Liked</option>
|
<option value="liked">Liked</option>
|
||||||
<option value="hidden">Hidden</option>
|
<option value="hidden">Hidden</option>
|
||||||
<option value="all_countries">All countries</option>
|
<option value="all_countries">All locations</option>
|
||||||
<option value="all_roles">All roles</option>
|
<option value="all_roles">All roles</option>
|
||||||
<option value="on">On</option>
|
<option value="on">On</option>
|
||||||
<option value="off">Off</option>
|
<option value="off">Off</option>
|
||||||
|
|||||||
Reference in new issue
Block a user