@bitcobblers/wod-wiki-ui 0.60.2248 → 0.60.2257

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.
@@ -6293,13 +6293,18 @@ function RowsTable({
6293
6293
  [presets]
6294
6294
  );
6295
6295
  const runs = React2.useMemo(
6296
- () => result.runs.map((run) => ({
6297
- run,
6298
- // Event rows are the promoted statement snapshots — structurally the
6299
- // same shape as stored output statements.
6300
- statements: run.events,
6301
- startTime: run.events[0]?.timeSpan?.started ?? run.timestamp
6302
- })),
6296
+ () => result.runs.map((run) => {
6297
+ const firstActive = run.events.find(
6298
+ (e) => e.outputType === "segment" && !String(e.sourceBlockKey ?? "").toLowerCase().startsWith("waiting-to-start") && e.timeSpan?.started !== void 0
6299
+ );
6300
+ return {
6301
+ run,
6302
+ // Event rows are the promoted statement snapshots — structurally the
6303
+ // same shape as stored output statements.
6304
+ statements: run.events,
6305
+ startTime: firstActive?.timeSpan?.started ?? run.events[0]?.timeSpan?.started ?? run.timestamp
6306
+ };
6307
+ }),
6303
6308
  [result]
6304
6309
  );
6305
6310
  if (runs.length === 0) {
@@ -9999,7 +10004,7 @@ var SPAN_OPTIONS = [
9999
10004
  { label: "Full row", span: "full" }
10000
10005
  ];
10001
10006
  var SENTENCE_METRICS = ["totalVolume", "reps", "tis", "calc.e1rm", "calc.readiness"];
10002
- var SENTENCE_GROUPS = ["week", "day", "session", "round", "effort", "equipment"];
10007
+ var SENTENCE_GROUPS = ["week", "month", "day", "session", "round", "effort", "equipment"];
10003
10008
  var BASELINE_PERIODS = [4, 12, 2];
10004
10009
  var PREVIEW_DEBOUNCE_MS = 300;
10005
10010
  function primarySeriesOf(obj) {