@yankeguo/dsh-client-ui-devlead 0.4.2-rc.6 → 0.4.2-rc.9
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/README.md +9 -4
- package/lib/client.js +243 -92
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -58,7 +58,10 @@ Browser half of the DevLead suite, loaded on the DSH **Web** platform.
|
|
|
58
58
|
Files state machine (`stat`, `readBytes`, `changes`, watch + poll). Cards show note count and
|
|
59
59
|
latest-title chips from index metadata; bodies are not embedded in the index. Opening a note loads
|
|
60
60
|
only that validated `<project.directory>/<note.id>.md` body into a full-pane, read-only reader.
|
|
61
|
-
Both the index and current note refresh automatically after external
|
|
61
|
+
Both the index and current note refresh automatically after external/native edits. The ready reader
|
|
62
|
+
header prefers the current file's successful-stat observation time and exposes its live byte count;
|
|
63
|
+
DSH's opaque stat `version` is never parsed as an mtime. List ordering/times and chips still use index
|
|
64
|
+
metadata, whose stale bytes/updatedAt never gate body freshness or reopen the watch. Empty/missing,
|
|
62
65
|
loading, read, malformed, oversized, and watch-ended states remain distinct; a bad index or note
|
|
63
66
|
degrades only its notes surface, not the board. The dependency-free Markdown subset renders
|
|
64
67
|
headings, paragraphs, lists, quotes, fenced/inline code, emphasis, strikethrough, and explicit
|
|
@@ -128,9 +131,11 @@ field label,但保留 focus/next/blocker 与任务进度,非自明图标有
|
|
|
128
131
|
client 从已解析的 board config 派生 `dirname(boardPath)/notes/index.json`,不接受用户路径,index
|
|
129
132
|
与正文 I/O 都只经既有 Workspace Files `stat/readBytes/changes` 和 watch+poll 状态机。卡片从 metadata
|
|
130
133
|
显示 note 数与最近标题 chip,index 不含正文;打开 note 时才读取经过校验的
|
|
131
|
-
`<project.directory>/<note.id>.md`,并用全栏只读 reader 展示。index 与当前 note
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
`<project.directory>/<note.id>.md`,并用全栏只读 reader 展示。index 与当前 note 都会在外部/原生修改后
|
|
135
|
+
自动刷新;ready reader 标题栏优先显示当前文件成功 stat 的观察时间并保留 live bytes,绝不把 DSH opaque
|
|
136
|
+
version 当 mtime 解析。list 排序/时间与 chip 仍用 index metadata,过期的 bytes/updatedAt 不决定正文代际,
|
|
137
|
+
也不触发 watch 重建。缺失/空、加载、读取/解析错误、超限与 watch ended 分开呈现,坏 index/note 只降级
|
|
138
|
+
对应 notes 区域,不影响 board。无依赖 Markdown 子集以 React 元素/文本渲染标题、段落、列表、引用、
|
|
134
139
|
fenced/inline code、强调、删除线与显式 HTTP(S) 链接;raw HTML 和危险 scheme 保持惰性文本,不使用
|
|
135
140
|
`dangerouslySetInnerHTML`,浏览器没有写路径。
|
|
136
141
|
0.2.0 起样式注入用跨模块实例引用计数(HMR 新旧实例交替不误删标签),组件与准入 hook 用
|
package/lib/client.js
CHANGED
|
@@ -827,6 +827,12 @@ window.__ModuleLoader__.load({
|
|
|
827
827
|
return projects.length === 0 ? [] : [{ status, projects }];
|
|
828
828
|
});
|
|
829
829
|
}
|
|
830
|
+
function summarizeDevLeadBoardProjects(board) {
|
|
831
|
+
const groups = groupDevLeadBoardProjects(board);
|
|
832
|
+
const counts = { active: 0, blocked: 0, paused: 0, done: 0 };
|
|
833
|
+
for (const group of groups) counts[group.status] = group.projects.length;
|
|
834
|
+
return { groups, counts };
|
|
835
|
+
}
|
|
830
836
|
function projectStatusTone(status) {
|
|
831
837
|
switch (status) {
|
|
832
838
|
case "blocked":
|
|
@@ -909,7 +915,7 @@ window.__ModuleLoader__.load({
|
|
|
909
915
|
"aria-label": label,
|
|
910
916
|
"data-devlead-board-open": "true",
|
|
911
917
|
onClick: onOpen,
|
|
912
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_dsh_client_ui_primitives2.
|
|
918
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_dsh_client_ui_primitives2.IconGaugeOutlineRegular, { size: 18 })
|
|
913
919
|
}
|
|
914
920
|
) });
|
|
915
921
|
}
|
|
@@ -945,6 +951,7 @@ window.__ModuleLoader__.load({
|
|
|
945
951
|
debounceMs = 120,
|
|
946
952
|
pollMs = 5e3,
|
|
947
953
|
pollMaxMs = 3e4,
|
|
954
|
+
readTimeoutMs = 1e4,
|
|
948
955
|
now = Date.now
|
|
949
956
|
}) {
|
|
950
957
|
const [state, setState] = (0, import_react.useState)(() => initialState(config));
|
|
@@ -953,9 +960,14 @@ window.__ModuleLoader__.load({
|
|
|
953
960
|
const [watchGeneration, setWatchGeneration] = (0, import_react.useState)(0);
|
|
954
961
|
const generation = (0, import_react.useRef)(0);
|
|
955
962
|
const readAbort = (0, import_react.useRef)(void 0);
|
|
963
|
+
const readTimeout = (0, import_react.useRef)(void 0);
|
|
956
964
|
const trailingRead = (0, import_react.useRef)(false);
|
|
957
965
|
const refreshRead = (0, import_react.useCallback)((force = false, queueTrailing = false) => {
|
|
958
966
|
if (config === void 0) {
|
|
967
|
+
if (readTimeout.current !== void 0) {
|
|
968
|
+
clearTimeout(readTimeout.current);
|
|
969
|
+
readTimeout.current = void 0;
|
|
970
|
+
}
|
|
959
971
|
generation.current += 1;
|
|
960
972
|
readAbort.current?.abort();
|
|
961
973
|
readAbort.current = void 0;
|
|
@@ -966,11 +978,22 @@ window.__ModuleLoader__.load({
|
|
|
966
978
|
if (queueTrailing) trailingRead.current = true;
|
|
967
979
|
return;
|
|
968
980
|
}
|
|
981
|
+
if (readTimeout.current !== void 0) {
|
|
982
|
+
clearTimeout(readTimeout.current);
|
|
983
|
+
readTimeout.current = void 0;
|
|
984
|
+
}
|
|
969
985
|
const request = ++generation.current;
|
|
970
986
|
trailingRead.current = false;
|
|
971
987
|
readAbort.current?.abort();
|
|
972
988
|
const controller = new AbortController();
|
|
973
989
|
readAbort.current = controller;
|
|
990
|
+
const timeout = setTimeout(() => {
|
|
991
|
+
if (readTimeout.current === timeout) readTimeout.current = void 0;
|
|
992
|
+
if (generation.current !== request || controller.signal.aborted) return;
|
|
993
|
+
fail("read", new Error(`${config.fileLabel} read timed out after ${readTimeoutMs} ms`));
|
|
994
|
+
controller.abort();
|
|
995
|
+
}, readTimeoutMs);
|
|
996
|
+
readTimeout.current = timeout;
|
|
974
997
|
setState((previous) => ({
|
|
975
998
|
...previous,
|
|
976
999
|
status: previous.status === "disabled" ? "loading" : previous.status,
|
|
@@ -998,6 +1021,7 @@ window.__ModuleLoader__.load({
|
|
|
998
1021
|
else fail("read", metadata.error);
|
|
999
1022
|
return;
|
|
1000
1023
|
}
|
|
1024
|
+
const observedAt = new Date(now()).toISOString();
|
|
1001
1025
|
if (metadata.value.bytes !== void 0 && metadata.value.bytes > config.maxBytes) {
|
|
1002
1026
|
fail("parse", config.parseError(`${config.fileLabel} exceeds ${config.maxBytes} bytes`));
|
|
1003
1027
|
return;
|
|
@@ -1025,12 +1049,16 @@ window.__ModuleLoader__.load({
|
|
|
1025
1049
|
value,
|
|
1026
1050
|
valuePath: config.path,
|
|
1027
1051
|
lastSuccessAt: new Date(now()).toISOString(),
|
|
1052
|
+
observedAt,
|
|
1053
|
+
...metadata.value.bytes === void 0 ? {} : { observedBytes: metadata.value.bytes },
|
|
1028
1054
|
refreshing: false
|
|
1029
1055
|
});
|
|
1030
1056
|
} catch (error) {
|
|
1031
1057
|
if (generation.current !== request || controller.signal.aborted) return;
|
|
1032
1058
|
fail("read", error);
|
|
1033
1059
|
} finally {
|
|
1060
|
+
clearTimeout(timeout);
|
|
1061
|
+
if (readTimeout.current === timeout) readTimeout.current = void 0;
|
|
1034
1062
|
if (readAbort.current === controller) {
|
|
1035
1063
|
readAbort.current = void 0;
|
|
1036
1064
|
if (trailingRead.current && generation.current === request && !controller.signal.aborted) {
|
|
@@ -1042,7 +1070,7 @@ window.__ModuleLoader__.load({
|
|
|
1042
1070
|
}
|
|
1043
1071
|
}
|
|
1044
1072
|
})();
|
|
1045
|
-
}, [config, files, now, sessionId]);
|
|
1073
|
+
}, [config, files, now, readTimeoutMs, sessionId]);
|
|
1046
1074
|
(0, import_react.useEffect)(() => {
|
|
1047
1075
|
if (config === void 0) {
|
|
1048
1076
|
setState(DISABLED);
|
|
@@ -1086,6 +1114,10 @@ window.__ModuleLoader__.load({
|
|
|
1086
1114
|
if (timer !== void 0) clearTimeout(timer);
|
|
1087
1115
|
generation.current += 1;
|
|
1088
1116
|
watcher.abort();
|
|
1117
|
+
if (readTimeout.current !== void 0) {
|
|
1118
|
+
clearTimeout(readTimeout.current);
|
|
1119
|
+
readTimeout.current = void 0;
|
|
1120
|
+
}
|
|
1089
1121
|
readAbort.current?.abort();
|
|
1090
1122
|
};
|
|
1091
1123
|
}, [config, debounceMs, files, refreshRead, sessionId, watchGeneration]);
|
|
@@ -1162,6 +1194,7 @@ window.__ModuleLoader__.load({
|
|
|
1162
1194
|
debounceMs = 120,
|
|
1163
1195
|
pollMs = 5e3,
|
|
1164
1196
|
pollMaxMs = 3e4,
|
|
1197
|
+
readTimeoutMs = 1e4,
|
|
1165
1198
|
now = Date.now
|
|
1166
1199
|
}) {
|
|
1167
1200
|
const fileConfig = (0, import_react2.useMemo)(() => config === void 0 ? void 0 : {
|
|
@@ -1179,6 +1212,7 @@ window.__ModuleLoader__.load({
|
|
|
1179
1212
|
debounceMs,
|
|
1180
1213
|
pollMs,
|
|
1181
1214
|
pollMaxMs,
|
|
1215
|
+
readTimeoutMs,
|
|
1182
1216
|
now
|
|
1183
1217
|
});
|
|
1184
1218
|
return {
|
|
@@ -1271,7 +1305,7 @@ window.__ModuleLoader__.load({
|
|
|
1271
1305
|
parse: parseDevLeadNoteBytes,
|
|
1272
1306
|
parseError: (message, options) => new DevLeadNotesParseError(message, options)
|
|
1273
1307
|
};
|
|
1274
|
-
}, [metadata?.id, metadata?.path,
|
|
1308
|
+
}, [metadata?.id, metadata?.path, paths?.root, paths?.pathPlatform]);
|
|
1275
1309
|
return useWorkspaceFile({ sessionId, config: fileConfig, files, visible: visible && metadata !== void 0, debounceMs, pollMs, pollMaxMs, now });
|
|
1276
1310
|
}
|
|
1277
1311
|
|
|
@@ -1558,6 +1592,18 @@ window.__ModuleLoader__.load({
|
|
|
1558
1592
|
return "idle";
|
|
1559
1593
|
}
|
|
1560
1594
|
}
|
|
1595
|
+
function ProjectStatusIcon({ status }) {
|
|
1596
|
+
switch (status) {
|
|
1597
|
+
case "active":
|
|
1598
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dsh_client_ui_primitives3.IconPlayOutlineRegular, { size: 13 });
|
|
1599
|
+
case "blocked":
|
|
1600
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dsh_client_ui_primitives3.IconWarningOutlineRegular, { size: 13 });
|
|
1601
|
+
case "paused":
|
|
1602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dsh_client_ui_primitives3.IconPauseOutlineRegular, { size: 13 });
|
|
1603
|
+
case "done":
|
|
1604
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dsh_client_ui_primitives3.IconCheckCircleOutlineRegular, { size: 13 });
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1561
1607
|
function ProjectCard({ project, now, t, notesProject, onOpenNotes }) {
|
|
1562
1608
|
const idPrefix = (0, import_react5.useId)();
|
|
1563
1609
|
const [tasksOpen, setTasksOpen] = (0, import_react5.useState)(false);
|
|
@@ -1726,6 +1772,7 @@ window.__ModuleLoader__.load({
|
|
|
1726
1772
|
const metadata = sorted.find((note) => note.id === notes.selection?.noteId) ?? sorted[0];
|
|
1727
1773
|
const expectedPath = metadata === void 0 ? void 0 : resolveDevLeadNotePath(notes.paths, metadata);
|
|
1728
1774
|
const documentReady = notes.note.status === "ready" && notes.note.value !== void 0 && notes.note.valuePath === expectedPath;
|
|
1775
|
+
const liveObservedAt = documentReady ? notes.note.observedAt : void 0;
|
|
1729
1776
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("section", { className: "devlead-notes-reader", "data-devlead-notes-reader": project.id, "aria-labelledby": `${idPrefix}-title`, children: [
|
|
1730
1777
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("header", { className: "devlead-notes-reader-header", children: [
|
|
1731
1778
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dsh_client_ui_primitives3.Tooltip, { label: t("board.notes.back"), side: "right", delayMs: 300, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dsh_client_ui_primitives3.Button, { variant: "ghost", size: "sm", className: "devlead-notes-back", "aria-label": t("board.notes.back"), onClick: notes.onClose, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dsh_client_ui_primitives3.IconChevronLeftOutlineRegular, { size: 16 }) }) }),
|
|
@@ -1740,7 +1787,7 @@ window.__ModuleLoader__.load({
|
|
|
1740
1787
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("header", { children: [
|
|
1741
1788
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h4", { title: metadata.title, children: metadata.title }),
|
|
1742
1789
|
metadata.summary.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { children: metadata.summary }),
|
|
1743
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(RelativeTime, { iso: metadata.updatedAt, now, t, label: t("board.project.updated") })
|
|
1790
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(RelativeTime, { iso: liveObservedAt ?? metadata.updatedAt, now, t, label: t("board.project.updated") })
|
|
1744
1791
|
] }),
|
|
1745
1792
|
notes.note.status === "error" ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(NotesState, { kind: "error", t, message: notes.note.error?.message }) : notes.note.status === "empty" ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(NotesState, { kind: "note-empty", t }) : !documentReady ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(NotesState, { kind: "loading", t }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(DevLeadMarkdown, { markdown: notes.note.value?.markdown ?? "" })
|
|
1746
1793
|
] })
|
|
@@ -1763,9 +1810,9 @@ window.__ModuleLoader__.load({
|
|
|
1763
1810
|
const idPrefix = (0, import_react5.useId)();
|
|
1764
1811
|
if (state.status === "disabled") return null;
|
|
1765
1812
|
const board = state.board;
|
|
1766
|
-
const
|
|
1767
|
-
const
|
|
1768
|
-
|
|
1813
|
+
const summary = board === void 0 ? void 0 : summarizeDevLeadBoardProjects(board);
|
|
1814
|
+
const groups = summary?.groups ?? [];
|
|
1815
|
+
const counts = summary?.counts ?? { active: 0, blocked: 0, paused: 0, done: 0 };
|
|
1769
1816
|
const blocked = counts.blocked;
|
|
1770
1817
|
const refreshState = state.status === "error" ? "error" : autoRefresh === "paused" || watch === "ended" ? "warning" : state.refreshing || state.status === "loading" || watch === "connecting" ? "ongoing" : autoRefresh === "active" && state.status === "ready" ? "done" : "idle";
|
|
1771
1818
|
const endedKey = autoRefresh === "active" ? "board.watch.ended" : autoRefresh === "paused" ? "board.watch.ended.paused" : "board.watch.ended.disabled";
|
|
@@ -1797,8 +1844,8 @@ window.__ModuleLoader__.load({
|
|
|
1797
1844
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "devlead-board-header-strip", children: [
|
|
1798
1845
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "devlead-board-live", "data-auto-refresh": autoRefresh, title: `${t("board.live")}: ${statusText}`, children: [
|
|
1799
1846
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dsh_client_ui_primitives3.StateDot, { state: refreshState, size: 8 }),
|
|
1800
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "devlead-
|
|
1801
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { "aria-hidden": "true", children: statusText }),
|
|
1847
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "devlead-board-live-label", "aria-hidden": "true", children: t("board.live") }),
|
|
1848
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "devlead-board-live-status", "aria-hidden": "true", children: statusText }),
|
|
1802
1849
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1803
1850
|
"span",
|
|
1804
1851
|
{
|
|
@@ -1819,12 +1866,25 @@ window.__ModuleLoader__.load({
|
|
|
1819
1866
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "devlead-board-revision", title: t("board.revision.full", { revision: board.revision }), children: t("board.revision", { revision: board.revision }) })
|
|
1820
1867
|
] })
|
|
1821
1868
|
] }),
|
|
1822
|
-
board !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("dl", { className: "devlead-board-kpis", "aria-label": t("board.kpi.aria"), children: ["
|
|
1869
|
+
board !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("dl", { className: "devlead-board-kpis", "aria-label": t("board.kpi.aria"), tabIndex: 0, children: ["blocked", "active", "paused", "done"].map((status) => {
|
|
1823
1870
|
const count = counts[status];
|
|
1824
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1871
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
1872
|
+
"div",
|
|
1873
|
+
{
|
|
1874
|
+
"data-devlead-board-kpi": status,
|
|
1875
|
+
"data-tone": status,
|
|
1876
|
+
"data-empty": count === 0 ? "true" : "false",
|
|
1877
|
+
"data-emphasis": status === "blocked" && count > 0 ? "true" : "false",
|
|
1878
|
+
children: [
|
|
1879
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("dt", { children: [
|
|
1880
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "devlead-board-kpi-icon", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ProjectStatusIcon, { status }) }),
|
|
1881
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: t(`board.status.${status}`) })
|
|
1882
|
+
] }),
|
|
1883
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("dd", { "aria-label": t("board.kpi.value", { status: t(`board.status.${status}`), count }), children: count })
|
|
1884
|
+
]
|
|
1885
|
+
},
|
|
1886
|
+
status
|
|
1887
|
+
);
|
|
1828
1888
|
}) })
|
|
1829
1889
|
] }),
|
|
1830
1890
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "devlead-board-content", children: [
|
|
@@ -2076,51 +2136,65 @@ window.__ModuleLoader__.load({
|
|
|
2076
2136
|
] });
|
|
2077
2137
|
}
|
|
2078
2138
|
|
|
2139
|
+
// packages/client-ui/src/client/DevLeadSessionAccessibleMark.tsx
|
|
2140
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
2141
|
+
function DevLeadSessionAccessibleMark({ sessionId, useSessions, t }) {
|
|
2142
|
+
const enabled = useSessions((state) => devLeadRowEnabled(devLeadRowSummaryOf(state.byId, sessionId)));
|
|
2143
|
+
if (!enabled) return null;
|
|
2144
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "devlead-sr-only", "data-devlead-row-accessible": "lead", children: t("row.hover.enabled") });
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2079
2147
|
// packages/client-ui/src/client/DevLeadSessionHoverMark.tsx
|
|
2080
2148
|
var import_dsh_client_ui_primitives5 = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
2081
|
-
var
|
|
2149
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
2082
2150
|
function DevLeadSessionHoverMark({ sessionId, useSessions, t }) {
|
|
2083
2151
|
const enabled = useSessions((state) => devLeadRowEnabled(devLeadRowSummaryOf(state.byId, sessionId)));
|
|
2084
2152
|
const watched = useSessions((state) => devLeadRowWatched(sessionId, state.byId));
|
|
2085
2153
|
if (enabled) {
|
|
2086
|
-
return /* @__PURE__ */ (0,
|
|
2087
|
-
/* @__PURE__ */ (0,
|
|
2088
|
-
/* @__PURE__ */ (0,
|
|
2154
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "devlead-row-hover", "data-devlead-row-hover": "true", children: [
|
|
2155
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "devlead-row-hover-glyph", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "devlead-row-hover-active-dot" }) }),
|
|
2156
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: t("row.hover.enabled") })
|
|
2089
2157
|
] });
|
|
2090
2158
|
}
|
|
2091
2159
|
if (!watched) return null;
|
|
2092
|
-
return /* @__PURE__ */ (0,
|
|
2093
|
-
/* @__PURE__ */ (0,
|
|
2094
|
-
/* @__PURE__ */ (0,
|
|
2160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "devlead-row-hover", "data-devlead-row-hover": "true", "data-devlead-row-watched": "true", children: [
|
|
2161
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "devlead-row-hover-glyph", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_dsh_client_ui_primitives5.IconGoalOutlineRegular, { size: 14 }) }),
|
|
2162
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: t("row.hover.watched") })
|
|
2095
2163
|
] });
|
|
2096
2164
|
}
|
|
2097
2165
|
|
|
2098
2166
|
// packages/client-ui/src/client/DevLeadSessionMark.tsx
|
|
2099
2167
|
var import_dsh_client_ui_primitives6 = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
2100
|
-
var
|
|
2168
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
2101
2169
|
function DevLeadSessionMark({ sessionId, useSessions, t }) {
|
|
2102
2170
|
const enabled = useSessions((state) => devLeadRowEnabled(devLeadRowSummaryOf(state.byId, sessionId)));
|
|
2103
2171
|
const watched = useSessions((state) => devLeadRowWatched(sessionId, state.byId));
|
|
2104
2172
|
if (enabled) {
|
|
2105
|
-
return /* @__PURE__ */ (0,
|
|
2173
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
2106
2174
|
"span",
|
|
2107
2175
|
{
|
|
2108
|
-
className: "devlead-
|
|
2176
|
+
className: "devlead-row-mark devlead-row-mark-lead",
|
|
2109
2177
|
role: "img",
|
|
2110
2178
|
"aria-label": t("row.mark.aria"),
|
|
2111
|
-
|
|
2179
|
+
title: t("row.mark.aria"),
|
|
2180
|
+
"data-devlead-active-mark": "true",
|
|
2181
|
+
"data-devlead-row-mark": "lead",
|
|
2182
|
+
children: [
|
|
2183
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_dsh_client_ui_primitives6.IconSparkleRegular, { size: 10 }),
|
|
2184
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "devlead-row-mark-lead-label", "aria-hidden": "true", children: t("row.mark.short") })
|
|
2185
|
+
]
|
|
2112
2186
|
}
|
|
2113
2187
|
);
|
|
2114
2188
|
}
|
|
2115
2189
|
if (!watched) return null;
|
|
2116
|
-
return /* @__PURE__ */ (0,
|
|
2190
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
2117
2191
|
"span",
|
|
2118
2192
|
{
|
|
2119
2193
|
className: "devlead-row-mark devlead-row-mark-watched",
|
|
2120
2194
|
role: "img",
|
|
2121
2195
|
"aria-label": t("row.watched.aria"),
|
|
2122
2196
|
"data-devlead-row-mark": "watched",
|
|
2123
|
-
children: /* @__PURE__ */ (0,
|
|
2197
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_dsh_client_ui_primitives6.IconGoalOutlineRegular, { size: 13 })
|
|
2124
2198
|
}
|
|
2125
2199
|
);
|
|
2126
2200
|
}
|
|
@@ -2136,6 +2210,7 @@ window.__ModuleLoader__.load({
|
|
|
2136
2210
|
"count.running": "\u8FD0\u884C\u4E2D {count}",
|
|
2137
2211
|
"count.missing": "{count} \u4E2A\u5DF2\u4E0D\u53EF\u7528",
|
|
2138
2212
|
"row.mark.aria": "\u5F53\u524D\u6FC0\u6D3B\u7684 DevLead \u4F1A\u8BDD",
|
|
2213
|
+
"row.mark.short": "LEAD",
|
|
2139
2214
|
"row.watched.aria": "\u88AB\u5F53\u524D DevLead \u5173\u6CE8",
|
|
2140
2215
|
"row.hover.enabled": "\u5F53\u524D\u6FC0\u6D3B\u7684 DevLead \u4F1A\u8BDD\uFF1A\u53EF\u8C03\u5EA6\u5E76\u5173\u6CE8\u5176\u4ED6\u4F1A\u8BDD\u3002",
|
|
2141
2216
|
"row.hover.watched": "\u88AB\u5F53\u524D DevLead \u5173\u6CE8\uFF1A\u5B83\u7684\u8F6E\u6B21\u7ED3\u675F\u4E0E\u4E2D\u9014\u6C47\u62A5\u4F1A\u901A\u77E5 lead\uFF1B\u963B\u585E/\u5F85\u51B3\u7B56/\u63D0\u95EE\u4F1A\u8BF7\u6C42\u5524\u9192\uFF0C\u8FDB\u5EA6/\u544A\u77E5\u4EC5\u4F5C\u80CC\u666F\u3001\u4E0D\u5524\u9192\u3002",
|
|
@@ -2273,6 +2348,7 @@ window.__ModuleLoader__.load({
|
|
|
2273
2348
|
"count.running": "{count} running",
|
|
2274
2349
|
"count.missing": "{count} unavailable",
|
|
2275
2350
|
"row.mark.aria": "Active DevLead Session",
|
|
2351
|
+
"row.mark.short": "LEAD",
|
|
2276
2352
|
"row.watched.aria": "Watched by the active DevLead",
|
|
2277
2353
|
"row.hover.enabled": "Active DevLead Session: this session can dispatch and watch other Sessions.",
|
|
2278
2354
|
"row.hover.watched": "Watched by the active DevLead: its turn ends and mid-turn reports notify the lead; blocked/decision reports and questions request a wake, while progress/fyi are background context and do not wake.",
|
|
@@ -2726,9 +2802,12 @@ window.__ModuleLoader__.load({
|
|
|
2726
2802
|
white-space: nowrap;
|
|
2727
2803
|
}
|
|
2728
2804
|
|
|
2729
|
-
/* Sidebar Session-row
|
|
2730
|
-
|
|
2731
|
-
|
|
2805
|
+
/* Sidebar Session-row marks never change the shell row's border, background,
|
|
2806
|
+
padding, height, position, or selection/focus treatment. Both marks share the
|
|
2807
|
+
trailing seat's inline flex layout: the time label naturally moves left for
|
|
2808
|
+
the active lead's small right-side badge, while hover/focus replaces the whole
|
|
2809
|
+
resting seat with the separate action strip. No absolute positioning means a
|
|
2810
|
+
badge cannot paint over either shell-owned neighbour. */
|
|
2732
2811
|
.devlead-row-mark {
|
|
2733
2812
|
display: inline-flex;
|
|
2734
2813
|
flex: none;
|
|
@@ -2736,34 +2815,33 @@ window.__ModuleLoader__.load({
|
|
|
2736
2815
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2737
2816
|
}
|
|
2738
2817
|
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2818
|
+
.devlead-row-mark-lead {
|
|
2819
|
+
gap: 2px;
|
|
2820
|
+
min-height: 12px;
|
|
2821
|
+
padding: 0 3px;
|
|
2822
|
+
border: 1px solid color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 68%, transparent);
|
|
2823
|
+
border-radius: 999px;
|
|
2824
|
+
background: var(--dsw-specific-menu, Canvas);
|
|
2825
|
+
color: var(--dsw-alias-state-business-primary, #4176e6);
|
|
2826
|
+
font-size: 7px;
|
|
2827
|
+
font-weight: 700;
|
|
2828
|
+
line-height: 10px;
|
|
2829
|
+
letter-spacing: 0.04em;
|
|
2830
|
+
pointer-events: none;
|
|
2752
2831
|
}
|
|
2753
2832
|
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
position: absolute;
|
|
2757
|
-
inset: 0 calc(-1 * var(--dsh-sidebar-paint-inset, 3px));
|
|
2758
|
-
border: 1px solid var(--dsw-alias-state-business-primary, #4176e6);
|
|
2759
|
-
border-radius: inherit;
|
|
2760
|
-
box-shadow: 0 0 0 2px var(--dsw-alias-state-business-tertiary, rgba(65, 118, 230, 0.12));
|
|
2761
|
-
pointer-events: none;
|
|
2833
|
+
.devlead-row-mark-lead > svg {
|
|
2834
|
+
flex: none;
|
|
2762
2835
|
}
|
|
2763
2836
|
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2837
|
+
@media (max-width: 480px) {
|
|
2838
|
+
.devlead-row-mark-lead-label {
|
|
2839
|
+
display: none;
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
/* A watched row uses a quieter target than the active lead's badge: secondary
|
|
2844
|
+
ink at reduced opacity stays legible without competing with selection. */
|
|
2767
2845
|
.devlead-row-mark-watched {
|
|
2768
2846
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2769
2847
|
opacity: 0.62;
|
|
@@ -2799,9 +2877,18 @@ window.__ModuleLoader__.load({
|
|
|
2799
2877
|
/* Read-only board: quiet operational typography, no decorative gradients.
|
|
2800
2878
|
Container queries follow the actual pane: 1 / 2 / 3 columns as room allows. */
|
|
2801
2879
|
.devlead-board-open {
|
|
2880
|
+
display: inline-flex;
|
|
2802
2881
|
flex: none;
|
|
2882
|
+
align-items: center;
|
|
2883
|
+
justify-content: center;
|
|
2803
2884
|
width: 28px;
|
|
2804
|
-
|
|
2885
|
+
height: 28px;
|
|
2886
|
+
padding: 0;
|
|
2887
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
.devlead-board-open > svg {
|
|
2891
|
+
flex: none;
|
|
2805
2892
|
}
|
|
2806
2893
|
|
|
2807
2894
|
.devlead-board,
|
|
@@ -2913,7 +3000,17 @@ window.__ModuleLoader__.load({
|
|
|
2913
3000
|
line-height: 16px;
|
|
2914
3001
|
}
|
|
2915
3002
|
|
|
2916
|
-
.devlead-board-live
|
|
3003
|
+
.devlead-board-live-label {
|
|
3004
|
+
flex: none;
|
|
3005
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
3006
|
+
font-size: 9px;
|
|
3007
|
+
font-weight: 700;
|
|
3008
|
+
letter-spacing: 0.06em;
|
|
3009
|
+
text-transform: uppercase;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
.devlead-board-live-status {
|
|
3013
|
+
min-width: 0;
|
|
2917
3014
|
overflow: hidden;
|
|
2918
3015
|
text-overflow: ellipsis;
|
|
2919
3016
|
white-space: nowrap;
|
|
@@ -2952,8 +3049,8 @@ window.__ModuleLoader__.load({
|
|
|
2952
3049
|
.devlead-board-kpis {
|
|
2953
3050
|
display: flex;
|
|
2954
3051
|
min-width: 0;
|
|
2955
|
-
gap:
|
|
2956
|
-
margin:
|
|
3052
|
+
gap: 6px;
|
|
3053
|
+
margin: 8px 0 0;
|
|
2957
3054
|
overflow-x: auto;
|
|
2958
3055
|
scrollbar-width: none;
|
|
2959
3056
|
}
|
|
@@ -2962,42 +3059,71 @@ window.__ModuleLoader__.load({
|
|
|
2962
3059
|
display: none;
|
|
2963
3060
|
}
|
|
2964
3061
|
|
|
3062
|
+
.devlead-board-kpis:focus-visible {
|
|
3063
|
+
outline: 2px solid var(--dsw-alias-state-business-primary, #4176e6);
|
|
3064
|
+
outline-offset: 2px;
|
|
3065
|
+
}
|
|
3066
|
+
|
|
3067
|
+
/* One status vocabulary across KPI, banner, and card: active=business blue,
|
|
3068
|
+
blocked=warning amber, paused=neutral, done=success green. Priority never
|
|
3069
|
+
selects these colors. Empty counts retreat to neutral ink; only a non-zero
|
|
3070
|
+
blocked count earns the stronger fill and halo. */
|
|
2965
3071
|
.devlead-board-kpis > div {
|
|
2966
3072
|
display: inline-flex;
|
|
2967
3073
|
flex: 1 0 auto;
|
|
2968
3074
|
min-width: 0;
|
|
2969
|
-
|
|
3075
|
+
min-height: 28px;
|
|
3076
|
+
align-items: center;
|
|
2970
3077
|
justify-content: center;
|
|
2971
|
-
gap:
|
|
3078
|
+
gap: 7px;
|
|
2972
3079
|
margin: 0;
|
|
2973
|
-
padding:
|
|
3080
|
+
padding: 3px 9px;
|
|
2974
3081
|
border: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
2975
3082
|
border-radius: 999px;
|
|
2976
3083
|
background: color-mix(in srgb, var(--dsw-alias-label-primary, CanvasText) 2%, transparent);
|
|
2977
3084
|
}
|
|
2978
3085
|
|
|
2979
3086
|
.devlead-board-kpis dt {
|
|
3087
|
+
display: inline-flex;
|
|
2980
3088
|
min-width: 0;
|
|
3089
|
+
align-items: center;
|
|
3090
|
+
gap: 4px;
|
|
2981
3091
|
overflow: hidden;
|
|
2982
3092
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2983
|
-
font-size:
|
|
2984
|
-
line-height:
|
|
2985
|
-
text-overflow: ellipsis;
|
|
3093
|
+
font-size: 11px;
|
|
3094
|
+
line-height: 18px;
|
|
2986
3095
|
white-space: nowrap;
|
|
2987
3096
|
}
|
|
2988
3097
|
|
|
3098
|
+
.devlead-board-kpi-icon {
|
|
3099
|
+
display: inline-flex;
|
|
3100
|
+
flex: none;
|
|
3101
|
+
align-items: center;
|
|
3102
|
+
}
|
|
3103
|
+
|
|
2989
3104
|
.devlead-board-kpis dd {
|
|
2990
3105
|
flex: none;
|
|
2991
3106
|
margin: 0;
|
|
2992
3107
|
color: var(--dsw-alias-label-primary, CanvasText);
|
|
2993
|
-
font-size:
|
|
3108
|
+
font-size: 14px;
|
|
3109
|
+
line-height: 18px;
|
|
2994
3110
|
font-variant-numeric: tabular-nums;
|
|
2995
3111
|
font-weight: 700;
|
|
2996
3112
|
}
|
|
2997
3113
|
|
|
3114
|
+
.devlead-board-kpis > div[data-tone="active"] {
|
|
3115
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 42%, transparent);
|
|
3116
|
+
background: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 5%, transparent);
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
.devlead-board-kpis > div[data-tone="active"] dd,
|
|
3120
|
+
.devlead-board-kpis > div[data-tone="active"] .devlead-board-kpi-icon {
|
|
3121
|
+
color: var(--dsw-alias-state-business-primary, #4176e6);
|
|
3122
|
+
}
|
|
3123
|
+
|
|
2998
3124
|
.devlead-board-kpis > div[data-tone="blocked"] {
|
|
2999
|
-
border-color:
|
|
3000
|
-
|
|
3125
|
+
border-color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
3126
|
+
background: color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 6%, transparent);
|
|
3001
3127
|
}
|
|
3002
3128
|
|
|
3003
3129
|
.devlead-board-kpis > div[data-tone="blocked"] dd,
|
|
@@ -3005,10 +3131,32 @@ window.__ModuleLoader__.load({
|
|
|
3005
3131
|
color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
3006
3132
|
}
|
|
3007
3133
|
|
|
3008
|
-
.devlead-board-kpis > div[data-tone="
|
|
3134
|
+
.devlead-board-kpis > div[data-tone="blocked"][data-emphasis="true"] {
|
|
3135
|
+
background: color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 12%, transparent);
|
|
3136
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 12%, transparent);
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
.devlead-board-kpis > div[data-tone="done"] {
|
|
3140
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-success-primary, #2e7d32) 38%, transparent);
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
.devlead-board-kpis > div[data-tone="done"] dd,
|
|
3144
|
+
.devlead-board-kpis > div[data-tone="done"] .devlead-board-kpi-icon {
|
|
3009
3145
|
color: var(--dsw-alias-state-success-primary, #2e7d32);
|
|
3010
3146
|
}
|
|
3011
3147
|
|
|
3148
|
+
.devlead-board-kpis > div[data-empty="true"] {
|
|
3149
|
+
border-color: var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
3150
|
+
background: transparent;
|
|
3151
|
+
box-shadow: none;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
.devlead-board-kpis > div[data-empty="true"] dt,
|
|
3155
|
+
.devlead-board-kpis > div[data-empty="true"] dd,
|
|
3156
|
+
.devlead-board-kpis > div[data-empty="true"] .devlead-board-kpi-icon {
|
|
3157
|
+
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3012
3160
|
.devlead-board-content {
|
|
3013
3161
|
flex: 1 1 auto;
|
|
3014
3162
|
min-width: 0;
|
|
@@ -3153,39 +3301,36 @@ window.__ModuleLoader__.load({
|
|
|
3153
3301
|
position: relative;
|
|
3154
3302
|
min-width: 0;
|
|
3155
3303
|
max-width: 100%;
|
|
3156
|
-
padding: 9px 10px 8px
|
|
3304
|
+
padding: 9px 10px 8px;
|
|
3157
3305
|
overflow: hidden;
|
|
3158
3306
|
border: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
3159
3307
|
border-radius: var(--dsw-radius-md, 8px);
|
|
3160
3308
|
background: var(--dsw-specific-menu, Canvas);
|
|
3161
|
-
transition:
|
|
3309
|
+
transition: box-shadow 120ms ease;
|
|
3162
3310
|
}
|
|
3163
3311
|
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
pointer-events: none;
|
|
3171
|
-
}
|
|
3172
|
-
|
|
3173
|
-
.devlead-board-card[data-priority="high"]::before {
|
|
3174
|
-
background: var(--dsw-alias-state-business-primary, #4176e6);
|
|
3175
|
-
}
|
|
3176
|
-
|
|
3177
|
-
.devlead-board-card[data-priority="medium"]::before {
|
|
3178
|
-
background: var(--dsw-alias-label-tertiary, GrayText);
|
|
3312
|
+
/* The complete four-side border and tinted surface belong to status alone.
|
|
3313
|
+
The existing priority Tag is the independent priority cue; no data-priority
|
|
3314
|
+
selector may recolor a card. */
|
|
3315
|
+
.devlead-board-card[data-status="active"] {
|
|
3316
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 62%, transparent);
|
|
3317
|
+
background: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 4%, var(--dsw-specific-menu, Canvas));
|
|
3179
3318
|
}
|
|
3180
3319
|
|
|
3181
3320
|
.devlead-board-card[data-status="blocked"] {
|
|
3182
3321
|
border-color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
3183
|
-
background: color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00)
|
|
3322
|
+
background: color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 7%, var(--dsw-specific-menu, Canvas));
|
|
3184
3323
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 12%, transparent);
|
|
3185
3324
|
}
|
|
3186
3325
|
|
|
3187
|
-
.devlead-board-card[data-status="
|
|
3188
|
-
|
|
3326
|
+
.devlead-board-card[data-status="paused"] {
|
|
3327
|
+
border-color: color-mix(in srgb, var(--dsw-alias-label-secondary, GrayText) 46%, transparent);
|
|
3328
|
+
background: color-mix(in srgb, var(--dsw-alias-label-primary, CanvasText) 2%, var(--dsw-specific-menu, Canvas));
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
.devlead-board-card[data-status="done"] {
|
|
3332
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-success-primary, #2e7d32) 52%, transparent);
|
|
3333
|
+
background: color-mix(in srgb, var(--dsw-alias-state-success-primary, #2e7d32) 3%, var(--dsw-specific-menu, Canvas));
|
|
3189
3334
|
}
|
|
3190
3335
|
|
|
3191
3336
|
.devlead-board-card-header {
|
|
@@ -3880,7 +4025,7 @@ window.__ModuleLoader__.load({
|
|
|
3880
4025
|
}
|
|
3881
4026
|
|
|
3882
4027
|
.devlead-board-card:focus-within {
|
|
3883
|
-
|
|
4028
|
+
box-shadow: 0 0 0 2px var(--dsw-alias-state-business-tertiary, rgba(65, 118, 230, 0.12));
|
|
3884
4029
|
}
|
|
3885
4030
|
|
|
3886
4031
|
.devlead-board-card:focus-visible {
|
|
@@ -3898,11 +4043,11 @@ window.__ModuleLoader__.load({
|
|
|
3898
4043
|
}
|
|
3899
4044
|
|
|
3900
4045
|
.devlead-board-card:hover {
|
|
3901
|
-
|
|
4046
|
+
box-shadow: 0 1px 3px color-mix(in srgb, var(--dsw-alias-label-primary, CanvasText) 10%, transparent);
|
|
3902
4047
|
}
|
|
3903
4048
|
|
|
3904
4049
|
.devlead-board-card[data-status="blocked"]:hover {
|
|
3905
|
-
|
|
4050
|
+
box-shadow: 0 0 0 1px color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 16%, transparent);
|
|
3906
4051
|
}
|
|
3907
4052
|
|
|
3908
4053
|
.devlead-board summary:hover {
|
|
@@ -4065,6 +4210,12 @@ window.__ModuleLoader__.load({
|
|
|
4065
4210
|
order: 20,
|
|
4066
4211
|
locale: NS
|
|
4067
4212
|
}, DevLeadSessionMark));
|
|
4213
|
+
ctx.slots.inject("sidebar.session.row.leading", () => ctx.slots.register({
|
|
4214
|
+
name: "sidebar.session.row.leading",
|
|
4215
|
+
id: "devlead-accessible",
|
|
4216
|
+
order: 20,
|
|
4217
|
+
locale: NS
|
|
4218
|
+
}, DevLeadSessionAccessibleMark));
|
|
4068
4219
|
ctx.slots.inject("sidebar.session.row.hover", () => ctx.slots.register({
|
|
4069
4220
|
name: "sidebar.session.row.hover",
|
|
4070
4221
|
id: "devlead",
|
|
@@ -4117,7 +4268,7 @@ window.__ModuleLoader__.load({
|
|
|
4117
4268
|
order: 30,
|
|
4118
4269
|
title: () => t("board.title"),
|
|
4119
4270
|
description: () => t("board.guide"),
|
|
4120
|
-
icon: import_dsh_client_ui_primitives7.
|
|
4271
|
+
icon: import_dsh_client_ui_primitives7.IconGaugeOutlineRegular
|
|
4121
4272
|
}]
|
|
4122
4273
|
}));
|
|
4123
4274
|
disposers.push(ctx.slots.inject("sidebar.right.pane.tab", () => ctx.slots.register({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yankeguo/dsh-client-ui-devlead",
|
|
3
|
-
"version": "0.4.2-rc.
|
|
3
|
+
"version": "0.4.2-rc.9",
|
|
4
4
|
"description": "DevLead surfaces: the mode toggle and status strip, Session sidebar marks, and a read-only right-Sidebar project board.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@deepseek-ai/dsh-host-webserver": ">=0.2.2-rc.1 <0.3.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@yankeguo/dsh-devlead-protocol": "0.4.2-rc.
|
|
46
|
+
"@yankeguo/dsh-devlead-protocol": "0.4.2-rc.9"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"dsh": ">=0.2.2-rc.1 <0.3.0"
|