@industry-theme/backlogmd-kanban-panel 1.0.34 → 1.0.35
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.
- package/dist/panels/TaskDetailPanel.d.ts.map +1 -1
- package/dist/panels/kanban/components/TaskCard.d.ts.map +1 -1
- package/dist/panels.bundle.js +317 -268
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +1 -1
- package/dist/panels/KanbanPanel.stories.d.ts +0 -21
- package/dist/panels/KanbanPanel.stories.d.ts.map +0 -1
- package/dist/panels/TaskDetailPanel.stories.d.ts +0 -26
- package/dist/panels/TaskDetailPanel.stories.d.ts.map +0 -1
- package/dist/panels/kanban/components/TaskCard.stories.d.ts +0 -31
- package/dist/panels/kanban/components/TaskCard.stories.d.ts.map +0 -1
package/dist/panels.bundle.js
CHANGED
|
@@ -3740,7 +3740,7 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
3740
3740
|
* This source code is licensed under the ISC license.
|
|
3741
3741
|
* See the LICENSE file in the root directory of this source tree.
|
|
3742
3742
|
*/
|
|
3743
|
-
const __iconNode$
|
|
3743
|
+
const __iconNode$l = [
|
|
3744
3744
|
["path", { d: "M12 8V4H8", key: "hb8ula" }],
|
|
3745
3745
|
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
|
|
3746
3746
|
["path", { d: "M2 14h2", key: "vft8re" }],
|
|
@@ -3748,75 +3748,75 @@ const __iconNode$k = [
|
|
|
3748
3748
|
["path", { d: "M15 13v2", key: "1xurst" }],
|
|
3749
3749
|
["path", { d: "M9 13v2", key: "rq6x2g" }]
|
|
3750
3750
|
];
|
|
3751
|
-
const Bot = createLucideIcon("bot", __iconNode$
|
|
3751
|
+
const Bot = createLucideIcon("bot", __iconNode$l);
|
|
3752
3752
|
/**
|
|
3753
3753
|
* @license lucide-react v0.552.0 - ISC
|
|
3754
3754
|
*
|
|
3755
3755
|
* This source code is licensed under the ISC license.
|
|
3756
3756
|
* See the LICENSE file in the root directory of this source tree.
|
|
3757
3757
|
*/
|
|
3758
|
-
const __iconNode$
|
|
3759
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
3758
|
+
const __iconNode$k = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
3759
|
+
const Check = createLucideIcon("check", __iconNode$k);
|
|
3760
3760
|
/**
|
|
3761
3761
|
* @license lucide-react v0.552.0 - ISC
|
|
3762
3762
|
*
|
|
3763
3763
|
* This source code is licensed under the ISC license.
|
|
3764
3764
|
* See the LICENSE file in the root directory of this source tree.
|
|
3765
3765
|
*/
|
|
3766
|
-
const __iconNode$
|
|
3767
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
3766
|
+
const __iconNode$j = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
3767
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$j);
|
|
3768
3768
|
/**
|
|
3769
3769
|
* @license lucide-react v0.552.0 - ISC
|
|
3770
3770
|
*
|
|
3771
3771
|
* This source code is licensed under the ISC license.
|
|
3772
3772
|
* See the LICENSE file in the root directory of this source tree.
|
|
3773
3773
|
*/
|
|
3774
|
-
const __iconNode$
|
|
3774
|
+
const __iconNode$i = [
|
|
3775
3775
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
3776
3776
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
3777
3777
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
3778
3778
|
];
|
|
3779
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
3779
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$i);
|
|
3780
3780
|
/**
|
|
3781
3781
|
* @license lucide-react v0.552.0 - ISC
|
|
3782
3782
|
*
|
|
3783
3783
|
* This source code is licensed under the ISC license.
|
|
3784
3784
|
* See the LICENSE file in the root directory of this source tree.
|
|
3785
3785
|
*/
|
|
3786
|
-
const __iconNode$
|
|
3786
|
+
const __iconNode$h = [
|
|
3787
3787
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
3788
3788
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
3789
3789
|
];
|
|
3790
|
-
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$
|
|
3790
|
+
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$h);
|
|
3791
3791
|
/**
|
|
3792
3792
|
* @license lucide-react v0.552.0 - ISC
|
|
3793
3793
|
*
|
|
3794
3794
|
* This source code is licensed under the ISC license.
|
|
3795
3795
|
* See the LICENSE file in the root directory of this source tree.
|
|
3796
3796
|
*/
|
|
3797
|
-
const __iconNode$
|
|
3797
|
+
const __iconNode$g = [
|
|
3798
3798
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
3799
3799
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
3800
3800
|
];
|
|
3801
|
-
const CircleCheck = createLucideIcon("circle-check", __iconNode$
|
|
3801
|
+
const CircleCheck = createLucideIcon("circle-check", __iconNode$g);
|
|
3802
3802
|
/**
|
|
3803
3803
|
* @license lucide-react v0.552.0 - ISC
|
|
3804
3804
|
*
|
|
3805
3805
|
* This source code is licensed under the ISC license.
|
|
3806
3806
|
* See the LICENSE file in the root directory of this source tree.
|
|
3807
3807
|
*/
|
|
3808
|
-
const __iconNode$
|
|
3808
|
+
const __iconNode$f = [
|
|
3809
3809
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
3810
3810
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
3811
3811
|
];
|
|
3812
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
3812
|
+
const Copy = createLucideIcon("copy", __iconNode$f);
|
|
3813
3813
|
/**
|
|
3814
3814
|
* @license lucide-react v0.552.0 - ISC
|
|
3815
3815
|
*
|
|
3816
3816
|
* This source code is licensed under the ISC license.
|
|
3817
3817
|
* See the LICENSE file in the root directory of this source tree.
|
|
3818
3818
|
*/
|
|
3819
|
-
const __iconNode$
|
|
3819
|
+
const __iconNode$e = [
|
|
3820
3820
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
3821
3821
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
3822
3822
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -3826,26 +3826,26 @@ const __iconNode$d = [
|
|
|
3826
3826
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
3827
3827
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
3828
3828
|
];
|
|
3829
|
-
const Expand = createLucideIcon("expand", __iconNode$
|
|
3829
|
+
const Expand = createLucideIcon("expand", __iconNode$e);
|
|
3830
3830
|
/**
|
|
3831
3831
|
* @license lucide-react v0.552.0 - ISC
|
|
3832
3832
|
*
|
|
3833
3833
|
* This source code is licensed under the ISC license.
|
|
3834
3834
|
* See the LICENSE file in the root directory of this source tree.
|
|
3835
3835
|
*/
|
|
3836
|
-
const __iconNode$
|
|
3836
|
+
const __iconNode$d = [
|
|
3837
3837
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
3838
3838
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
3839
3839
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
3840
3840
|
];
|
|
3841
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode$
|
|
3841
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$d);
|
|
3842
3842
|
/**
|
|
3843
3843
|
* @license lucide-react v0.552.0 - ISC
|
|
3844
3844
|
*
|
|
3845
3845
|
* This source code is licensed under the ISC license.
|
|
3846
3846
|
* See the LICENSE file in the root directory of this source tree.
|
|
3847
3847
|
*/
|
|
3848
|
-
const __iconNode$
|
|
3848
|
+
const __iconNode$c = [
|
|
3849
3849
|
[
|
|
3850
3850
|
"path",
|
|
3851
3851
|
{
|
|
@@ -3858,14 +3858,14 @@ const __iconNode$b = [
|
|
|
3858
3858
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
3859
3859
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
3860
3860
|
];
|
|
3861
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
3861
|
+
const FileText = createLucideIcon("file-text", __iconNode$c);
|
|
3862
3862
|
/**
|
|
3863
3863
|
* @license lucide-react v0.552.0 - ISC
|
|
3864
3864
|
*
|
|
3865
3865
|
* This source code is licensed under the ISC license.
|
|
3866
3866
|
* See the LICENSE file in the root directory of this source tree.
|
|
3867
3867
|
*/
|
|
3868
|
-
const __iconNode$
|
|
3868
|
+
const __iconNode$b = [
|
|
3869
3869
|
["path", { d: "M12 10v6", key: "1bos4e" }],
|
|
3870
3870
|
["path", { d: "M9 13h6", key: "1uhe8q" }],
|
|
3871
3871
|
[
|
|
@@ -3876,7 +3876,20 @@ const __iconNode$a = [
|
|
|
3876
3876
|
}
|
|
3877
3877
|
]
|
|
3878
3878
|
];
|
|
3879
|
-
const FolderPlus = createLucideIcon("folder-plus", __iconNode$
|
|
3879
|
+
const FolderPlus = createLucideIcon("folder-plus", __iconNode$b);
|
|
3880
|
+
/**
|
|
3881
|
+
* @license lucide-react v0.552.0 - ISC
|
|
3882
|
+
*
|
|
3883
|
+
* This source code is licensed under the ISC license.
|
|
3884
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3885
|
+
*/
|
|
3886
|
+
const __iconNode$a = [
|
|
3887
|
+
["line", { x1: "6", x2: "6", y1: "3", y2: "15", key: "17qcm7" }],
|
|
3888
|
+
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
3889
|
+
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
3890
|
+
["path", { d: "M18 9a9 9 0 0 1-9 9", key: "n2h4wq" }]
|
|
3891
|
+
];
|
|
3892
|
+
const GitBranch = createLucideIcon("git-branch", __iconNode$a);
|
|
3880
3893
|
/**
|
|
3881
3894
|
* @license lucide-react v0.552.0 - ISC
|
|
3882
3895
|
*
|
|
@@ -8292,18 +8305,40 @@ const TaskCard = ({
|
|
|
8292
8305
|
}
|
|
8293
8306
|
},
|
|
8294
8307
|
children: [
|
|
8295
|
-
/* @__PURE__ */
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8308
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "6px", marginBottom: "8px" }, children: [
|
|
8309
|
+
/* @__PURE__ */ jsx(
|
|
8310
|
+
"h4",
|
|
8311
|
+
{
|
|
8312
|
+
style: {
|
|
8313
|
+
margin: 0,
|
|
8314
|
+
fontSize: theme2.fontSizes[2],
|
|
8315
|
+
color: isSelected ? getPriorityColor(task.priority) : theme2.colors.text,
|
|
8316
|
+
fontWeight: theme2.fontWeights.medium,
|
|
8317
|
+
flex: 1
|
|
8318
|
+
},
|
|
8319
|
+
children: displayTitle
|
|
8320
|
+
}
|
|
8321
|
+
),
|
|
8322
|
+
getGitHubIssueFromRefs$1(task.references) && /* @__PURE__ */ jsx(
|
|
8323
|
+
"div",
|
|
8324
|
+
{
|
|
8325
|
+
style: {
|
|
8326
|
+
display: "flex",
|
|
8327
|
+
alignItems: "center",
|
|
8328
|
+
gap: "3px",
|
|
8329
|
+
padding: "2px 6px",
|
|
8330
|
+
borderRadius: theme2.radii[1],
|
|
8331
|
+
background: `${theme2.colors.success}20`,
|
|
8332
|
+
color: theme2.colors.success,
|
|
8333
|
+
fontSize: theme2.fontSizes[0],
|
|
8334
|
+
fontWeight: theme2.fontWeights.medium,
|
|
8335
|
+
flexShrink: 0
|
|
8336
|
+
},
|
|
8337
|
+
title: "Assigned to Claude",
|
|
8338
|
+
children: /* @__PURE__ */ jsx(GitBranch, { size: 10 })
|
|
8339
|
+
}
|
|
8340
|
+
)
|
|
8341
|
+
] }),
|
|
8307
8342
|
task.description && /* @__PURE__ */ jsx(
|
|
8308
8343
|
"p",
|
|
8309
8344
|
{
|
|
@@ -55217,248 +55252,262 @@ const TaskDetailPanel = ({ context, actions, events: events2, config }) => {
|
|
|
55217
55252
|
selectedTask.priority && /* @__PURE__ */ jsx("span", { style: getPriorityStyles(theme2, selectedTask.priority), children: selectedTask.priority }),
|
|
55218
55253
|
/* @__PURE__ */ jsx(StatusBadge, { status: selectedTask.status })
|
|
55219
55254
|
] }),
|
|
55220
|
-
/* @__PURE__ */
|
|
55221
|
-
|
|
55222
|
-
|
|
55223
|
-
|
|
55224
|
-
|
|
55225
|
-
|
|
55226
|
-
|
|
55227
|
-
|
|
55228
|
-
|
|
55229
|
-
|
|
55230
|
-
|
|
55231
|
-
|
|
55232
|
-
|
|
55233
|
-
|
|
55234
|
-
|
|
55235
|
-
|
|
55236
|
-
|
|
55237
|
-
|
|
55238
|
-
|
|
55239
|
-
|
|
55240
|
-
|
|
55241
|
-
|
|
55242
|
-
|
|
55243
|
-
|
|
55244
|
-
|
|
55245
|
-
|
|
55246
|
-
|
|
55247
|
-
|
|
55248
|
-
|
|
55249
|
-
|
|
55250
|
-
|
|
55251
|
-
|
|
55252
|
-
|
|
55253
|
-
|
|
55254
|
-
|
|
55255
|
-
|
|
55256
|
-
|
|
55257
|
-
|
|
55258
|
-
|
|
55259
|
-
|
|
55260
|
-
|
|
55261
|
-
|
|
55262
|
-
|
|
55263
|
-
|
|
55264
|
-
|
|
55265
|
-
|
|
55266
|
-
|
|
55267
|
-
|
|
55268
|
-
|
|
55269
|
-
|
|
55270
|
-
|
|
55271
|
-
|
|
55272
|
-
|
|
55273
|
-
|
|
55274
|
-
|
|
55275
|
-
|
|
55276
|
-
|
|
55277
|
-
|
|
55278
|
-
|
|
55279
|
-
|
|
55280
|
-
|
|
55281
|
-
|
|
55282
|
-
|
|
55283
|
-
|
|
55284
|
-
|
|
55285
|
-
|
|
55286
|
-
|
|
55287
|
-
|
|
55288
|
-
|
|
55289
|
-
|
|
55290
|
-
|
|
55291
|
-
|
|
55292
|
-
|
|
55293
|
-
|
|
55294
|
-
|
|
55295
|
-
|
|
55296
|
-
|
|
55297
|
-
|
|
55298
|
-
|
|
55299
|
-
|
|
55300
|
-
|
|
55301
|
-
|
|
55302
|
-
|
|
55303
|
-
|
|
55304
|
-
|
|
55305
|
-
|
|
55306
|
-
|
|
55307
|
-
|
|
55308
|
-
|
|
55309
|
-
|
|
55310
|
-
|
|
55311
|
-
|
|
55312
|
-
|
|
55313
|
-
|
|
55314
|
-
|
|
55315
|
-
|
|
55316
|
-
|
|
55317
|
-
|
|
55318
|
-
|
|
55319
|
-
|
|
55320
|
-
|
|
55321
|
-
|
|
55322
|
-
|
|
55323
|
-
|
|
55324
|
-
|
|
55325
|
-
|
|
55326
|
-
|
|
55327
|
-
|
|
55328
|
-
|
|
55329
|
-
|
|
55330
|
-
|
|
55331
|
-
|
|
55332
|
-
|
|
55333
|
-
|
|
55334
|
-
|
|
55335
|
-
|
|
55336
|
-
|
|
55337
|
-
|
|
55338
|
-
|
|
55339
|
-
|
|
55340
|
-
|
|
55341
|
-
|
|
55342
|
-
|
|
55343
|
-
|
|
55344
|
-
|
|
55345
|
-
|
|
55346
|
-
|
|
55347
|
-
|
|
55348
|
-
|
|
55349
|
-
|
|
55350
|
-
|
|
55351
|
-
|
|
55352
|
-
|
|
55353
|
-
|
|
55354
|
-
|
|
55355
|
-
|
|
55356
|
-
|
|
55357
|
-
|
|
55358
|
-
|
|
55359
|
-
|
|
55360
|
-
|
|
55361
|
-
|
|
55362
|
-
|
|
55363
|
-
|
|
55364
|
-
|
|
55365
|
-
|
|
55366
|
-
|
|
55367
|
-
|
|
55368
|
-
|
|
55369
|
-
|
|
55370
|
-
|
|
55371
|
-
|
|
55372
|
-
|
|
55373
|
-
|
|
55374
|
-
|
|
55375
|
-
|
|
55376
|
-
|
|
55377
|
-
|
|
55378
|
-
|
|
55379
|
-
|
|
55380
|
-
|
|
55381
|
-
|
|
55382
|
-
|
|
55383
|
-
|
|
55384
|
-
|
|
55385
|
-
|
|
55386
|
-
|
|
55387
|
-
|
|
55388
|
-
|
|
55389
|
-
|
|
55390
|
-
|
|
55391
|
-
|
|
55392
|
-
|
|
55393
|
-
|
|
55394
|
-
|
|
55395
|
-
|
|
55396
|
-
|
|
55397
|
-
|
|
55398
|
-
e.currentTarget.style.background = "transparent";
|
|
55399
|
-
e.currentTarget.style.color = theme2.colors.error;
|
|
55400
|
-
},
|
|
55401
|
-
title: "Delete task",
|
|
55402
|
-
children: [
|
|
55403
|
-
/* @__PURE__ */ jsx(Trash2, { size: 14 }),
|
|
55404
|
-
"Delete"
|
|
55405
|
-
]
|
|
55406
|
-
}
|
|
55407
|
-
),
|
|
55408
|
-
deleteState.status === "success" && /* @__PURE__ */ jsxs(
|
|
55409
|
-
"div",
|
|
55410
|
-
{
|
|
55411
|
-
style: {
|
|
55412
|
-
display: "flex",
|
|
55413
|
-
alignItems: "center",
|
|
55414
|
-
gap: "6px",
|
|
55415
|
-
padding: "6px 12px",
|
|
55416
|
-
border: `1px solid ${theme2.colors.success}`,
|
|
55417
|
-
borderRadius: theme2.radii[1],
|
|
55418
|
-
background: `${theme2.colors.success}15`,
|
|
55419
|
-
color: theme2.colors.success,
|
|
55420
|
-
fontSize: theme2.fontSizes[1],
|
|
55421
|
-
fontWeight: theme2.fontWeights.medium
|
|
55422
|
-
},
|
|
55423
|
-
children: [
|
|
55424
|
-
/* @__PURE__ */ jsx(CircleCheckBig, { size: 14 }),
|
|
55425
|
-
"Task deleted"
|
|
55426
|
-
]
|
|
55427
|
-
}
|
|
55428
|
-
),
|
|
55255
|
+
/* @__PURE__ */ jsx(
|
|
55256
|
+
"button",
|
|
55257
|
+
{
|
|
55258
|
+
onClick: handleBack,
|
|
55259
|
+
style: {
|
|
55260
|
+
display: "flex",
|
|
55261
|
+
alignItems: "center",
|
|
55262
|
+
justifyContent: "center",
|
|
55263
|
+
width: "32px",
|
|
55264
|
+
height: "32px",
|
|
55265
|
+
border: `1px solid ${theme2.colors.border}`,
|
|
55266
|
+
borderRadius: theme2.radii[1],
|
|
55267
|
+
background: theme2.colors.surface,
|
|
55268
|
+
cursor: "pointer",
|
|
55269
|
+
color: theme2.colors.textSecondary,
|
|
55270
|
+
transition: "all 0.2s ease"
|
|
55271
|
+
},
|
|
55272
|
+
onMouseEnter: (e) => {
|
|
55273
|
+
e.currentTarget.style.background = theme2.colors.backgroundSecondary;
|
|
55274
|
+
e.currentTarget.style.color = theme2.colors.text;
|
|
55275
|
+
},
|
|
55276
|
+
onMouseLeave: (e) => {
|
|
55277
|
+
e.currentTarget.style.background = theme2.colors.surface;
|
|
55278
|
+
e.currentTarget.style.color = theme2.colors.textSecondary;
|
|
55279
|
+
},
|
|
55280
|
+
title: "Close",
|
|
55281
|
+
children: /* @__PURE__ */ jsx(X, { size: 16 })
|
|
55282
|
+
}
|
|
55283
|
+
)
|
|
55284
|
+
]
|
|
55285
|
+
}
|
|
55286
|
+
),
|
|
55287
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px", marginBottom: "12px" }, children: [
|
|
55288
|
+
hasClaudeWorkflow && claudeAssignment.status === "idle" && !getGitHubIssueFromRefs(selectedTask.references) && /* @__PURE__ */ jsxs(
|
|
55289
|
+
"button",
|
|
55290
|
+
{
|
|
55291
|
+
onClick: handleAssignToClaude,
|
|
55292
|
+
style: {
|
|
55293
|
+
flex: 1,
|
|
55294
|
+
display: "flex",
|
|
55295
|
+
alignItems: "center",
|
|
55296
|
+
justifyContent: "center",
|
|
55297
|
+
gap: "6px",
|
|
55298
|
+
padding: "6px 12px",
|
|
55299
|
+
border: `1px solid ${theme2.colors.primary}`,
|
|
55300
|
+
borderRadius: theme2.radii[1],
|
|
55301
|
+
background: "transparent",
|
|
55302
|
+
cursor: "pointer",
|
|
55303
|
+
color: theme2.colors.primary,
|
|
55304
|
+
fontSize: theme2.fontSizes[1],
|
|
55305
|
+
fontWeight: theme2.fontWeights.medium,
|
|
55306
|
+
transition: "all 0.2s ease"
|
|
55307
|
+
},
|
|
55308
|
+
onMouseEnter: (e) => {
|
|
55309
|
+
e.currentTarget.style.background = theme2.colors.primary;
|
|
55310
|
+
e.currentTarget.style.color = theme2.colors.background;
|
|
55311
|
+
},
|
|
55312
|
+
onMouseLeave: (e) => {
|
|
55313
|
+
e.currentTarget.style.background = "transparent";
|
|
55314
|
+
e.currentTarget.style.color = theme2.colors.primary;
|
|
55315
|
+
},
|
|
55316
|
+
title: "Assign to Claude",
|
|
55317
|
+
children: [
|
|
55318
|
+
/* @__PURE__ */ jsx(Bot, { size: 14 }),
|
|
55319
|
+
"Assign to Claude"
|
|
55320
|
+
]
|
|
55321
|
+
}
|
|
55322
|
+
),
|
|
55323
|
+
(() => {
|
|
55324
|
+
const existingIssue = getGitHubIssueFromRefs(selectedTask.references);
|
|
55325
|
+
if (!existingIssue || claudeAssignment.status !== "idle") return null;
|
|
55326
|
+
return /* @__PURE__ */ jsxs(
|
|
55327
|
+
"a",
|
|
55328
|
+
{
|
|
55329
|
+
href: existingIssue.url,
|
|
55330
|
+
target: "_blank",
|
|
55331
|
+
rel: "noopener noreferrer",
|
|
55332
|
+
style: {
|
|
55333
|
+
flex: 1,
|
|
55334
|
+
display: "flex",
|
|
55335
|
+
alignItems: "center",
|
|
55336
|
+
justifyContent: "center",
|
|
55337
|
+
gap: "6px",
|
|
55338
|
+
padding: "6px 12px",
|
|
55339
|
+
border: `1px solid ${theme2.colors.primary}`,
|
|
55340
|
+
borderRadius: theme2.radii[1],
|
|
55341
|
+
background: "transparent",
|
|
55342
|
+
color: theme2.colors.primary,
|
|
55343
|
+
fontSize: theme2.fontSizes[1],
|
|
55344
|
+
fontWeight: theme2.fontWeights.medium,
|
|
55345
|
+
textDecoration: "none",
|
|
55346
|
+
transition: "all 0.2s ease"
|
|
55347
|
+
},
|
|
55348
|
+
onMouseEnter: (e) => {
|
|
55349
|
+
e.currentTarget.style.background = theme2.colors.primary;
|
|
55350
|
+
e.currentTarget.style.color = theme2.colors.background;
|
|
55351
|
+
},
|
|
55352
|
+
onMouseLeave: (e) => {
|
|
55353
|
+
e.currentTarget.style.background = "transparent";
|
|
55354
|
+
e.currentTarget.style.color = theme2.colors.primary;
|
|
55355
|
+
},
|
|
55356
|
+
title: `View issue #${existingIssue.number} on GitHub`,
|
|
55357
|
+
children: [
|
|
55358
|
+
/* @__PURE__ */ jsx(Bot, { size: 14 }),
|
|
55359
|
+
"View Progress",
|
|
55360
|
+
/* @__PURE__ */ jsx(ExternalLink, { size: 12 })
|
|
55361
|
+
]
|
|
55362
|
+
}
|
|
55363
|
+
);
|
|
55364
|
+
})(),
|
|
55365
|
+
claudeAssignment.status === "loading" && /* @__PURE__ */ jsxs(
|
|
55366
|
+
"div",
|
|
55367
|
+
{
|
|
55368
|
+
style: {
|
|
55369
|
+
flex: 1,
|
|
55370
|
+
display: "flex",
|
|
55371
|
+
alignItems: "center",
|
|
55372
|
+
justifyContent: "center",
|
|
55373
|
+
gap: "6px",
|
|
55374
|
+
padding: "6px 12px",
|
|
55375
|
+
color: theme2.colors.textSecondary,
|
|
55376
|
+
fontSize: theme2.fontSizes[1]
|
|
55377
|
+
},
|
|
55378
|
+
children: [
|
|
55379
|
+
/* @__PURE__ */ jsx(LoaderCircle, { size: 14, style: { animation: "spin 1s linear infinite" } }),
|
|
55380
|
+
"Assigning..."
|
|
55381
|
+
]
|
|
55382
|
+
}
|
|
55383
|
+
),
|
|
55384
|
+
claudeAssignment.status === "success" && /* @__PURE__ */ jsxs(
|
|
55385
|
+
"a",
|
|
55386
|
+
{
|
|
55387
|
+
href: claudeAssignment.issueUrl,
|
|
55388
|
+
target: "_blank",
|
|
55389
|
+
rel: "noopener noreferrer",
|
|
55390
|
+
style: {
|
|
55391
|
+
flex: 1,
|
|
55392
|
+
display: "flex",
|
|
55393
|
+
alignItems: "center",
|
|
55394
|
+
justifyContent: "center",
|
|
55395
|
+
gap: "6px",
|
|
55396
|
+
padding: "6px 12px",
|
|
55397
|
+
border: `1px solid ${theme2.colors.success}`,
|
|
55398
|
+
borderRadius: theme2.radii[1],
|
|
55399
|
+
background: `${theme2.colors.success}15`,
|
|
55400
|
+
color: theme2.colors.success,
|
|
55401
|
+
fontSize: theme2.fontSizes[1],
|
|
55402
|
+
fontWeight: theme2.fontWeights.medium,
|
|
55403
|
+
textDecoration: "none",
|
|
55404
|
+
transition: "all 0.2s ease"
|
|
55405
|
+
},
|
|
55406
|
+
children: [
|
|
55407
|
+
/* @__PURE__ */ jsx(CircleCheckBig, { size: 14 }),
|
|
55408
|
+
"Issue #",
|
|
55409
|
+
claudeAssignment.issueNumber
|
|
55410
|
+
]
|
|
55411
|
+
}
|
|
55412
|
+
),
|
|
55413
|
+
claudeAssignment.status === "error" && /* @__PURE__ */ jsxs(
|
|
55414
|
+
"div",
|
|
55415
|
+
{
|
|
55416
|
+
style: {
|
|
55417
|
+
flex: 1,
|
|
55418
|
+
display: "flex",
|
|
55419
|
+
alignItems: "center",
|
|
55420
|
+
justifyContent: "center",
|
|
55421
|
+
gap: "6px",
|
|
55422
|
+
padding: "6px 12px",
|
|
55423
|
+
border: `1px solid ${theme2.colors.error}`,
|
|
55424
|
+
borderRadius: theme2.radii[1],
|
|
55425
|
+
background: `${theme2.colors.error}15`,
|
|
55426
|
+
color: theme2.colors.error,
|
|
55427
|
+
fontSize: theme2.fontSizes[1]
|
|
55428
|
+
},
|
|
55429
|
+
title: claudeAssignment.error,
|
|
55430
|
+
children: [
|
|
55431
|
+
/* @__PURE__ */ jsx(CircleAlert, { size: 14 }),
|
|
55432
|
+
"Failed",
|
|
55429
55433
|
/* @__PURE__ */ jsx(
|
|
55430
55434
|
"button",
|
|
55431
55435
|
{
|
|
55432
|
-
onClick:
|
|
55436
|
+
onClick: () => setClaudeAssignment({ status: "idle" }),
|
|
55433
55437
|
style: {
|
|
55434
|
-
|
|
55435
|
-
|
|
55436
|
-
|
|
55437
|
-
width: "32px",
|
|
55438
|
-
height: "32px",
|
|
55439
|
-
border: `1px solid ${theme2.colors.border}`,
|
|
55440
|
-
borderRadius: theme2.radii[1],
|
|
55441
|
-
background: theme2.colors.surface,
|
|
55438
|
+
background: "none",
|
|
55439
|
+
border: "none",
|
|
55440
|
+
color: theme2.colors.error,
|
|
55442
55441
|
cursor: "pointer",
|
|
55443
|
-
|
|
55444
|
-
|
|
55445
|
-
|
|
55446
|
-
onMouseEnter: (e) => {
|
|
55447
|
-
e.currentTarget.style.background = theme2.colors.backgroundSecondary;
|
|
55448
|
-
e.currentTarget.style.color = theme2.colors.text;
|
|
55449
|
-
},
|
|
55450
|
-
onMouseLeave: (e) => {
|
|
55451
|
-
e.currentTarget.style.background = theme2.colors.surface;
|
|
55452
|
-
e.currentTarget.style.color = theme2.colors.textSecondary;
|
|
55442
|
+
padding: "0 0 0 4px",
|
|
55443
|
+
fontSize: theme2.fontSizes[0],
|
|
55444
|
+
textDecoration: "underline"
|
|
55453
55445
|
},
|
|
55454
|
-
|
|
55455
|
-
children: /* @__PURE__ */ jsx(X, { size: 16 })
|
|
55446
|
+
children: "Retry"
|
|
55456
55447
|
}
|
|
55457
55448
|
)
|
|
55458
|
-
]
|
|
55459
|
-
|
|
55460
|
-
|
|
55461
|
-
|
|
55449
|
+
]
|
|
55450
|
+
}
|
|
55451
|
+
),
|
|
55452
|
+
deleteState.status === "idle" && /* @__PURE__ */ jsxs(
|
|
55453
|
+
"button",
|
|
55454
|
+
{
|
|
55455
|
+
onClick: () => setIsDeleteModalOpen(true),
|
|
55456
|
+
style: {
|
|
55457
|
+
flex: 1,
|
|
55458
|
+
display: "flex",
|
|
55459
|
+
alignItems: "center",
|
|
55460
|
+
justifyContent: "center",
|
|
55461
|
+
gap: "6px",
|
|
55462
|
+
padding: "6px 12px",
|
|
55463
|
+
border: `1px solid ${theme2.colors.error}`,
|
|
55464
|
+
borderRadius: theme2.radii[1],
|
|
55465
|
+
background: "transparent",
|
|
55466
|
+
cursor: "pointer",
|
|
55467
|
+
color: theme2.colors.error,
|
|
55468
|
+
fontSize: theme2.fontSizes[1],
|
|
55469
|
+
fontWeight: theme2.fontWeights.medium,
|
|
55470
|
+
transition: "all 0.2s ease"
|
|
55471
|
+
},
|
|
55472
|
+
onMouseEnter: (e) => {
|
|
55473
|
+
e.currentTarget.style.background = theme2.colors.error;
|
|
55474
|
+
e.currentTarget.style.color = theme2.colors.background;
|
|
55475
|
+
},
|
|
55476
|
+
onMouseLeave: (e) => {
|
|
55477
|
+
e.currentTarget.style.background = "transparent";
|
|
55478
|
+
e.currentTarget.style.color = theme2.colors.error;
|
|
55479
|
+
},
|
|
55480
|
+
title: "Delete task",
|
|
55481
|
+
children: [
|
|
55482
|
+
/* @__PURE__ */ jsx(Trash2, { size: 14 }),
|
|
55483
|
+
"Delete"
|
|
55484
|
+
]
|
|
55485
|
+
}
|
|
55486
|
+
),
|
|
55487
|
+
deleteState.status === "success" && /* @__PURE__ */ jsxs(
|
|
55488
|
+
"div",
|
|
55489
|
+
{
|
|
55490
|
+
style: {
|
|
55491
|
+
flex: 1,
|
|
55492
|
+
display: "flex",
|
|
55493
|
+
alignItems: "center",
|
|
55494
|
+
justifyContent: "center",
|
|
55495
|
+
gap: "6px",
|
|
55496
|
+
padding: "6px 12px",
|
|
55497
|
+
border: `1px solid ${theme2.colors.success}`,
|
|
55498
|
+
borderRadius: theme2.radii[1],
|
|
55499
|
+
background: `${theme2.colors.success}15`,
|
|
55500
|
+
color: theme2.colors.success,
|
|
55501
|
+
fontSize: theme2.fontSizes[1],
|
|
55502
|
+
fontWeight: theme2.fontWeights.medium
|
|
55503
|
+
},
|
|
55504
|
+
children: [
|
|
55505
|
+
/* @__PURE__ */ jsx(CircleCheckBig, { size: 14 }),
|
|
55506
|
+
"Task deleted"
|
|
55507
|
+
]
|
|
55508
|
+
}
|
|
55509
|
+
)
|
|
55510
|
+
] }),
|
|
55462
55511
|
/* @__PURE__ */ jsx("style", { children: `
|
|
55463
55512
|
@keyframes spin {
|
|
55464
55513
|
to { transform: rotate(360deg); }
|