dsh-hive-panel 1.0.14 → 1.0.15
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/CHANGELOG.md +15 -0
- package/lib/client.js +3 -13
- package/package.json +1 -1
- package/src/panel.js +3 -13
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ All notable changes to this project are documented in this file. The format is
|
|
|
4
4
|
based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project
|
|
5
5
|
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.0.15] - 2026-12-05
|
|
8
|
+
|
|
9
|
+
### Reverted
|
|
10
|
+
|
|
11
|
+
- Renderer re-synced from hive-panel 1.0.9: the 1.0.14 task-row prefix stripping is
|
|
12
|
+
reverted, so task titles render exactly as stored again. Browser bundle rebuilt.
|
|
13
|
+
|
|
14
|
+
### Tests
|
|
15
|
+
|
|
16
|
+
- 48 checks pass.
|
|
17
|
+
|
|
7
18
|
## [1.0.14] - 2026-12-05
|
|
8
19
|
|
|
9
20
|
### Fixed
|
|
@@ -15,6 +26,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
15
26
|
|
|
16
27
|
- 48 checks pass, including the synced prefix stripping and the full-title detail.
|
|
17
28
|
|
|
29
|
+
### Published
|
|
30
|
+
|
|
31
|
+
- npm: `dsh-hive-panel@1.0.14` on 2026-12-05.
|
|
32
|
+
|
|
18
33
|
## [1.0.13] - 2026-12-05
|
|
19
34
|
|
|
20
35
|
### Fixed
|
package/lib/client.js
CHANGED
|
@@ -3317,15 +3317,6 @@ function supervisorWorkerCount(row) {
|
|
|
3317
3317
|
return found ? total : null;
|
|
3318
3318
|
}
|
|
3319
3319
|
|
|
3320
|
-
function taskDisplayTitle(title) {
|
|
3321
|
-
const full = asString(title);
|
|
3322
|
-
if (!full) return full;
|
|
3323
|
-
const stripped = full
|
|
3324
|
-
.replace(/^[\w.-]+\/[A-Za-z]?\d+\s*[::]\s*/, "")
|
|
3325
|
-
.replace(/^[A-Za-z]+-\d+\s*[::]\s*/, "");
|
|
3326
|
-
return stripped || full;
|
|
3327
|
-
}
|
|
3328
|
-
|
|
3329
3320
|
function element(doc, tag, className, text) {
|
|
3330
3321
|
const node = doc.createElement(tag);
|
|
3331
3322
|
if (className) node.className = className;
|
|
@@ -6436,8 +6427,7 @@ function mount(root, options = {}) {
|
|
|
6436
6427
|
|
|
6437
6428
|
function renderCard(card, lane, existing) {
|
|
6438
6429
|
const node = existing || element(doc, "article", "hive-card");
|
|
6439
|
-
const
|
|
6440
|
-
const title = taskDisplayTitle(fullTitle);
|
|
6430
|
+
const title = card.title || translate("card.untitled");
|
|
6441
6431
|
if (!existing) {
|
|
6442
6432
|
setAttr(node, "tabindex", "0");
|
|
6443
6433
|
setAttr(node, "role", "button");
|
|
@@ -6455,8 +6445,8 @@ function mount(root, options = {}) {
|
|
|
6455
6445
|
node._hiveCard = card;
|
|
6456
6446
|
node._hiveLane = lane;
|
|
6457
6447
|
node._hiveTitle.textContent = title;
|
|
6458
|
-
setAttr(node, "aria-label", translate("card.openAria") + " " +
|
|
6459
|
-
setAttr(node, "title",
|
|
6448
|
+
setAttr(node, "aria-label", translate("card.openAria") + " " + title);
|
|
6449
|
+
setAttr(node, "title", title);
|
|
6460
6450
|
return node;
|
|
6461
6451
|
}
|
|
6462
6452
|
function renderStageChips(model) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-hive-panel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Hive board and queen mode inside DSH Web: a conversation view scoped to the Session's repository, with allowlisted task-card actions over DSH's shell seam.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
package/src/panel.js
CHANGED
|
@@ -3244,15 +3244,6 @@ function supervisorWorkerCount(row) {
|
|
|
3244
3244
|
return found ? total : null;
|
|
3245
3245
|
}
|
|
3246
3246
|
|
|
3247
|
-
function taskDisplayTitle(title) {
|
|
3248
|
-
const full = asString(title);
|
|
3249
|
-
if (!full) return full;
|
|
3250
|
-
const stripped = full
|
|
3251
|
-
.replace(/^[\w.-]+\/[A-Za-z]?\d+\s*[::]\s*/, "")
|
|
3252
|
-
.replace(/^[A-Za-z]+-\d+\s*[::]\s*/, "");
|
|
3253
|
-
return stripped || full;
|
|
3254
|
-
}
|
|
3255
|
-
|
|
3256
3247
|
function element(doc, tag, className, text) {
|
|
3257
3248
|
const node = doc.createElement(tag);
|
|
3258
3249
|
if (className) node.className = className;
|
|
@@ -6363,8 +6354,7 @@ export function mount(root, options = {}) {
|
|
|
6363
6354
|
|
|
6364
6355
|
function renderCard(card, lane, existing) {
|
|
6365
6356
|
const node = existing || element(doc, "article", "hive-card");
|
|
6366
|
-
const
|
|
6367
|
-
const title = taskDisplayTitle(fullTitle);
|
|
6357
|
+
const title = card.title || translate("card.untitled");
|
|
6368
6358
|
if (!existing) {
|
|
6369
6359
|
setAttr(node, "tabindex", "0");
|
|
6370
6360
|
setAttr(node, "role", "button");
|
|
@@ -6382,8 +6372,8 @@ export function mount(root, options = {}) {
|
|
|
6382
6372
|
node._hiveCard = card;
|
|
6383
6373
|
node._hiveLane = lane;
|
|
6384
6374
|
node._hiveTitle.textContent = title;
|
|
6385
|
-
setAttr(node, "aria-label", translate("card.openAria") + " " +
|
|
6386
|
-
setAttr(node, "title",
|
|
6375
|
+
setAttr(node, "aria-label", translate("card.openAria") + " " + title);
|
|
6376
|
+
setAttr(node, "title", title);
|
|
6387
6377
|
return node;
|
|
6388
6378
|
}
|
|
6389
6379
|
function renderStageChips(model) {
|