@tutti-os/workspace-issue-manager 0.0.15 → 0.0.16

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,6 +1,6 @@
1
1
  import {
2
2
  createIssueManagerI18nRuntime
3
- } from "./chunk-U26GIQIJ.js";
3
+ } from "./chunk-TER7RTXO.js";
4
4
 
5
5
  // src/core/feature.ts
6
6
  import {
@@ -322,4 +322,4 @@ export {
322
322
  buildIssueManagerRunPrompt,
323
323
  buildIssueManagerTaskBreakdownPrompt
324
324
  };
325
- //# sourceMappingURL=chunk-QTFOTY4H.js.map
325
+ //# sourceMappingURL=chunk-7O62INYA.js.map
@@ -24,7 +24,7 @@ import {
24
24
  resolveIssueManagerTopicDeleteErrorMessage,
25
25
  toContextRefInput,
26
26
  toIssueManagerWorkspaceFileLinkInput
27
- } from "./chunk-EETI7JRL.js";
27
+ } from "./chunk-GLGNWTCD.js";
28
28
  import {
29
29
  appendIssueManagerWorkspaceFileLinksToContent,
30
30
  clampIssueManagerSidebarWidth,
@@ -35,7 +35,7 @@ import {
35
35
  issueManagerSidebarMinWidth,
36
36
  normalizeIssueManagerContent,
37
37
  shouldAutoCollapseIssueManagerSidebar
38
- } from "./chunk-QTFOTY4H.js";
38
+ } from "./chunk-7O62INYA.js";
39
39
 
40
40
  // src/ui/react/internal/shell/IssueManagerNodeState.ts
41
41
  import { useEffect, useEffectEvent, useState } from "react";
@@ -5618,6 +5618,7 @@ function IssueManagerNode({
5618
5618
  }
5619
5619
  );
5620
5620
  }
5621
+ var issueManagerWorkbenchDragHandleAttribute = "data-workbench-drag-handle";
5621
5622
  function IssueManagerNodeHeader({
5622
5623
  activeTopicId = null,
5623
5624
  className,
@@ -5631,6 +5632,17 @@ function IssueManagerNodeHeader({
5631
5632
  workspaceId,
5632
5633
  ...headerProps
5633
5634
  }) {
5635
+ const {
5636
+ [issueManagerWorkbenchDragHandleAttribute]: dragHandleData,
5637
+ onDoubleClick,
5638
+ onPointerDown,
5639
+ ...restHeaderProps
5640
+ } = headerProps;
5641
+ const dragHandleProps = {
5642
+ "data-workbench-drag-handle": dragHandleData,
5643
+ onDoubleClick,
5644
+ onPointerDown
5645
+ };
5634
5646
  const { effectiveCollapsed, toggleLabel, toggleSidebar } = useIssueManagerNodeHeaderView({
5635
5647
  copy,
5636
5648
  isSidebarAutoCollapsed,
@@ -5647,35 +5659,50 @@ function IssueManagerNodeHeader({
5647
5659
  return /* @__PURE__ */ jsxs17(
5648
5660
  "header",
5649
5661
  {
5650
- ...headerProps,
5662
+ ...restHeaderProps,
5651
5663
  className: cn11(
5652
5664
  "relative flex h-full min-h-0 items-center justify-between gap-3 bg-[var(--background-panel)] px-2 pl-3",
5653
5665
  className
5654
5666
  ),
5655
5667
  children: [
5656
- /* @__PURE__ */ jsxs17("div", { className: "z-10 flex min-w-0 items-center gap-2", children: [
5657
- /* @__PURE__ */ jsx19("span", { className: "min-w-0 truncate text-[13px] font-semibold leading-5 text-[var(--text-primary)]", children: title?.trim() || copy.t("title") }),
5658
- /* @__PURE__ */ jsx19(
5659
- Button13,
5660
- {
5661
- "aria-label": toggleLabel,
5662
- className: "cursor-pointer rounded-md",
5663
- "data-issue-manager-sidebar-auto-collapsed": isSidebarAutoCollapsed ? "true" : void 0,
5664
- "data-issue-manager-sidebar-collapsed": effectiveCollapsed ? "true" : void 0,
5665
- size: "icon-sm",
5666
- title: toggleLabel,
5667
- type: "button",
5668
- variant: "ghost",
5669
- onClick: (event) => {
5670
- event.stopPropagation();
5671
- toggleSidebar();
5672
- },
5673
- onDoubleClick: (event) => event.stopPropagation(),
5674
- onPointerDown: (event) => event.stopPropagation(),
5675
- children: /* @__PURE__ */ jsx19(PanelIcon, { className: "size-[18px]" })
5676
- }
5677
- )
5678
- ] }),
5668
+ /* @__PURE__ */ jsx19(
5669
+ "div",
5670
+ {
5671
+ ...dragHandleProps,
5672
+ "aria-hidden": "true",
5673
+ className: "absolute inset-0 cursor-grab active:cursor-grabbing"
5674
+ }
5675
+ ),
5676
+ /* @__PURE__ */ jsxs17(
5677
+ "div",
5678
+ {
5679
+ ...dragHandleProps,
5680
+ className: "z-10 flex min-w-0 cursor-grab items-center gap-2 active:cursor-grabbing",
5681
+ children: [
5682
+ /* @__PURE__ */ jsx19("span", { className: "min-w-0 truncate text-[13px] font-semibold leading-5 text-[var(--text-primary)]", children: title?.trim() || copy.t("title") }),
5683
+ /* @__PURE__ */ jsx19(
5684
+ Button13,
5685
+ {
5686
+ "aria-label": toggleLabel,
5687
+ className: "cursor-pointer rounded-md",
5688
+ "data-issue-manager-sidebar-auto-collapsed": isSidebarAutoCollapsed ? "true" : void 0,
5689
+ "data-issue-manager-sidebar-collapsed": effectiveCollapsed ? "true" : void 0,
5690
+ size: "icon-sm",
5691
+ title: toggleLabel,
5692
+ type: "button",
5693
+ variant: "ghost",
5694
+ onClick: (event) => {
5695
+ event.stopPropagation();
5696
+ toggleSidebar();
5697
+ },
5698
+ onDoubleClick: (event) => event.stopPropagation(),
5699
+ onPointerDown: (event) => event.stopPropagation(),
5700
+ children: /* @__PURE__ */ jsx19(PanelIcon, { className: "size-[18px]" })
5701
+ }
5702
+ )
5703
+ ]
5704
+ }
5705
+ ),
5679
5706
  /* @__PURE__ */ jsx19("div", { className: "pointer-events-none absolute top-1/2 left-1/2 z-20 flex max-w-[220px] -translate-x-1/2 -translate-y-1/2 items-center justify-center", children: /* @__PURE__ */ jsx19(
5680
5707
  "div",
5681
5708
  {
@@ -5740,4 +5767,4 @@ export {
5740
5767
  IssueManagerNode,
5741
5768
  IssueManagerNodeHeader
5742
5769
  };
5743
- //# sourceMappingURL=chunk-7KCCNQDW.js.map
5770
+ //# sourceMappingURL=chunk-BSI36JGO.js.map