Companies and Searches: follow, hide not mute, prune moved, one row style
Companies gets a Follow-a-company form, a combined affinity/on-off filter, and one .srow-style row per company (name, board or "from searches", open roles, on/off switch, affinity). The prune-by-region tool moves here from Searches, folded under the list in a <details>. The lede states the difference between switching a board off (stops reading it, closes its roles) and hiding a company (keeps reading it, keeps its roles out of the list and unscored). affinityControl becomes three icon toggles (favourite, like, hidden) instead of four letter buttons with a neutral one; pressing the pressed icon clears back to neutral. "Hidden" is the word everywhere the UI names affinity -1; the code keeps mute/hide_muted. CompanyOut carries each company's board subscription id and on-state, so the Companies page needs only /api/companies, not a second fetch of /api/sources. Setting a company's affinity now enqueues a score job, deduped by the queue to one run. Searches keeps only the search form and list, in the same row style; company boards and the prune tool left with it, and "Pull now" left for Pulls (package B3). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
7d31cca394
commit
55248555e9
8 files changed
+419
-318
No files matched your search
@@ -5,26 +5,60 @@
|
||||
<h1>Settings</h1>
|
||||
{% include "settings/_tabs.html" %}
|
||||
|
||||
<p class="lede">Every company roledesk has seen, and how many of its roles are open. <strong>M</strong>ute keeps its roles out of the list, <strong>L</strong>ike lifts them in Best match, and <strong>F</strong>avourite puts them at the top.</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, and favourite or like lifts one instead, in Best match.</p>
|
||||
|
||||
<form id="board-form" class="agent-form source-form" autocomplete="off">
|
||||
<h2>Follow a company</h2>
|
||||
<div class="form-row">
|
||||
<label>Host
|
||||
<select id="b-host">
|
||||
<option value="greenhouse">Greenhouse</option>
|
||||
<option value="lever">Lever</option>
|
||||
<option value="ashby">Ashby</option>
|
||||
<option value="workable">Workable</option>
|
||||
<option value="smartrecruiters">SmartRecruiters</option>
|
||||
<option value="recruitee">Recruitee</option>
|
||||
<option value="personio">Personio</option>
|
||||
</select></label>
|
||||
<label>Slug
|
||||
<input type="text" id="b-slug" required placeholder="acme" spellcheck="false">
|
||||
<span class="hint">The part after the host in the careers URL: boards.greenhouse.io/<strong>acme</strong>.</span></label>
|
||||
<label>Company <input type="text" id="b-name" required placeholder="Acme"></label>
|
||||
</div>
|
||||
<div class="agent-actions"><button type="submit">Follow</button></div>
|
||||
<p id="board-status" class="count" role="status"></p>
|
||||
</form>
|
||||
|
||||
<form class="filters" autocomplete="off" onsubmit="return false">
|
||||
<input type="search" id="c-q" placeholder="Filter by name or board" aria-label="Filter companies">
|
||||
<select id="c-affinity" aria-label="Affinity">
|
||||
<option value="">Any affinity</option>
|
||||
<option value="2">Favourite</option>
|
||||
<option value="1">Like</option>
|
||||
<option value="0">Neutral</option>
|
||||
<option value="-1">Mute</option>
|
||||
<select id="c-filter" aria-label="Filter">
|
||||
<option value="">Any</option>
|
||||
<option value="favourite">Favourite</option>
|
||||
<option value="liked">Liked</option>
|
||||
<option value="hidden">Hidden</option>
|
||||
<option value="on">On</option>
|
||||
<option value="off">Off</option>
|
||||
</select>
|
||||
</form>
|
||||
|
||||
<p id="companies-count" class="count" role="status"></p>
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr><th>Company</th><th>Board</th><th class="num">Open roles</th><th>Affinity</th></tr>
|
||||
</thead>
|
||||
<tbody id="companies-list"></tbody>
|
||||
</table>
|
||||
<div id="companies-list" class="crows"></div>
|
||||
|
||||
<details class="section prune">
|
||||
<summary>Switch off boards with no roles in a region</summary>
|
||||
<p class="lede">A board none of whose open roles is in the region is switched off; a board whose roles name no country is kept.</p>
|
||||
<form id="prune-form" class="agent-form source-form" autocomplete="off">
|
||||
<label>Region
|
||||
<input type="text" id="p-region" value="europe" spellcheck="false">
|
||||
<span class="hint"><code>europe</code>, or country codes such as <code>DK,SE,NO,EU</code>. EU is a role open anywhere in Europe.</span></label>
|
||||
<div class="agent-actions">
|
||||
<button type="submit" class="secondary">Preview</button>
|
||||
<button type="button" id="p-apply" disabled>Switch off these boards</button>
|
||||
</div>
|
||||
<p id="prune-status" class="count" role="status"></p>
|
||||
<ul id="prune-list" class="sample"></ul>
|
||||
</form>
|
||||
</details>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
|
||||
Reference in new issue
Block a user