@feigi/fleet-ctl 3.30.9 → 3.30.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/board.html +8 -0
package/package.json
CHANGED
package/scripts/board.html
CHANGED
|
@@ -263,6 +263,14 @@ function renderSpend(sp) {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
function render(m) {
|
|
266
|
+
// A ticket whose column is none of COLUMNS matches no column's filter below
|
|
267
|
+
// and would vanish from the board with nothing said. Throwing before any
|
|
268
|
+
// write at all — the title, heading and attention strip included, not only
|
|
269
|
+
// the columns — lets poll()'s catch banner it while the whole board stays
|
|
270
|
+
// on the previous tick, never new header over old columns.
|
|
271
|
+
for (const t of m.tickets || []) {
|
|
272
|
+
if (!COLUMNS.includes(t.column)) throw new Error(`ticket #${t.issue} has unknown column ${JSON.stringify(t.column)}`);
|
|
273
|
+
}
|
|
266
274
|
interval = m.interval || 15;
|
|
267
275
|
repoUrl = m.repoUrl || null;
|
|
268
276
|
// Every render, never once at startup: a board whose repo read fails on a
|