@goodandready/dsh-kanban 0.2.10 → 0.2.12
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/lib/client.js +25 -5
- package/package.json +3 -2
package/lib/client.js
CHANGED
|
@@ -696,7 +696,7 @@ window.__ModuleLoader__.load({
|
|
|
696
696
|
if (!setTimer || !clearTimer) return () => {}
|
|
697
697
|
const visible = () => {
|
|
698
698
|
try {
|
|
699
|
-
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.
|
|
699
|
+
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.configForms
|
|
700
700
|
const view = s?.describe?.()?.getSnapshot?.()?.view
|
|
701
701
|
return !!view && Array.isArray(view.namespaces) && view.namespaces.some((row) => row.ns === NS)
|
|
702
702
|
} catch (_) {
|
|
@@ -709,7 +709,7 @@ window.__ModuleLoader__.load({
|
|
|
709
709
|
if (visible() || tries >= 15) { clearTimer(timer); return }
|
|
710
710
|
tries += 1
|
|
711
711
|
try {
|
|
712
|
-
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.
|
|
712
|
+
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.configForms
|
|
713
713
|
s?.describe?.()?.load?.()
|
|
714
714
|
} catch (_) { /* clipboard read best-effort */ }
|
|
715
715
|
}, 1000)
|
|
@@ -1828,8 +1828,8 @@ window.__ModuleLoader__.load({
|
|
|
1828
1828
|
|
|
1829
1829
|
const scope = React.useMemo(
|
|
1830
1830
|
() => {
|
|
1831
|
-
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.
|
|
1832
|
-
return s ? s.
|
|
1831
|
+
const s = (ctx?.get && ctx.get('lanSettings')) || ctx?.configForms
|
|
1832
|
+
return s ? s.get(NS) : undefined
|
|
1833
1833
|
},
|
|
1834
1834
|
[ctx],
|
|
1835
1835
|
)
|
|
@@ -4513,6 +4513,26 @@ window.__ModuleLoader__.load({
|
|
|
4513
4513
|
refreshMirrorUntilVisible(ctx)
|
|
4514
4514
|
const SettingsErrorBoundary = createErrorBoundary()
|
|
4515
4515
|
const SafeSettingsCard = (props) => h(SettingsErrorBoundary, null, h(KanbanSettingsCard, props))
|
|
4516
|
+
// List seat (plugins.item): the seat the Plugins page renders as the plugin's own
|
|
4517
|
+
// page with its configuration. Registered separately from the fallback chain
|
|
4518
|
+
// below — the seat is additive, not an either/or candidate. The label is a static
|
|
4519
|
+
// string on purpose: it is resolved while the page renders, and a locale lookup
|
|
4520
|
+
// there would take the whole client batch down with it.
|
|
4521
|
+
try {
|
|
4522
|
+
ctx.slots.inject('plugins.item', () => {
|
|
4523
|
+
ctx.slots.register({
|
|
4524
|
+
name: 'plugins.item',
|
|
4525
|
+
id: ROW_ID,
|
|
4526
|
+
order: 60,
|
|
4527
|
+
label: () => 'Kanban',
|
|
4528
|
+
locale: NS,
|
|
4529
|
+
inject: () => ({ ctx }),
|
|
4530
|
+
}, SafeSettingsCard)
|
|
4531
|
+
})
|
|
4532
|
+
} catch (e) {
|
|
4533
|
+
console.warn('[dsh-kanban] plugins.item seat unavailable', e)
|
|
4534
|
+
}
|
|
4535
|
+
|
|
4516
4536
|
const cardSlot = registerFirst(ctx, [
|
|
4517
4537
|
{ name: 'plugins.row.config', key: ROW_CONFIG_KEY, locale: NS, inject: () => ({ ctx }) },
|
|
4518
4538
|
{ name: 'settings.plugin.item', key: NS, locale: NS, inject: () => ({ ctx }) },
|
|
@@ -4531,7 +4551,7 @@ window.__ModuleLoader__.load({
|
|
|
4531
4551
|
exports.slots = { card: cardSlot, chip: chipSlot }
|
|
4532
4552
|
}
|
|
4533
4553
|
|
|
4534
|
-
module.exports = { apply, inject: ['slots', 'locale', '
|
|
4554
|
+
module.exports = { apply, inject: ['slots', 'locale', 'configForms'], helpers }
|
|
4535
4555
|
return module.exports
|
|
4536
4556
|
},
|
|
4537
4557
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-kanban",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "Visual Kanban board for DeepSeek Harness: Gitea-backed tasks, workflow columns, and a dedicated agent session per task.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
"platform": "web",
|
|
49
49
|
"inject": [
|
|
50
50
|
"@deepseek-ai/dsh-client-locale",
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-settings"
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-slots"
|
|
52
53
|
]
|
|
53
54
|
}
|
|
54
55
|
},
|