Two tabs and a cog: settings shell, one ranking, a script per page, the phone frame
The top bar is Roles and Applications plus health's cog. Behind the cog,
/settings/{ranking,searches,companies,pulls,messages,account} share one row
of sub-tabs, an underlined row on a desktop and pills on a phone. The old
paths answer 301 with their query string.
Ranking edits the first enabled agent, or creates one, with the intent,
the weights and the gates under Advanced. The order menu on Roles reads
Newest and Best match with one enabled agent, and names them with several.
config.yaml keeps the Copenhagen starter; the other two are commented
examples in config.example.yaml.
roles.js is split into roles.js, applications.js, ranking.js and
companies.js; count, cell, debounce, the company list and the affinity
control live once in app.js. app.css gets the phone frame after health and
newsdesk: one-row bar, edge-to-edge panels, 44px targets and 16px fields on
a coarse pointer, hover only where there is one, safe areas. The app is
installable from a manifest and roledesk-coloured icons. Every lede touched
is written for the person using the app.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
8c4bc3112a
commit
7d31cca394
34 files changed
+848
-565
No files matched your search
+3
-3
@@ -120,9 +120,9 @@ def run_pull(config: Any, store: Any, *, context: RunContext = NULL) -> dict[str
|
||||
return {"started": " > ".join(CASCADES["pull"])}
|
||||
|
||||
|
||||
#: What `app job <name>` and the Jobs tab offer besides `pull`: one stage
|
||||
#: What `app job <name>` and the Pulls page offer besides `pull`: one stage
|
||||
#: each, on its own. `pull` is not a task here, since it is a job: a name that
|
||||
#: is both would be two buttons on the Jobs tab.
|
||||
#: is both would be two buttons on the Pulls page.
|
||||
for _name in ("extract", "embed", "score"):
|
||||
TASKS[_name] = partial(task, _name)
|
||||
|
||||
@@ -130,7 +130,7 @@ for _name in ("extract", "embed", "score"):
|
||||
# ---------------------------------------------------------------- schedules
|
||||
|
||||
# The default, next to the job it fires. A starting point rather than a
|
||||
# setting: a cadence edited or switched off on the Schedules tab survives
|
||||
# setting: a cadence edited or switched off on the Pulls page survives
|
||||
# every restart (see pipeline/schedule.py).
|
||||
declare("pull", "pull", "every 6h",
|
||||
label="Pull every board, then extract, embed and score")
|
||||
+2
-2
@@ -78,7 +78,7 @@ def run_batch(config: Config, store: Store, *, targets: list[str], source: str =
|
||||
they list.
|
||||
|
||||
`targets` is keyword-only without a default, which is what makes it a
|
||||
required payload key to the queue: the Jobs tab offers no button for a
|
||||
required payload key to the queue: the Pulls page offers no button for a
|
||||
batch that could only fail without one.
|
||||
|
||||
Builds the plugin scoped to just these targets — `Source.targets()` reads
|
||||
@@ -89,7 +89,7 @@ def run_batch(config: Config, store: Store, *, targets: list[str], source: str =
|
||||
from plugins.search import SearchSource
|
||||
|
||||
# Fetchable now, not when the pull was queued: a board switched off on the
|
||||
# Sources tab since then is skipped.
|
||||
# Searches or Companies page since then is skipped.
|
||||
subs = {s.target: s for s in store.subscriptions(source=source, fetchable=True)
|
||||
if s.target in targets}
|
||||
options = dict(config.sources.get(source) or {})
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
"""What a pull reads, changed by hand: add a board or a search, switch one on
|
||||
or off, prune boards by region. `app companies`, `app searches` and the
|
||||
Sources tab all call these, so the command line and the page cannot disagree
|
||||
settings pages all call these, so the command line and the pages cannot disagree
|
||||
about what "off" means.
|
||||
|
||||
A board or search switched off has its open roles closed at once. Nothing
|
||||
|
||||
Reference in new issue
Block a user