@industry-theme/backlogmd-kanban-panel 1.1.0 → 1.1.1
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TaskDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,OAAO,KAAK,EAAE,yBAAyB,EAAqB,MAAM,UAAU,CAAC;AAsG7E;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,yBAAyB;IACrE,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAiDD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"TaskDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TaskDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,OAAO,KAAK,EAAE,yBAAyB,EAAqB,MAAM,UAAU,CAAC;AAsG7E;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,yBAAyB;IACrE,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAiDD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAovB1D,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -56456,7 +56456,7 @@ const getPriorityStyles = (theme2, priority) => {
|
|
|
56456
56456
|
};
|
|
56457
56457
|
const StatusBadge = ({ status }) => {
|
|
56458
56458
|
const { theme: theme2 } = useTheme();
|
|
56459
|
-
return /* @__PURE__ */
|
|
56459
|
+
return /* @__PURE__ */ jsxs(
|
|
56460
56460
|
"span",
|
|
56461
56461
|
{
|
|
56462
56462
|
style: {
|
|
@@ -56469,7 +56469,10 @@ const StatusBadge = ({ status }) => {
|
|
|
56469
56469
|
color: theme2.colors.primary,
|
|
56470
56470
|
textTransform: "capitalize"
|
|
56471
56471
|
},
|
|
56472
|
-
children:
|
|
56472
|
+
children: [
|
|
56473
|
+
"Status: ",
|
|
56474
|
+
status
|
|
56475
|
+
]
|
|
56473
56476
|
}
|
|
56474
56477
|
);
|
|
56475
56478
|
};
|
|
@@ -56689,121 +56692,125 @@ const TaskDetailPanel = ({ context: context2, events: events2, config }) => {
|
|
|
56689
56692
|
{
|
|
56690
56693
|
style: {
|
|
56691
56694
|
flexShrink: 0,
|
|
56692
|
-
|
|
56695
|
+
height: "40px",
|
|
56696
|
+
display: "flex",
|
|
56697
|
+
alignItems: "center",
|
|
56698
|
+
justifyContent: "space-between",
|
|
56699
|
+
padding: "0 12px",
|
|
56693
56700
|
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
56694
56701
|
backgroundColor: theme2.colors.backgroundSecondary
|
|
56695
56702
|
},
|
|
56696
56703
|
children: [
|
|
56697
|
-
/* @__PURE__ */ jsxs(
|
|
56698
|
-
|
|
56699
|
-
|
|
56700
|
-
|
|
56701
|
-
|
|
56702
|
-
|
|
56703
|
-
|
|
56704
|
-
|
|
56705
|
-
|
|
56706
|
-
|
|
56707
|
-
|
|
56708
|
-
|
|
56709
|
-
|
|
56710
|
-
|
|
56711
|
-
|
|
56712
|
-
|
|
56713
|
-
|
|
56714
|
-
|
|
56715
|
-
|
|
56716
|
-
|
|
56717
|
-
|
|
56718
|
-
|
|
56719
|
-
|
|
56720
|
-
|
|
56721
|
-
|
|
56722
|
-
|
|
56723
|
-
|
|
56724
|
-
|
|
56725
|
-
|
|
56726
|
-
|
|
56727
|
-
|
|
56728
|
-
|
|
56729
|
-
|
|
56730
|
-
|
|
56731
|
-
|
|
56732
|
-
|
|
56733
|
-
|
|
56734
|
-
|
|
56735
|
-
|
|
56736
|
-
|
|
56737
|
-
|
|
56738
|
-
|
|
56739
|
-
|
|
56740
|
-
|
|
56741
|
-
|
|
56742
|
-
|
|
56743
|
-
|
|
56744
|
-
|
|
56745
|
-
|
|
56746
|
-
|
|
56747
|
-
|
|
56748
|
-
|
|
56749
|
-
|
|
56750
|
-
|
|
56751
|
-
|
|
56752
|
-
|
|
56753
|
-
|
|
56754
|
-
|
|
56755
|
-
|
|
56756
|
-
|
|
56757
|
-
|
|
56758
|
-
|
|
56759
|
-
|
|
56760
|
-
|
|
56761
|
-
|
|
56762
|
-
|
|
56763
|
-
|
|
56764
|
-
|
|
56765
|
-
|
|
56766
|
-
|
|
56767
|
-
|
|
56768
|
-
|
|
56769
|
-
|
|
56770
|
-
|
|
56771
|
-
|
|
56772
|
-
|
|
56773
|
-
|
|
56774
|
-
|
|
56775
|
-
|
|
56776
|
-
|
|
56777
|
-
|
|
56778
|
-
|
|
56779
|
-
|
|
56780
|
-
|
|
56781
|
-
|
|
56782
|
-
|
|
56783
|
-
|
|
56784
|
-
|
|
56785
|
-
|
|
56786
|
-
|
|
56787
|
-
|
|
56788
|
-
|
|
56789
|
-
|
|
56790
|
-
|
|
56791
|
-
|
|
56792
|
-
|
|
56793
|
-
|
|
56794
|
-
|
|
56795
|
-
|
|
56796
|
-
|
|
56797
|
-
|
|
56798
|
-
|
|
56799
|
-
|
|
56800
|
-
|
|
56801
|
-
|
|
56802
|
-
|
|
56803
|
-
|
|
56804
|
-
|
|
56805
|
-
|
|
56806
|
-
|
|
56704
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
56705
|
+
/* @__PURE__ */ jsx(
|
|
56706
|
+
"span",
|
|
56707
|
+
{
|
|
56708
|
+
style: {
|
|
56709
|
+
fontFamily: theme2.fonts.monospace,
|
|
56710
|
+
fontSize: theme2.fontSizes[0],
|
|
56711
|
+
fontWeight: theme2.fontWeights.medium,
|
|
56712
|
+
color: theme2.colors.textMuted
|
|
56713
|
+
},
|
|
56714
|
+
children: selectedTask.id
|
|
56715
|
+
}
|
|
56716
|
+
),
|
|
56717
|
+
/* @__PURE__ */ jsx(StatusBadge, { status: selectedTask.status }),
|
|
56718
|
+
selectedTask.priority && /* @__PURE__ */ jsxs("span", { style: getPriorityStyles(theme2, selectedTask.priority), children: [
|
|
56719
|
+
"Priority: ",
|
|
56720
|
+
selectedTask.priority
|
|
56721
|
+
] })
|
|
56722
|
+
] }),
|
|
56723
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
56724
|
+
deleteState.status === "idle" && /* @__PURE__ */ jsx(
|
|
56725
|
+
"button",
|
|
56726
|
+
{
|
|
56727
|
+
onClick: () => setIsDeleteModalOpen(true),
|
|
56728
|
+
style: {
|
|
56729
|
+
display: "flex",
|
|
56730
|
+
alignItems: "center",
|
|
56731
|
+
justifyContent: "center",
|
|
56732
|
+
width: "28px",
|
|
56733
|
+
height: "28px",
|
|
56734
|
+
border: `1px solid ${theme2.colors.error}`,
|
|
56735
|
+
borderRadius: theme2.radii[1],
|
|
56736
|
+
background: "transparent",
|
|
56737
|
+
cursor: "pointer",
|
|
56738
|
+
color: theme2.colors.error,
|
|
56739
|
+
transition: "all 0.2s ease"
|
|
56740
|
+
},
|
|
56741
|
+
onMouseEnter: (e) => {
|
|
56742
|
+
e.currentTarget.style.background = theme2.colors.error;
|
|
56743
|
+
e.currentTarget.style.color = theme2.colors.background;
|
|
56744
|
+
},
|
|
56745
|
+
onMouseLeave: (e) => {
|
|
56746
|
+
e.currentTarget.style.background = "transparent";
|
|
56747
|
+
e.currentTarget.style.color = theme2.colors.error;
|
|
56748
|
+
},
|
|
56749
|
+
title: "Delete task",
|
|
56750
|
+
children: /* @__PURE__ */ jsx(Trash2, { size: 14 })
|
|
56751
|
+
}
|
|
56752
|
+
),
|
|
56753
|
+
deleteState.status === "success" && /* @__PURE__ */ jsx(
|
|
56754
|
+
"div",
|
|
56755
|
+
{
|
|
56756
|
+
style: {
|
|
56757
|
+
display: "flex",
|
|
56758
|
+
alignItems: "center",
|
|
56759
|
+
justifyContent: "center",
|
|
56760
|
+
width: "28px",
|
|
56761
|
+
height: "28px",
|
|
56762
|
+
border: `1px solid ${theme2.colors.success}`,
|
|
56763
|
+
borderRadius: theme2.radii[1],
|
|
56764
|
+
background: `${theme2.colors.success}15`,
|
|
56765
|
+
color: theme2.colors.success
|
|
56766
|
+
},
|
|
56767
|
+
title: "Task deleted",
|
|
56768
|
+
children: /* @__PURE__ */ jsx(CircleCheckBig, { size: 14 })
|
|
56769
|
+
}
|
|
56770
|
+
),
|
|
56771
|
+
/* @__PURE__ */ jsx(
|
|
56772
|
+
"button",
|
|
56773
|
+
{
|
|
56774
|
+
onClick: handleBack,
|
|
56775
|
+
style: {
|
|
56776
|
+
display: "flex",
|
|
56777
|
+
alignItems: "center",
|
|
56778
|
+
justifyContent: "center",
|
|
56779
|
+
width: "28px",
|
|
56780
|
+
height: "28px",
|
|
56781
|
+
border: `1px solid ${theme2.colors.border}`,
|
|
56782
|
+
borderRadius: theme2.radii[1],
|
|
56783
|
+
background: theme2.colors.surface,
|
|
56784
|
+
cursor: "pointer",
|
|
56785
|
+
color: theme2.colors.textSecondary,
|
|
56786
|
+
transition: "all 0.2s ease"
|
|
56787
|
+
},
|
|
56788
|
+
onMouseEnter: (e) => {
|
|
56789
|
+
e.currentTarget.style.background = theme2.colors.backgroundSecondary;
|
|
56790
|
+
e.currentTarget.style.color = theme2.colors.text;
|
|
56791
|
+
},
|
|
56792
|
+
onMouseLeave: (e) => {
|
|
56793
|
+
e.currentTarget.style.background = theme2.colors.surface;
|
|
56794
|
+
e.currentTarget.style.color = theme2.colors.textSecondary;
|
|
56795
|
+
},
|
|
56796
|
+
title: "Close",
|
|
56797
|
+
children: /* @__PURE__ */ jsx(X, { size: 14 })
|
|
56798
|
+
}
|
|
56799
|
+
)
|
|
56800
|
+
] })
|
|
56801
|
+
]
|
|
56802
|
+
}
|
|
56803
|
+
),
|
|
56804
|
+
/* @__PURE__ */ jsxs(
|
|
56805
|
+
"div",
|
|
56806
|
+
{
|
|
56807
|
+
style: {
|
|
56808
|
+
flexShrink: 0,
|
|
56809
|
+
padding: "12px 16px",
|
|
56810
|
+
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
56811
|
+
backgroundColor: theme2.colors.background
|
|
56812
|
+
},
|
|
56813
|
+
children: [
|
|
56807
56814
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px", marginBottom: "12px" }, children: [
|
|
56808
56815
|
hasClaudeWorkflow && claudeAssignment.status === "idle" && !getGitHubIssueFromRefs(selectedTask.references) && /* @__PURE__ */ jsxs(
|
|
56809
56816
|
"button",
|