Pull pipeline/ from boilerplate a80ad8a: cadence picker, queue badge, label refresh
The schedule cadence is a picker, the add row is behind a button and off here, a running-jobs chip with Kill and Stop run sits in every header, and a declared schedule's label is refreshed at startup. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
cebe62ddc9
commit
3a240e51df
16 files changed
+828
-167
No files matched your search
@@ -114,23 +114,20 @@
|
||||
<p class="lede">Every 6 hours the pull reads every board, embed and score rank every role, extract fills in what the best postings say, score runs again with what it filled, and summarise writes the summaries. Change the cadence below.</p>
|
||||
|
||||
<h3>What is running</h3>
|
||||
{# 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 heading with nothing
|
||||
under 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>
|
||||
{# The element is the queue's own, served by its own router — see
|
||||
pipeline/web/static/jobs.js; base.html loads its script. `idle="show"`
|
||||
keeps it under the heading and has it say "Nothing running." when the
|
||||
queue is idle, since a heading with nothing under it reads as something
|
||||
that failed to load. #}
|
||||
<desk-jobs idle="show"></desk-jobs>
|
||||
|
||||
{# The element and its script are the scheduler's own, served by its own
|
||||
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. #}
|
||||
router — see pipeline/web/static/schedules.js. The cadence is picked
|
||||
(every 6h, daily at 06:00, weekly mon 07:00). `add="off"`, because the
|
||||
pull is the only schedule and it is declared in app/jobs/cascade.py. #}
|
||||
<h3>Schedule</h3>
|
||||
<script type="module" src="/_jobs/schedules.js"></script>
|
||||
<desk-schedules></desk-schedules>
|
||||
<desk-schedules add="off"></desk-schedules>
|
||||
|
||||
<details class="stage">
|
||||
<summary>Run one stage</summary>
|
||||
|
||||
Reference in new issue
Block a user