@basou/cli 0.68.2 → 0.68.3

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/dist/program.js CHANGED
@@ -14138,7 +14138,8 @@ var BOARD_HTML = `<!doctype html>
14138
14138
  ]);
14139
14139
  }
14140
14140
 
14141
- function effort(b) {
14141
+ // live: the board measured now, which reads no declaration.
14142
+ function effort(b, live) {
14142
14143
  var e = b.effort;
14143
14144
  var tile = function (k, v, sub) {
14144
14145
  return el('div', { class: 'tile' }, [
@@ -14171,7 +14172,9 @@ var BOARD_HTML = `<!doctype html>
14171
14172
  children.push(dailyChart(days));
14172
14173
  children.push(cumulativeChart(days, e.milestones));
14173
14174
  }
14174
- children.push(e.milestones.length === 0
14175
+ children.push(live
14176
+ ? el('p', { class: 'muted', text: S.effort.milestonesNotRead })
14177
+ : e.milestones.length === 0
14175
14178
  ? el('p', { class: 'muted', text: S.effort.noMilestones })
14176
14179
  : el('ul', null, e.milestones.map(function (m) {
14177
14180
  return el('li', null, [m.date + ' ', el('b', { text: m.label }), el('span', { class: 'muted', text: ' ' + m.ref })]);
@@ -14329,7 +14332,9 @@ var BOARD_HTML = `<!doctype html>
14329
14332
  }
14330
14333
  setStatus('', false);
14331
14334
  var b = page.board;
14332
- [heading(b), summary(b), effort(b), matrix(b), lanes(b), composition(b), turns(b), footnotes(b)]
14335
+ // The board's own title, so that boards open in other tabs can be told apart.
14336
+ document.title = b.heading.title;
14337
+ [heading(b), summary(b), effort(b, false), matrix(b), lanes(b), composition(b), turns(b), footnotes(b)]
14333
14338
  .forEach(function (node) { root.appendChild(node); });
14334
14339
  }
14335
14340
 
@@ -14438,7 +14443,8 @@ var BOARD_HTML = `<!doctype html>
14438
14443
  S = d.strings;
14439
14444
  lang = d.language;
14440
14445
  document.documentElement.lang = lang;
14441
- document.title = S.pageTitle;
14446
+ // As the heading names it, so that boards open in other tabs can be told apart.
14447
+ document.title = d.live.heading.title;
14442
14448
  var drawn = ++liveDrawn;
14443
14449
  var nav = $('records');
14444
14450
  clear(nav);
@@ -14453,7 +14459,7 @@ var BOARD_HTML = `<!doctype html>
14453
14459
  clear(root);
14454
14460
  setStatus('', false);
14455
14461
  var l = d.live;
14456
- [liveHeading(l, why), effort(l), liveRepos(l), liveTrail(l), liveComponents(l), liveFootnotes(l, why)]
14462
+ [liveHeading(l, why), effort(l, true), liveRepos(l), liveTrail(l), liveComponents(l), liveFootnotes(l, why)]
14457
14463
  .forEach(function (node) { root.appendChild(node); });
14458
14464
  }
14459
14465
 
@@ -16039,7 +16045,7 @@ function installExperimentalNotice(program, names = EXPERIMENTAL_COMMANDS, write
16039
16045
  function readBuildStamp() {
16040
16046
  if (false) return void 0;
16041
16047
  try {
16042
- return JSON.parse('{"version":"0.68.2","commit":"db6d49f","committedAt":"2026-10-13T11:10:06+09:00"}');
16048
+ return JSON.parse('{"version":"0.68.3","commit":"42d94c5","committedAt":"2026-10-13T15:23:54+09:00"}');
16043
16049
  } catch {
16044
16050
  return void 0;
16045
16051
  }