dsh-hive-panel 1.0.13 → 1.0.14

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 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.14] - 2026-12-05
8
+
9
+ ### Fixed
10
+
11
+ - Renderer re-synced from hive-panel 1.0.8: task rows strip the workflow prefix and show
12
+ only the task name, while the task details keep the full title. Browser bundle rebuilt.
13
+
14
+ ### Tests
15
+
16
+ - 48 checks pass, including the synced prefix stripping and the full-title detail.
17
+
7
18
  ## [1.0.13] - 2026-12-05
8
19
 
9
20
  ### Fixed
@@ -16,6 +27,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
16
27
 
17
28
  - 48 checks pass, including the synced top-tick health and the scope meta.
18
29
 
30
+ ### Published
31
+
32
+ - npm: `dsh-hive-panel@1.0.13` on 2026-12-05.
33
+
19
34
  ## [1.0.12] - 2026-12-05
20
35
 
21
36
  ### Fixed
package/lib/client.js CHANGED
@@ -3317,6 +3317,15 @@ 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
+
3320
3329
  function element(doc, tag, className, text) {
3321
3330
  const node = doc.createElement(tag);
3322
3331
  if (className) node.className = className;
@@ -6427,7 +6436,8 @@ function mount(root, options = {}) {
6427
6436
 
6428
6437
  function renderCard(card, lane, existing) {
6429
6438
  const node = existing || element(doc, "article", "hive-card");
6430
- const title = card.title || translate("card.untitled");
6439
+ const fullTitle = card.title || translate("card.untitled");
6440
+ const title = taskDisplayTitle(fullTitle);
6431
6441
  if (!existing) {
6432
6442
  setAttr(node, "tabindex", "0");
6433
6443
  setAttr(node, "role", "button");
@@ -6445,8 +6455,8 @@ function mount(root, options = {}) {
6445
6455
  node._hiveCard = card;
6446
6456
  node._hiveLane = lane;
6447
6457
  node._hiveTitle.textContent = title;
6448
- setAttr(node, "aria-label", translate("card.openAria") + " " + title);
6449
- setAttr(node, "title", title);
6458
+ setAttr(node, "aria-label", translate("card.openAria") + " " + fullTitle);
6459
+ setAttr(node, "title", fullTitle);
6450
6460
  return node;
6451
6461
  }
6452
6462
  function renderStageChips(model) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-hive-panel",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
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,6 +3244,15 @@ 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
+
3247
3256
  function element(doc, tag, className, text) {
3248
3257
  const node = doc.createElement(tag);
3249
3258
  if (className) node.className = className;
@@ -6354,7 +6363,8 @@ export function mount(root, options = {}) {
6354
6363
 
6355
6364
  function renderCard(card, lane, existing) {
6356
6365
  const node = existing || element(doc, "article", "hive-card");
6357
- const title = card.title || translate("card.untitled");
6366
+ const fullTitle = card.title || translate("card.untitled");
6367
+ const title = taskDisplayTitle(fullTitle);
6358
6368
  if (!existing) {
6359
6369
  setAttr(node, "tabindex", "0");
6360
6370
  setAttr(node, "role", "button");
@@ -6372,8 +6382,8 @@ export function mount(root, options = {}) {
6372
6382
  node._hiveCard = card;
6373
6383
  node._hiveLane = lane;
6374
6384
  node._hiveTitle.textContent = title;
6375
- setAttr(node, "aria-label", translate("card.openAria") + " " + title);
6376
- setAttr(node, "title", title);
6385
+ setAttr(node, "aria-label", translate("card.openAria") + " " + fullTitle);
6386
+ setAttr(node, "title", fullTitle);
6377
6387
  return node;
6378
6388
  }
6379
6389
  function renderStageChips(model) {