Pulls: Pull now on top, one stage at a time tucked away
Pull now moves from the Sources page's own button to Pulls, wired the same
way (POST /api/jobs {kind: "pull"}), sitting beside what is running. The
schedule follows, then extract, embed and score move under a "Run one
stage" details -- jobs.js still draws them from /api/jobs/kinds, minus
pull, which gets the dedicated button instead of appearing twice.
Messages' lede drops the file's own vocabulary (a "fix", "cleared yet") for
the reader's: a fortnight, not a job kind or a config key.
Found but not fixed: at 375px the refreshed desk-schedules still squeezes
its name and cadence columns to a sliver, because kind/next/last size to
their untruncated content instead of the width their own ellipsis implies.
No page-level horizontal scroll comes of it, so overflow-x: auto stays as
the safety net, with a comment pointing at the cause. The fix belongs in
../boilerplate, ahead of the next refresh -- out of reach from this
worktree.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
c74546d959
commit
a5af47349f
4 files changed
+48
-24
No files matched your search
@@ -8,21 +8,16 @@
|
||||
<p class="lede">Every 6 hours roledesk reads every board and search, then fills in what each posting says, embeds and scores. Change the cadence below.</p>
|
||||
|
||||
<section class="card">
|
||||
<h2>Start something</h2>
|
||||
<div id="kinds" class="buttons">
|
||||
<span class="muted">loading…</span>
|
||||
<div class="row-between">
|
||||
<h2>What is running</h2>
|
||||
<button type="button" id="pull-now" class="secondary">Pull now</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="card">
|
||||
{# The queue's own element, served by its own router. Two lines, and the
|
||||
module owns what they draw — see pipeline/web/static/jobs.js.
|
||||
|
||||
The heading is the app's, because the element takes up no space while
|
||||
nothing is running — that is its `idle="hide"` default, and a strip that
|
||||
is always there is furniture — and a card with nothing in it and nothing
|
||||
above it reads as something that failed to load. #}
|
||||
<h2>What is running</h2>
|
||||
{# The heading and the idle line are the app's: the element takes up no
|
||||
space while the queue is idle — that is its `idle="hide"` default, and a
|
||||
strip that is always there is furniture — and a card with nothing in it
|
||||
and nothing above it reads as something that failed to load. The element
|
||||
and its script are the queue's own, served by its own router — see
|
||||
pipeline/web/static/jobs.js. #}
|
||||
<p class="muted small" id="idle">Nothing at the moment.</p>
|
||||
<script type="module" src="/_jobs/jobs.js"></script>
|
||||
<desk-jobs></desk-jobs>
|
||||
@@ -30,13 +25,20 @@
|
||||
|
||||
<section class="card">
|
||||
{# The element and its script are the scheduler's own, served by its own
|
||||
router — see pipeline/web/static/schedules.js. Two lines, as with jobs.
|
||||
A cadence is typed as `every 15m`, `every 6h`, `daily at 06:00` or
|
||||
`weekly mon 07:00`; its add row's placeholder shows two. #}
|
||||
router — see pipeline/web/static/schedules.js. A cadence is typed as
|
||||
`every 15m`, `every 6h`, `daily at 06:00` or `weekly mon 07:00`; its add
|
||||
row's placeholder shows two. #}
|
||||
<h2>Schedule</h2>
|
||||
<script type="module" src="/_jobs/schedules.js"></script>
|
||||
<desk-schedules></desk-schedules>
|
||||
</section>
|
||||
|
||||
<details class="stage">
|
||||
<summary>Run one stage</summary>
|
||||
<div id="kinds" class="buttons">
|
||||
<span class="muted">loading…</span>
|
||||
</div>
|
||||
</details>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
|
||||
Reference in new issue
Block a user