@industry-theme/backlogmd-kanban-panel 1.2.7 → 1.2.8

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.
@@ -8483,7 +8483,7 @@ class Core {
8483
8483
  throw new Error("Core not initialized. Call initialize() or initializeLazy() first.");
8484
8484
  }
8485
8485
  }
8486
- const version = "1.2.6";
8486
+ const version = "1.2.7";
8487
8487
  const packageJson = {
8488
8488
  version
8489
8489
  };
@@ -8547,7 +8547,9 @@ function useKanbanData(options) {
8547
8547
  const parentContext = parentSpan ? trace.setSpan(context.active(), parentSpan) : context.active();
8548
8548
  return context.with(parentContext, () => tracer.startActiveSpan("kanban.load", async (span) => {
8549
8549
  const startTime = Date.now();
8550
- span.addEvent("kanban.loading");
8550
+ span.addEvent("kanban.loading", {
8551
+ "is.backlog.project": true
8552
+ });
8551
8553
  setIsLoading(true);
8552
8554
  setError(null);
8553
8555
  try {
@@ -8570,7 +8572,7 @@ function useKanbanData(options) {
8570
8572
  "tasks.count": allTasks.length,
8571
8573
  "columns.count": newColumnStates.size,
8572
8574
  "tasks.total": total,
8573
- "tasks.hasMore": paginatedResult.hasMore
8575
+ "has.more": paginatedResult.hasMore
8574
8576
  });
8575
8577
  span.setAttributes({
8576
8578
  "output.tasksLoaded": allTasks.length,
@@ -8656,7 +8658,8 @@ function useKanbanData(options) {
8656
8658
  span.addEvent("kanban.loaded", {
8657
8659
  "tasks.count": newTasks.length,
8658
8660
  "columns.count": newColumnStates.size,
8659
- "tasks.newlyLoaded": result.items.length
8661
+ "tasks.newlyLoaded": result.items.length,
8662
+ "has.more": result.hasMore
8660
8663
  });
8661
8664
  span.setAttributes({
8662
8665
  "output.tasksLoaded": result.items.length,
@@ -10853,21 +10856,13 @@ const KanbanPanel = ({
10853
10856
  }
10854
10857
  useEffect(() => {
10855
10858
  var _a2;
10856
- const tracer = getTracer();
10857
- const span = tracer.startSpan("panel.lifecycle", {
10858
- attributes: {
10859
- "panel.id": "kanban-panel"
10860
- }
10861
- });
10862
- span.addEvent("panel.initialized", {
10863
- "panel.id": "kanban-panel",
10864
- "has.file.tree": Boolean((_a2 = context2 == null ? void 0 : context2.fileTree) == null ? void 0 : _a2.data),
10865
- "has.file.system": Boolean(actions == null ? void 0 : actions.writeFile)
10866
- });
10867
- span.setStatus({
10868
- code: SpanStatusCode.OK
10869
- });
10870
- span.end();
10859
+ if (boardSessionSpanRef.current) {
10860
+ boardSessionSpanRef.current.addEvent("panel.initialized", {
10861
+ "panel.id": "kanban-panel",
10862
+ "has.file.tree": Boolean((_a2 = context2 == null ? void 0 : context2.fileTree) == null ? void 0 : _a2.data),
10863
+ "has.file.system": Boolean(actions == null ? void 0 : actions.writeFile)
10864
+ });
10865
+ }
10871
10866
  }, []);
10872
10867
  const handleSearchChange = useCallback((value) => {
10873
10868
  setSearchQuery(value);