mrvn-cli 0.5.12 → 0.5.13

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.
@@ -15676,9 +15676,14 @@ function collectSprintSummaryData(store, sprintId) {
15676
15676
  };
15677
15677
  });
15678
15678
  const sprintTag = `sprint:${fm.id}`;
15679
- const workItemDocs = allDocs.filter(
15679
+ const sprintTaggedDocs = allDocs.filter(
15680
15680
  (d) => d.frontmatter.type !== "sprint" && d.frontmatter.type !== "epic" && d.frontmatter.type !== "meeting" && d.frontmatter.type !== "decision" && d.frontmatter.type !== "question" && d.frontmatter.tags?.includes(sprintTag)
15681
15681
  );
15682
+ const sprintTaggedIds = new Set(sprintTaggedDocs.map((d) => d.frontmatter.id));
15683
+ const orphanContributions = allDocs.filter(
15684
+ (d) => d.frontmatter.type === "contribution" && !sprintTaggedIds.has(d.frontmatter.id) && d.frontmatter.aboutArtifact && sprintTaggedIds.has(d.frontmatter.aboutArtifact)
15685
+ );
15686
+ const workItemDocs = [...sprintTaggedDocs, ...orphanContributions];
15682
15687
  const primaryDocs = workItemDocs.filter((d) => d.frontmatter.type !== "contribution");
15683
15688
  const byStatus = {};
15684
15689
  const byType = {};
@@ -15697,7 +15702,7 @@ function collectSprintSummaryData(store, sprintId) {
15697
15702
  }
15698
15703
  const allItemsById = /* @__PURE__ */ new Map();
15699
15704
  const childrenByParent = /* @__PURE__ */ new Map();
15700
- const sprintItemIds = new Set(workItemDocs.map((d) => d.frontmatter.id));
15705
+ const workItemIds = new Set(workItemDocs.map((d) => d.frontmatter.id));
15701
15706
  for (const doc of workItemDocs) {
15702
15707
  const about = doc.frontmatter.aboutArtifact;
15703
15708
  const focusTag = (doc.frontmatter.tags ?? []).find((t) => t.startsWith("focus:"));
@@ -15716,7 +15721,7 @@ function collectSprintSummaryData(store, sprintId) {
15716
15721
  confluenceTitle: doc.frontmatter.confluenceTitle
15717
15722
  };
15718
15723
  allItemsById.set(item.id, item);
15719
- if (about && sprintItemIds.has(about)) {
15724
+ if (about && workItemIds.has(about)) {
15720
15725
  if (!childrenByParent.has(about)) childrenByParent.set(about, []);
15721
15726
  childrenByParent.get(about).push(item);
15722
15727
  }
@@ -23218,9 +23223,9 @@ tr:hover td {
23218
23223
  .integration-icons {
23219
23224
  display: inline-flex;
23220
23225
  align-items: center;
23221
- gap: 0.2rem;
23226
+ gap: 0.25rem;
23222
23227
  vertical-align: middle;
23223
- margin-left: 0.35rem;
23228
+ margin-left: 0.5rem;
23224
23229
  }
23225
23230
  .integration-link {
23226
23231
  display: inline-flex;