@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.
@@ -6268,13 +6268,18 @@ function RowsTable({
6268
6268
  [presets]
6269
6269
  );
6270
6270
  const runs = useMemo(
6271
- () => result.runs.map((run) => ({
6272
- run,
6273
- // Event rows are the promoted statement snapshots — structurally the
6274
- // same shape as stored output statements.
6275
- statements: run.events,
6276
- startTime: run.events[0]?.timeSpan?.started ?? run.timestamp
6277
- })),
6271
+ () => result.runs.map((run) => {
6272
+ const firstActive = run.events.find(
6273
+ (e) => e.outputType === "segment" && !String(e.sourceBlockKey ?? "").toLowerCase().startsWith("waiting-to-start") && e.timeSpan?.started !== void 0
6274
+ );
6275
+ return {
6276
+ run,
6277
+ // Event rows are the promoted statement snapshots — structurally the
6278
+ // same shape as stored output statements.
6279
+ statements: run.events,
6280
+ startTime: firstActive?.timeSpan?.started ?? run.events[0]?.timeSpan?.started ?? run.timestamp
6281
+ };
6282
+ }),
6278
6283
  [result]
6279
6284
  );
6280
6285
  if (runs.length === 0) {
@@ -10118,7 +10123,7 @@ var SPAN_OPTIONS = [
10118
10123
  { label: "Full row", span: "full" }
10119
10124
  ];
10120
10125
  var SENTENCE_METRICS = ["totalVolume", "reps", "tis", "calc.e1rm", "calc.readiness"];
10121
- var SENTENCE_GROUPS = ["week", "day", "session", "round", "effort", "equipment"];
10126
+ var SENTENCE_GROUPS = ["week", "month", "day", "session", "round", "effort", "equipment"];
10122
10127
  var BASELINE_PERIODS = [4, 12, 2];
10123
10128
  var PREVIEW_DEBOUNCE_MS = 300;
10124
10129
  function primarySeriesOf(obj) {
@@ -17676,5 +17681,5 @@ function editorPreset(optionsOrDialect = "markdown") {
17676
17681
  }
17677
17682
 
17678
17683
  export { AGG_OPTIONS, CANONICAL_BLOCK_TYPES, CLAUSE_META, ComposerRegistry, DEFAULT_DIAGNOSTICS_DEBOUNCE_MS, DEFAULT_OUTPUT_FILTERS, DEFAULT_PRIMARY_FILTER, DefaultFrontmatterWidget, EditorDialog, GROUPBY_OPTIONS, GoalRings, INTERNAL_FRONTMATTER_KEYS, KIND_OPTIONS, METRIC_OPTIONS, MULTI_VALUE_TYPES, MetricBadge, OUTPUT_TYPE_CLASS, OUTPUT_TYPE_DOT, OutputFilterPills, OutputStatementsTable, PLANE_OPTIONS, PRBadge, ProposedMetricBadge, QueryBlockView, QueryObjectBuilder, QueryValue, ROLLUP_OPTIONS, RowsResultsChrome, RowsTable, SERIES_COLORS, SOURCE_OPTIONS, SUGGESTION_BINDINGS, StackedBar, TARGET_OPTIONS, TIME_OPTIONS, TONE_CLASS, TokenSlotPill, TopList, UNIT_OPTIONS, WHERE_AGGREGATORS, WHERE_METRICS, WidgetChart, WidgetProblemBadge, WqlBars, WqlComposer, WqlDiagnosticsStrip, WqlEmptyState, WqlQueryInspectorModal, WqlTable, WqlTimeseries, ZoneDistribution, activeCursorSection, addRuntimePanel, affiliateTagFacet, applyAmazonAffiliateTag, attachmentUrlFacet, autocompleteTooltipTheme, bindTokenParamIntoWql, bindTokenToQueryObject, blockTypesFromBlocks, canonicalSuggestionItems, compactNumber, composerRegistry, computeSessionPrHighlights, configureOverlayActions, createExecutorDocumentHost, cursorFocusExtension, customCompletionSources, cycleBaselineLayer, dateRangeSlot, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editQueryClause, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, extractBlockQueries, extractMetricsByCategory, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, formatClockTime, formatMMSS, formatTimeseriesTick, formatTimeseriesTooltipValue, formatTimestamp, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getClauseMeta, getCursorFocusState, getOverlayActions, getSuggestionBinding, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, invalidateSuggestions, isAmazonRetailHost, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, lineIdsExtension, linkOpen, linkPreview, loadSuggestions, markdownSyntaxHiding, markdownTablePreview, matchFilterTypeahead, mergeSeries, mergeSuggestionItems, mergeTagSuggestions, navigationFacet, nestedCompletion, nestedCompletionOptions, normalizeOutputFilter, normalizeSimplePipelineToAggregate, notebookSlugsFromBlocks, outputToRunResult, outputsToRunResult, patchBlockQuery, presentBadges, previewDecorations, primaryQueryOf, promoteFindToChartObject, queryBlockPreview, readSessionRpe, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, removeSeriesLayer, resolveCodeLanguage, resolveQueryDraft, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setPrimaryQueryOnObject, setQuerySourceEditing, setSuggestionBinding, slashBlockCompletion, smartIncrement, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleCompareLayer, toggleGoalLayer, toggleInlineMarkdown, toggleWidgetEdit, tooltipTimestamp, urlAtPos, useChartShape, useComposerSlots, useSuggestions, useWqlStageCounts, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wqlToPills, wrapInTimeFence };
17679
- //# sourceMappingURL=chunk-GP26UA75.mjs.map
17680
- //# sourceMappingURL=chunk-GP26UA75.mjs.map
17684
+ //# sourceMappingURL=chunk-Y7HYSH2H.mjs.map
17685
+ //# sourceMappingURL=chunk-Y7HYSH2H.mjs.map