@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.
@@ -1,4 +1,4 @@
1
- export { DefaultFrontmatterWidget, INTERNAL_FRONTMATTER_KEYS, activeCursorSection, addRuntimePanel, affiliateTagFacet, applyAmazonAffiliateTag, attachmentUrlFacet, autocompleteTooltipTheme, blockContentId, configureOverlayActions, cursorFocusExtension, customCompletionSources, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, isAmazonRetailHost, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, lineIdsExtension, linkOpen, linkPreview, markdownSyntaxHiding, markdownTablePreview, navigationFacet, nestedCompletion, nestedCompletionOptions, previewDecorations, queryBlockPreview, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, resolveCodeLanguage, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setQuerySourceEditing, slashBlockCompletion, smartIncrement, toggleInlineMarkdown, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-GP26UA75.mjs';
1
+ export { DefaultFrontmatterWidget, INTERNAL_FRONTMATTER_KEYS, activeCursorSection, addRuntimePanel, affiliateTagFacet, applyAmazonAffiliateTag, attachmentUrlFacet, autocompleteTooltipTheme, blockContentId, configureOverlayActions, cursorFocusExtension, customCompletionSources, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, isAmazonRetailHost, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, lineIdsExtension, linkOpen, linkPreview, markdownSyntaxHiding, markdownTablePreview, navigationFacet, nestedCompletion, nestedCompletionOptions, previewDecorations, queryBlockPreview, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, resolveCodeLanguage, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setQuerySourceEditing, slashBlockCompletion, smartIncrement, toggleInlineMarkdown, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-Y7HYSH2H.mjs';
2
2
  import '../chunk-U2OQIGSB.mjs';
3
3
  //# sourceMappingURL=index.mjs.map
4
4
  //# sourceMappingURL=index.mjs.map
package/dist/index.cjs CHANGED
@@ -1410,6 +1410,7 @@ function DashboardView({
1410
1410
  onResizeWidget,
1411
1411
  rangeStart,
1412
1412
  rangeEnd,
1413
+ refreshKey,
1413
1414
  preferredUnit,
1414
1415
  onOpenNote,
1415
1416
  noteHref,
@@ -1514,7 +1515,7 @@ function DashboardView({
1514
1515
  return () => {
1515
1516
  cancelled = true;
1516
1517
  };
1517
- }, [resolvedKey, resolved, executor, onEnsureRollupFacts, rangeStart, rangeEnd, preferredUnit]);
1518
+ }, [resolvedKey, resolved, executor, onEnsureRollupFacts, rangeStart, rangeEnd, preferredUnit, refreshKey]);
1518
1519
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "dashboard-view", children: [
1519
1520
  /* @__PURE__ */ jsxRuntime.jsx(DashboardTokenControls, { tokens: document2.tokens, values: values2, onChange: onTokenChange }),
1520
1521
  loading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground mb-3", children: "Loading widgets\u2026" }),
@@ -2643,13 +2644,18 @@ function RowsTable({
2643
2644
  [presets]
2644
2645
  );
2645
2646
  const runs = React2.useMemo(
2646
- () => result.runs.map((run) => ({
2647
- run,
2648
- // Event rows are the promoted statement snapshots — structurally the
2649
- // same shape as stored output statements.
2650
- statements: run.events,
2651
- startTime: run.events[0]?.timeSpan?.started ?? run.timestamp
2652
- })),
2647
+ () => result.runs.map((run) => {
2648
+ const firstActive = run.events.find(
2649
+ (e) => e.outputType === "segment" && !String(e.sourceBlockKey ?? "").toLowerCase().startsWith("waiting-to-start") && e.timeSpan?.started !== void 0
2650
+ );
2651
+ return {
2652
+ run,
2653
+ // Event rows are the promoted statement snapshots — structurally the
2654
+ // same shape as stored output statements.
2655
+ statements: run.events,
2656
+ startTime: firstActive?.timeSpan?.started ?? run.events[0]?.timeSpan?.started ?? run.timestamp
2657
+ };
2658
+ }),
2653
2659
  [result]
2654
2660
  );
2655
2661
  if (runs.length === 0) {
@@ -5473,7 +5479,7 @@ var SPAN_OPTIONS = [
5473
5479
  { label: "Full row", span: "full" }
5474
5480
  ];
5475
5481
  var SENTENCE_METRICS = ["totalVolume", "reps", "tis", "calc.e1rm", "calc.readiness"];
5476
- var SENTENCE_GROUPS = ["week", "day", "session", "round", "effort", "equipment"];
5482
+ var SENTENCE_GROUPS = ["week", "month", "day", "session", "round", "effort", "equipment"];
5477
5483
  var BASELINE_PERIODS = [4, 12, 2];
5478
5484
  var PREVIEW_DEBOUNCE_MS = 300;
5479
5485
  function primarySeriesOf(obj) {
@@ -18424,13 +18430,13 @@ function editorPreset(optionsOrDialect = "markdown") {
18424
18430
  }
18425
18431
 
18426
18432
  // src/version.ts
18427
- var VERSION = "0.60.2248";
18428
- var GIT_SHA = "e331129";
18429
- var BUILD_TIME = "2026-11-19T04:20:48.739Z";
18433
+ var VERSION = "0.60.2257";
18434
+ var GIT_SHA = "7619837";
18435
+ var BUILD_TIME = "2026-11-19T19:20:39.267Z";
18430
18436
  var SEMVER = {
18431
- version: "0.60.2248",
18432
- gitSha: "e331129",
18433
- buildTime: "2026-11-19T04:20:48.739Z"
18437
+ version: "0.60.2257",
18438
+ gitSha: "7619837",
18439
+ buildTime: "2026-11-19T19:20:39.267Z"
18434
18440
  };
18435
18441
 
18436
18442
  Object.defineProperty(exports, "CONTENT_GROUPING_DIMENSIONS", {