@atolis-hq/wake 0.2.64 → 0.2.65
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.
|
@@ -300,6 +300,7 @@ async function renderBoard(context) {
|
|
|
300
300
|
]);
|
|
301
301
|
const columns = el('div', { class: 'columns' }, CONDITIONS.map((cond) => {
|
|
302
302
|
const items = board.filter((c) => c.condition === cond);
|
|
303
|
+
if (cond === 'finished') items.sort((a, b) => a.timeInStageMs - b.timeInStageMs);
|
|
303
304
|
const cards = items.map((item) => el('div', {
|
|
304
305
|
class: 'card',
|
|
305
306
|
onclick: () => openItemModal(item.repo, item.number),
|
|
@@ -307,7 +308,7 @@ async function renderBoard(context) {
|
|
|
307
308
|
el('div', { class: 'title', text: item.repo + '#' + item.number + ' ' + item.title }),
|
|
308
309
|
el('div', { class: 'meta' }, [
|
|
309
310
|
el('span', { class: 'chip', text: item.stage }),
|
|
310
|
-
document.createTextNode(fmtMs(item.timeInStageMs) + ' in stage'),
|
|
311
|
+
...(cond !== 'finished' ? [document.createTextNode(fmtMs(item.timeInStageMs) + ' in stage')] : []),
|
|
311
312
|
]),
|
|
312
313
|
...(item.labels && item.labels.length > 0
|
|
313
314
|
? [el('div', { class: 'meta' }, item.labels.map((label) => el('span', { class: 'chip chip-label', text: label })))]
|
package/dist/src/version.js
CHANGED