@yankeguo/dsh-client-ui-devlead 0.4.2-rc.2 → 0.4.2-rc.3
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 +31 -11
- package/lib/client.js +902 -184
- package/package.json +2 -2
package/lib/client.js
CHANGED
|
@@ -806,28 +806,41 @@ window.__ModuleLoader__.load({
|
|
|
806
806
|
function isNotFound(result) {
|
|
807
807
|
return !result.ok && result.error.code === "workspace-file/not-found";
|
|
808
808
|
}
|
|
809
|
+
function panelPageActive() {
|
|
810
|
+
if (typeof document === "undefined") return true;
|
|
811
|
+
return document.visibilityState !== "hidden" && (typeof document.hasFocus !== "function" || document.hasFocus());
|
|
812
|
+
}
|
|
809
813
|
function useBoardFile({
|
|
810
814
|
sessionId,
|
|
811
815
|
config,
|
|
812
816
|
files,
|
|
817
|
+
visible = true,
|
|
813
818
|
debounceMs = 120,
|
|
814
|
-
pollMs =
|
|
819
|
+
pollMs = 5e3,
|
|
815
820
|
pollMaxMs = 3e4,
|
|
816
821
|
now = Date.now
|
|
817
822
|
}) {
|
|
818
823
|
const [state, setState] = (0, import_react.useState)(() => initialState(config));
|
|
819
824
|
const [watch, setWatch] = (0, import_react.useState)(config === void 0 ? "disabled" : "connecting");
|
|
825
|
+
const [autoRefresh, setAutoRefresh] = (0, import_react.useState)(() => config === void 0 ? "disabled" : visible && panelPageActive() ? "active" : "paused");
|
|
820
826
|
const [watchGeneration, setWatchGeneration] = (0, import_react.useState)(0);
|
|
821
827
|
const generation = (0, import_react.useRef)(0);
|
|
822
828
|
const readAbort = (0, import_react.useRef)(void 0);
|
|
823
|
-
const
|
|
829
|
+
const trailingRead = (0, import_react.useRef)(false);
|
|
830
|
+
const refreshRead = (0, import_react.useCallback)((force = false, queueTrailing = false) => {
|
|
824
831
|
if (config === void 0) {
|
|
825
832
|
generation.current += 1;
|
|
826
833
|
readAbort.current?.abort();
|
|
834
|
+
readAbort.current = void 0;
|
|
827
835
|
setState(DISABLED);
|
|
828
836
|
return;
|
|
829
837
|
}
|
|
838
|
+
if (!force && readAbort.current !== void 0 && !readAbort.current.signal.aborted) {
|
|
839
|
+
if (queueTrailing) trailingRead.current = true;
|
|
840
|
+
return;
|
|
841
|
+
}
|
|
830
842
|
const request = ++generation.current;
|
|
843
|
+
trailingRead.current = false;
|
|
831
844
|
readAbort.current?.abort();
|
|
832
845
|
const controller = new AbortController();
|
|
833
846
|
readAbort.current = controller;
|
|
@@ -895,6 +908,16 @@ window.__ModuleLoader__.load({
|
|
|
895
908
|
} catch (error) {
|
|
896
909
|
if (generation.current !== request || controller.signal.aborted) return;
|
|
897
910
|
fail("read", error);
|
|
911
|
+
} finally {
|
|
912
|
+
if (readAbort.current === controller) {
|
|
913
|
+
readAbort.current = void 0;
|
|
914
|
+
if (trailingRead.current && generation.current === request && !controller.signal.aborted) {
|
|
915
|
+
trailingRead.current = false;
|
|
916
|
+
queueMicrotask(() => {
|
|
917
|
+
if (generation.current === request && !controller.signal.aborted) refreshRead();
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
}
|
|
898
921
|
}
|
|
899
922
|
})();
|
|
900
923
|
}, [config, files, now, sessionId]);
|
|
@@ -912,7 +935,7 @@ window.__ModuleLoader__.load({
|
|
|
912
935
|
if (timer !== void 0) clearTimeout(timer);
|
|
913
936
|
timer = setTimeout(() => {
|
|
914
937
|
timer = void 0;
|
|
915
|
-
refreshRead();
|
|
938
|
+
refreshRead(false, true);
|
|
916
939
|
}, debounceMs);
|
|
917
940
|
};
|
|
918
941
|
const pump = async () => {
|
|
@@ -923,7 +946,7 @@ window.__ModuleLoader__.load({
|
|
|
923
946
|
if (disposed) return;
|
|
924
947
|
if (frame.kind === "ready") {
|
|
925
948
|
setWatch("live");
|
|
926
|
-
refreshRead();
|
|
949
|
+
refreshRead(false, true);
|
|
927
950
|
} else if (frame.kind === "change") schedule();
|
|
928
951
|
}
|
|
929
952
|
} finally {
|
|
@@ -945,14 +968,54 @@ window.__ModuleLoader__.load({
|
|
|
945
968
|
};
|
|
946
969
|
}, [config, debounceMs, files, refreshRead, sessionId, watchGeneration]);
|
|
947
970
|
(0, import_react.useEffect)(() => {
|
|
948
|
-
if (config === void 0
|
|
971
|
+
if (config === void 0) {
|
|
972
|
+
setAutoRefresh("disabled");
|
|
973
|
+
return;
|
|
974
|
+
}
|
|
975
|
+
if (!visible) {
|
|
976
|
+
setAutoRefresh("paused");
|
|
977
|
+
return;
|
|
978
|
+
}
|
|
979
|
+
if (typeof document === "undefined") {
|
|
980
|
+
setAutoRefresh("active");
|
|
981
|
+
refreshRead();
|
|
982
|
+
return;
|
|
983
|
+
}
|
|
984
|
+
const sync = (resume) => {
|
|
985
|
+
const active = resume && panelPageActive();
|
|
986
|
+
setAutoRefresh(active ? "active" : "paused");
|
|
987
|
+
if (active) refreshRead();
|
|
988
|
+
};
|
|
989
|
+
const onVisibility = () => {
|
|
990
|
+
sync(document.visibilityState !== "hidden");
|
|
991
|
+
};
|
|
992
|
+
const onFocus = () => {
|
|
993
|
+
sync(true);
|
|
994
|
+
};
|
|
995
|
+
const onBlur = () => {
|
|
996
|
+
setAutoRefresh("paused");
|
|
997
|
+
};
|
|
998
|
+
sync(panelPageActive());
|
|
999
|
+
document.addEventListener("visibilitychange", onVisibility);
|
|
1000
|
+
window.addEventListener("focus", onFocus);
|
|
1001
|
+
window.addEventListener("blur", onBlur);
|
|
1002
|
+
return () => {
|
|
1003
|
+
document.removeEventListener("visibilitychange", onVisibility);
|
|
1004
|
+
window.removeEventListener("focus", onFocus);
|
|
1005
|
+
window.removeEventListener("blur", onBlur);
|
|
1006
|
+
};
|
|
1007
|
+
}, [config, refreshRead, visible]);
|
|
1008
|
+
(0, import_react.useEffect)(() => {
|
|
1009
|
+
if (config === void 0 || autoRefresh !== "active") return;
|
|
949
1010
|
let delay = pollMs;
|
|
950
1011
|
let timer;
|
|
951
1012
|
const schedule = () => {
|
|
952
1013
|
timer = setTimeout(() => {
|
|
953
1014
|
timer = void 0;
|
|
954
1015
|
refreshRead();
|
|
955
|
-
|
|
1016
|
+
if (state.status === "empty" || state.status === "error") {
|
|
1017
|
+
delay = Math.min(delay * 2, pollMaxMs);
|
|
1018
|
+
}
|
|
956
1019
|
schedule();
|
|
957
1020
|
}, delay);
|
|
958
1021
|
};
|
|
@@ -960,22 +1023,23 @@ window.__ModuleLoader__.load({
|
|
|
960
1023
|
return () => {
|
|
961
1024
|
if (timer !== void 0) clearTimeout(timer);
|
|
962
1025
|
};
|
|
963
|
-
}, [config, pollMs, pollMaxMs, refreshRead, state.status]);
|
|
1026
|
+
}, [autoRefresh, config, pollMs, pollMaxMs, refreshRead, state.status]);
|
|
964
1027
|
const refresh = (0, import_react.useCallback)(() => {
|
|
965
|
-
refreshRead();
|
|
1028
|
+
refreshRead(true);
|
|
966
1029
|
if (config !== void 0) setWatchGeneration((current) => current + 1);
|
|
967
1030
|
}, [config, refreshRead]);
|
|
968
|
-
return { ...state, watch, refresh };
|
|
1031
|
+
return { ...state, watch, autoRefresh, refresh };
|
|
969
1032
|
}
|
|
970
1033
|
|
|
971
1034
|
// packages/client-ui/src/client/DevLeadBoardPanel.tsx
|
|
972
1035
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
973
|
-
function DevLeadBoardPanel({ sessionId, files, useWorkspaces, useSessions, t }) {
|
|
1036
|
+
function DevLeadBoardPanel({ sessionId, files, useWorkspaces, useSessions, useTabInfo, t }) {
|
|
974
1037
|
const sessions = useSessions((snapshot) => snapshot);
|
|
1038
|
+
const visible = useTabInfo().tab.visible;
|
|
975
1039
|
const summary = sessions.byId[sessionId];
|
|
976
1040
|
const resolved = resolveDevLeadBoardSessionConfig(sessionId, summary, currentDevLeadBoardConfig());
|
|
977
1041
|
const config = (0, import_react2.useMemo)(() => resolved, [resolved?.boardPath, resolved?.pathPlatform]);
|
|
978
|
-
const { refresh, watch, ...state } = useBoardFile({ sessionId, config, files });
|
|
1042
|
+
const { refresh, watch, autoRefresh, ...state } = useBoardFile({ sessionId, config, files, visible });
|
|
979
1043
|
const workspaces = useWorkspaces((snapshot) => snapshot);
|
|
980
1044
|
const [now, setNow] = (0, import_react2.useState)(() => Date.now());
|
|
981
1045
|
(0, import_react2.useEffect)(() => {
|
|
@@ -998,7 +1062,8 @@ window.__ModuleLoader__.load({
|
|
|
998
1062
|
workspacePhase: workspaces.phase,
|
|
999
1063
|
workspaceError: workspaces.state === "error",
|
|
1000
1064
|
sessionPhase: sessions.phase,
|
|
1001
|
-
watch
|
|
1065
|
+
watch,
|
|
1066
|
+
autoRefresh
|
|
1002
1067
|
}
|
|
1003
1068
|
);
|
|
1004
1069
|
}
|
|
@@ -1007,67 +1072,141 @@ window.__ModuleLoader__.load({
|
|
|
1007
1072
|
const text = relative.unit === "now" ? t("board.time.now") : t(`board.time.${relative.unit}`, { count: relative.n });
|
|
1008
1073
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("time", { dateTime: iso, title: iso, children: text });
|
|
1009
1074
|
}
|
|
1010
|
-
function ProjectField({ label, text, className = "" }) {
|
|
1075
|
+
function ProjectField({ label, text, className = "", arrow = "\u2192" }) {
|
|
1011
1076
|
if (text.trim().length === 0) return null;
|
|
1012
1077
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: `devlead-board-field ${className}`.trim(), children: [
|
|
1013
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.
|
|
1014
|
-
|
|
1078
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "devlead-board-field-label", children: [
|
|
1079
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "devlead-board-field-arrow", "aria-hidden": "true", children: arrow }),
|
|
1080
|
+
label
|
|
1081
|
+
] }),
|
|
1082
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { title: text, children: text })
|
|
1015
1083
|
] });
|
|
1016
1084
|
}
|
|
1017
1085
|
function ProjectCard({ project, now, t }) {
|
|
1086
|
+
const idPrefix = (0, import_react2.useId)();
|
|
1018
1087
|
const progress = taskProgress(project);
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
t("board.blockers")
|
|
1038
|
-
] }),
|
|
1039
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { children: project.blockers.map((blocker) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { children: [
|
|
1040
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: blocker.text }),
|
|
1041
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "devlead-board-blocker-since", children: [
|
|
1042
|
-
t("board.blocker.since"),
|
|
1043
|
-
" ",
|
|
1044
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RelativeTime, { iso: blocker.since, now, t })
|
|
1045
|
-
] })
|
|
1046
|
-
] }, blocker.id)) })
|
|
1047
|
-
] }),
|
|
1048
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("details", { className: "devlead-board-tasks", "data-devlead-board-tasks": project.id, children: [
|
|
1049
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("summary", { children: t("board.tasks.summary", { done: progress.done, total: progress.total }) }),
|
|
1050
|
-
project.tasks.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "devlead-board-muted", children: t("board.tasks.empty") }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { children: project.tasks.map((task) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { "data-task-status": task.status, children: [
|
|
1051
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-task-heading", children: [
|
|
1052
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "devlead-board-task-title", children: task.title }),
|
|
1053
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.Tag, { tone: taskStatusTone(task.status), children: t(`board.task.status.${task.status}`) })
|
|
1088
|
+
const progressText = t("board.tasks.progress", { done: progress.done, total: progress.total });
|
|
1089
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
1090
|
+
"article",
|
|
1091
|
+
{
|
|
1092
|
+
className: "devlead-board-card",
|
|
1093
|
+
"data-devlead-board-project": project.id,
|
|
1094
|
+
"data-status": project.status,
|
|
1095
|
+
tabIndex: 0,
|
|
1096
|
+
"aria-labelledby": `${idPrefix}-title`,
|
|
1097
|
+
children: [
|
|
1098
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("header", { className: "devlead-board-card-header", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-card-heading", children: [
|
|
1099
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h5", { id: `${idPrefix}-title`, title: project.workspace.title, children: project.workspace.title }),
|
|
1100
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { className: "devlead-board-project-id", title: project.id, children: project.id })
|
|
1101
|
+
] }) }),
|
|
1102
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { className: "devlead-board-workspace", title: project.workspace.path, children: project.workspace.path }),
|
|
1103
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-card-badges", children: [
|
|
1104
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { "data-board-status": project.status, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.Pill, { className: "devlead-board-status", children: t(`board.status.${project.status}`) }) }),
|
|
1105
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.Tag, { tone: "outline", children: t(`board.priority.${project.priority}`) })
|
|
1054
1106
|
] }),
|
|
1055
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1107
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ProjectField, { label: t("board.field.focus"), text: project.focus, className: "devlead-board-field-focus" }),
|
|
1108
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ProjectField, { label: t("board.field.next"), text: project.next, className: "devlead-board-field-next", arrow: "\u2197" }),
|
|
1109
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ProjectField, { label: t("board.field.goal"), text: project.goal, className: "devlead-board-field-goal", arrow: "\xB7" }),
|
|
1110
|
+
project.blockers.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { className: "devlead-board-blockers", "aria-label": t("board.blockers"), children: [
|
|
1111
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h6", { children: [
|
|
1112
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.IconWarningOutlineRegular, { size: 14 }),
|
|
1113
|
+
t("board.blockers")
|
|
1060
1114
|
] }),
|
|
1061
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1115
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { children: project.blockers.map((blocker) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { children: [
|
|
1116
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { title: blocker.text, children: blocker.text }),
|
|
1117
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "devlead-board-blocker-since", children: [
|
|
1118
|
+
t("board.blocker.since"),
|
|
1119
|
+
" ",
|
|
1120
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RelativeTime, { iso: blocker.since, now, t })
|
|
1121
|
+
] })
|
|
1122
|
+
] }, blocker.id)) })
|
|
1123
|
+
] }),
|
|
1124
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-progress", children: [
|
|
1125
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-progress-heading", children: [
|
|
1126
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: t("board.tasks.label") }),
|
|
1127
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("strong", { children: t("board.tasks.count", { done: progress.done, total: progress.total }) })
|
|
1128
|
+
] }),
|
|
1129
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1130
|
+
"progress",
|
|
1131
|
+
{
|
|
1132
|
+
"data-devlead-board-progress": project.id,
|
|
1133
|
+
max: Math.max(1, progress.total),
|
|
1134
|
+
value: progress.done,
|
|
1135
|
+
"aria-label": progressText,
|
|
1136
|
+
"aria-valuetext": progressText
|
|
1137
|
+
}
|
|
1138
|
+
)
|
|
1139
|
+
] }),
|
|
1140
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
1141
|
+
"details",
|
|
1142
|
+
{
|
|
1143
|
+
className: "devlead-board-tasks",
|
|
1144
|
+
"data-devlead-board-tasks": project.id,
|
|
1145
|
+
"aria-labelledby": `${idPrefix}-tasks`,
|
|
1146
|
+
children: [
|
|
1147
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("summary", { id: `${idPrefix}-tasks`, children: t("board.tasks.summary", { done: progress.done, total: progress.total }) }),
|
|
1148
|
+
project.tasks.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "devlead-board-muted", children: t("board.tasks.empty") }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { children: project.tasks.map((task) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { "data-task-status": task.status, children: [
|
|
1149
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-task-heading", children: [
|
|
1150
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "devlead-board-task-title", title: task.title, children: task.title }),
|
|
1151
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.Tag, { tone: taskStatusTone(task.status), children: t(`board.task.status.${task.status}`) })
|
|
1152
|
+
] }),
|
|
1153
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-task-meta", children: [
|
|
1154
|
+
task.ownerSessionId !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("code", { title: task.ownerSessionId, children: [
|
|
1155
|
+
t("board.task.owner"),
|
|
1156
|
+
" ",
|
|
1157
|
+
truncateSessionId(task.ownerSessionId)
|
|
1158
|
+
] }),
|
|
1159
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RelativeTime, { iso: task.updatedAt, now, t })
|
|
1160
|
+
] })
|
|
1161
|
+
] }, task.id)) })
|
|
1162
|
+
]
|
|
1163
|
+
}
|
|
1164
|
+
),
|
|
1165
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("footer", { className: "devlead-board-card-footer", children: [
|
|
1166
|
+
t("board.project.updated"),
|
|
1167
|
+
" ",
|
|
1168
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RelativeTime, { iso: project.updatedAt, now, t })
|
|
1062
1169
|
] })
|
|
1063
|
-
]
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1170
|
+
]
|
|
1171
|
+
}
|
|
1172
|
+
);
|
|
1173
|
+
}
|
|
1174
|
+
function ProjectGroup({ group, idPrefix, now, t }) {
|
|
1175
|
+
const headingId = `${idPrefix}-group-${group.status}`;
|
|
1176
|
+
const secondary = group.status === "paused" || group.status === "done";
|
|
1177
|
+
const cards = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "devlead-board-cards", children: group.projects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ProjectCard, { project, now, t }, project.id)) });
|
|
1178
|
+
if (secondary) {
|
|
1179
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
1180
|
+
"details",
|
|
1181
|
+
{
|
|
1182
|
+
className: "devlead-board-group devlead-board-secondary",
|
|
1183
|
+
"data-board-group": group.status,
|
|
1184
|
+
"aria-labelledby": headingId,
|
|
1185
|
+
children: [
|
|
1186
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("summary", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h4", { id: headingId, children: [
|
|
1187
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: t(`board.status.${group.status}`) }),
|
|
1188
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.Tag, { tone: projectStatusTone(group.status), children: group.projects.length })
|
|
1189
|
+
] }) }),
|
|
1190
|
+
cards
|
|
1191
|
+
]
|
|
1192
|
+
}
|
|
1193
|
+
);
|
|
1194
|
+
}
|
|
1195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
1196
|
+
"section",
|
|
1197
|
+
{
|
|
1198
|
+
className: "devlead-board-group",
|
|
1199
|
+
"data-board-group": group.status,
|
|
1200
|
+
"aria-labelledby": headingId,
|
|
1201
|
+
children: [
|
|
1202
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("header", { className: "devlead-board-group-header", children: [
|
|
1203
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { id: headingId, children: t(`board.status.${group.status}`) }),
|
|
1204
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.Tag, { tone: projectStatusTone(group.status), children: group.projects.length })
|
|
1205
|
+
] }),
|
|
1206
|
+
cards
|
|
1207
|
+
]
|
|
1208
|
+
}
|
|
1209
|
+
);
|
|
1071
1210
|
}
|
|
1072
1211
|
function DevLeadBoardPanelView({
|
|
1073
1212
|
state,
|
|
@@ -1078,15 +1217,19 @@ window.__ModuleLoader__.load({
|
|
|
1078
1217
|
workspacePhase = "ready",
|
|
1079
1218
|
workspaceError = false,
|
|
1080
1219
|
sessionPhase = "ready",
|
|
1081
|
-
watch = "live"
|
|
1220
|
+
watch = "live",
|
|
1221
|
+
autoRefresh = "active"
|
|
1082
1222
|
}) {
|
|
1083
1223
|
const idPrefix = (0, import_react2.useId)();
|
|
1084
1224
|
if (state.status === "disabled") return null;
|
|
1085
1225
|
const board = state.board;
|
|
1086
|
-
const blocked = board?.projects.filter((project) => project.status === "blocked").length ?? 0;
|
|
1087
1226
|
const groups = board === void 0 ? [] : groupDevLeadBoardProjects(board);
|
|
1088
|
-
const
|
|
1089
|
-
|
|
1227
|
+
const counts = { active: 0, blocked: 0, paused: 0, done: 0 };
|
|
1228
|
+
for (const project of board?.projects ?? []) counts[project.status] += 1;
|
|
1229
|
+
const blocked = counts.blocked;
|
|
1230
|
+
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";
|
|
1231
|
+
const endedKey = autoRefresh === "active" ? "board.watch.ended" : autoRefresh === "paused" ? "board.watch.ended.paused" : "board.watch.ended.disabled";
|
|
1232
|
+
const statusText = state.status === "error" ? t("board.refresh.error") : watch === "ended" ? t(endedKey) : autoRefresh === "paused" ? t("board.autoRefresh.paused") : state.refreshing || state.status === "loading" ? t("board.refresh.loading") : watch === "connecting" ? t("board.watch.connecting") : t(`board.autoRefresh.${autoRefresh}`);
|
|
1090
1233
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board", "data-devlead-board": "true", "data-state": state.status, children: [
|
|
1091
1234
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("header", { className: "devlead-board-header", children: [
|
|
1092
1235
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-title-row", children: [
|
|
@@ -1108,29 +1251,57 @@ window.__ModuleLoader__.load({
|
|
|
1108
1251
|
}
|
|
1109
1252
|
) })
|
|
1110
1253
|
] }),
|
|
1111
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1254
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
1255
|
+
"div",
|
|
1256
|
+
{
|
|
1257
|
+
className: "devlead-board-live",
|
|
1258
|
+
"data-auto-refresh": autoRefresh,
|
|
1259
|
+
role: "status",
|
|
1260
|
+
"aria-live": "polite",
|
|
1261
|
+
"aria-atomic": "true",
|
|
1262
|
+
children: [
|
|
1263
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.StateDot, { state: refreshState, size: 9 }),
|
|
1264
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("strong", { children: t("board.live") }),
|
|
1265
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: statusText })
|
|
1266
|
+
]
|
|
1267
|
+
}
|
|
1268
|
+
),
|
|
1269
|
+
board !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("dl", { className: "devlead-board-kpis", "aria-label": t("board.kpi.aria"), children: ["active", "blocked", "paused", "done"].map((status) => {
|
|
1270
|
+
const count = counts[status];
|
|
1271
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { "data-devlead-board-kpi": status, "data-tone": status, children: [
|
|
1272
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("dt", { children: t(`board.status.${status}`) }),
|
|
1273
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("dd", { "aria-label": t("board.kpi.value", { status: t(`board.status.${status}`), count }), children: count })
|
|
1274
|
+
] }, status);
|
|
1275
|
+
}) }),
|
|
1276
|
+
board !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-meta", children: [
|
|
1277
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "devlead-board-updated", children: [
|
|
1278
|
+
t("board.updated"),
|
|
1279
|
+
" ",
|
|
1280
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RelativeTime, { iso: board.updatedAt, now, t })
|
|
1281
|
+
] }),
|
|
1282
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "devlead-board-revision", title: t("board.revision.full", { revision: board.revision }), children: t("board.revision", { revision: board.revision }) })
|
|
1118
1283
|
] })
|
|
1119
1284
|
] }),
|
|
1120
1285
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-content", children: [
|
|
1121
|
-
state.status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime3.
|
|
1286
|
+
state.status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-placeholder", role: "status", "data-devlead-board-loading": "true", children: [
|
|
1287
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "devlead-board-state-mark", "aria-hidden": "true", children: "\xB7\xB7\xB7" }),
|
|
1288
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { children: t("board.loading") }),
|
|
1289
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: t("board.loading.description") })
|
|
1290
|
+
] }),
|
|
1122
1291
|
state.status === "empty" && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-placeholder", "data-devlead-board-empty": "file", children: [
|
|
1292
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "devlead-board-state-mark", "aria-hidden": "true", children: "\u25CB" }),
|
|
1123
1293
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { children: t("board.empty.title") }),
|
|
1124
1294
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: t("board.empty.description") })
|
|
1125
1295
|
] }),
|
|
1126
1296
|
state.status === "error" && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-error", role: "alert", "data-devlead-board-error": state.error?.kind ?? "read", children: [
|
|
1297
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "devlead-board-state-mark", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.IconWarningOutlineRegular, { size: 20 }) }),
|
|
1127
1298
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { children: t(state.error?.kind === "parse" ? "board.error.parse" : "board.error.read") }),
|
|
1128
1299
|
state.lastSuccessAt !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("p", { children: [
|
|
1129
1300
|
t("board.lastSuccess"),
|
|
1130
1301
|
" ",
|
|
1131
1302
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RelativeTime, { iso: state.lastSuccessAt, now, t })
|
|
1132
1303
|
] }),
|
|
1133
|
-
state.error !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { className: "devlead-board-error-detail", children: state.error.message }),
|
|
1304
|
+
state.error !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { className: "devlead-board-error-detail", title: state.error.message, children: state.error.message }),
|
|
1134
1305
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_dsh_client_ui_primitives3.Button, { variant: "outline", size: "sm", onClick: onRefresh, disabled: state.refreshing, children: [
|
|
1135
1306
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.IconRefreshOutlineRegular, { size: 14 }),
|
|
1136
1307
|
t("board.retry")
|
|
@@ -1138,48 +1309,45 @@ window.__ModuleLoader__.load({
|
|
|
1138
1309
|
] }),
|
|
1139
1310
|
state.status === "ready" && board !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
1140
1311
|
blocked > 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-blocked-notice", role: "status", children: [
|
|
1141
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.IconWarningOutlineRegular, { size:
|
|
1142
|
-
t("board.blocked.notice", { count: blocked })
|
|
1312
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.IconWarningOutlineRegular, { size: 16 }),
|
|
1313
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("strong", { children: t("board.blocked.notice", { count: blocked }) })
|
|
1143
1314
|
] }),
|
|
1144
1315
|
board.projects.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-placeholder", "data-devlead-board-empty": "projects", children: [
|
|
1316
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "devlead-board-state-mark", "aria-hidden": "true", children: "\u2713" }),
|
|
1145
1317
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { children: t("board.emptyProjects.title") }),
|
|
1146
1318
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: t("board.emptyProjects.description") })
|
|
1147
1319
|
] }),
|
|
1148
|
-
groups.map((group) => /* @__PURE__ */ (0, import_jsx_runtime3.
|
|
1149
|
-
"section",
|
|
1150
|
-
{
|
|
1151
|
-
className: "devlead-board-group",
|
|
1152
|
-
"data-board-group": group.status,
|
|
1153
|
-
"aria-labelledby": `${idPrefix}-group-${group.status}`,
|
|
1154
|
-
children: [
|
|
1155
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("header", { className: "devlead-board-group-header", children: [
|
|
1156
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { id: `${idPrefix}-group-${group.status}`, children: t(`board.status.${group.status}`) }),
|
|
1157
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.Tag, { tone: projectStatusTone(group.status), children: group.projects.length })
|
|
1158
|
-
] }),
|
|
1159
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "devlead-board-cards", children: group.projects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ProjectCard, { project, now, t }, project.id)) })
|
|
1160
|
-
]
|
|
1161
|
-
},
|
|
1162
|
-
group.status
|
|
1163
|
-
))
|
|
1320
|
+
groups.map((group) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ProjectGroup, { group, idPrefix, now, t }, group.status))
|
|
1164
1321
|
] }),
|
|
1165
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
"
|
|
1178
|
-
|
|
1322
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
1323
|
+
"details",
|
|
1324
|
+
{
|
|
1325
|
+
className: "devlead-board-unlisted devlead-board-secondary",
|
|
1326
|
+
"data-devlead-board-unlisted": "true",
|
|
1327
|
+
"aria-labelledby": `${idPrefix}-unlisted`,
|
|
1328
|
+
children: [
|
|
1329
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("summary", { id: `${idPrefix}-unlisted`, children: [
|
|
1330
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: t("board.unlisted.title") }),
|
|
1331
|
+
unlisted.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dsh_client_ui_primitives3.Tag, { tone: "quiet", children: unlisted.length })
|
|
1332
|
+
] }),
|
|
1333
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "devlead-board-unlisted-body", children: [
|
|
1334
|
+
state.status !== "ready" && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: t("board.unlisted.unavailable") }),
|
|
1335
|
+
state.status === "ready" && workspaceError && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { role: "alert", children: t("board.unlisted.error") }),
|
|
1336
|
+
state.status === "ready" && !workspaceError && workspacePhase === "pending" && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: t("board.unlisted.pending") }),
|
|
1337
|
+
state.status === "ready" && !workspaceError && workspacePhase === "ready" && unlisted.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: t("board.unlisted.empty") }),
|
|
1338
|
+
state.status === "ready" && !workspaceError && workspacePhase === "ready" && unlisted.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { className: "devlead-board-unlisted-list", children: unlisted.map((workspace) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { "data-devlead-board-unlisted-project": workspace.workspaceId, children: [
|
|
1339
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("strong", { title: workspace.title, children: workspace.title }),
|
|
1340
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { title: workspace.path, children: workspace.path }),
|
|
1341
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { children: [
|
|
1342
|
+
t("board.unlisted.sessions", { count: workspace.sessionCount }),
|
|
1343
|
+
" \xB7 ",
|
|
1344
|
+
sessionPhase === "pending" && workspace.sessionCount > 0 ? t("board.unlisted.activityPending") : workspace.lastActivityAt === void 0 ? t("board.unlisted.noActivity") : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RelativeTime, { iso: workspace.lastActivityAt, now, t })
|
|
1345
|
+
] })
|
|
1346
|
+
] }, workspace.workspaceId)) })
|
|
1179
1347
|
] })
|
|
1180
|
-
]
|
|
1181
|
-
|
|
1182
|
-
|
|
1348
|
+
]
|
|
1349
|
+
}
|
|
1350
|
+
)
|
|
1183
1351
|
] })
|
|
1184
1352
|
] });
|
|
1185
1353
|
}
|
|
@@ -1473,13 +1641,23 @@ window.__ModuleLoader__.load({
|
|
|
1473
1641
|
"board.guide": "\u67E5\u770B lead \u7EF4\u62A4\u7684\u9879\u76EE\u72B6\u6001\u3001\u7126\u70B9\u3001\u963B\u585E\u4E0E\u4EFB\u52A1\uFF1B\u7528\u6237\u53EA\u8BFB\u3002",
|
|
1474
1642
|
"board.readonly": "\u53EA\u8BFB",
|
|
1475
1643
|
"board.revision": "r{revision}",
|
|
1644
|
+
"board.revision.full": "\u770B\u677F\u4FEE\u8BA2\u7248\u672C {revision}",
|
|
1645
|
+
"board.updated": "\u770B\u677F\u66F4\u65B0\u4E8E",
|
|
1646
|
+
"board.live": "Live",
|
|
1647
|
+
"board.autoRefresh.active": "\u81EA\u52A8\u5237\u65B0\u5DF2\u5F00\u542F",
|
|
1648
|
+
"board.autoRefresh.paused": "\u81EA\u52A8\u5237\u65B0\u5DF2\u6682\u505C",
|
|
1649
|
+
"board.autoRefresh.disabled": "\u81EA\u52A8\u5237\u65B0\u5DF2\u5173\u95ED",
|
|
1650
|
+
"board.kpi.aria": "\u9879\u76EE\u72B6\u6001\u6982\u89C8",
|
|
1651
|
+
"board.kpi.value": "{status}\uFF1A{count} \u4E2A\u9879\u76EE",
|
|
1476
1652
|
"board.refresh.action": "\u5237\u65B0\u9879\u76EE\u770B\u677F",
|
|
1477
|
-
"board.refresh.loading": "\u8BFB\u53D6\
|
|
1478
|
-
"board.refresh.error": "\
|
|
1653
|
+
"board.refresh.loading": "\u6B63\u5728\u8BFB\u53D6\u6700\u65B0\u5185\u5BB9",
|
|
1654
|
+
"board.refresh.error": "\u8BFB\u53D6\u5931\u8D25",
|
|
1479
1655
|
"board.refresh.ready": "\u6B63\u5E38",
|
|
1480
1656
|
"board.refresh.empty": "\u6682\u65E0\u6570\u636E",
|
|
1481
|
-
"board.watch.connecting": "\u6B63\u5728\u8FDE\u63A5\u81EA\u52A8\
|
|
1482
|
-
"board.watch.ended": "\
|
|
1657
|
+
"board.watch.connecting": "\u6B63\u5728\u8FDE\u63A5\u6587\u4EF6\u76D1\u542C\uFF0C\u81EA\u52A8\u8F6E\u8BE2\u5DF2\u5F00\u542F",
|
|
1658
|
+
"board.watch.ended": "\u6587\u4EF6\u76D1\u542C\u65AD\u5F00\uFF0C\u81EA\u52A8\u8F6E\u8BE2\u4ECD\u5F00\u542F",
|
|
1659
|
+
"board.watch.ended.paused": "\u6587\u4EF6\u76D1\u542C\u65AD\u5F00\uFF0C\u81EA\u52A8\u8F6E\u8BE2\u5DF2\u6682\u505C",
|
|
1660
|
+
"board.watch.ended.disabled": "\u6587\u4EF6\u76D1\u542C\u65AD\u5F00\uFF0C\u8BF7\u624B\u52A8\u5237\u65B0",
|
|
1483
1661
|
"board.time.now": "\u521A\u521A",
|
|
1484
1662
|
"board.time.minutes": "{count} \u5206\u949F\u524D",
|
|
1485
1663
|
"board.time.hours": "{count} \u5C0F\u65F6\u524D",
|
|
@@ -1496,7 +1674,10 @@ window.__ModuleLoader__.load({
|
|
|
1496
1674
|
"board.field.next": "\u4E0B\u4E00\u6B65",
|
|
1497
1675
|
"board.blockers": "\u963B\u585E\u9879",
|
|
1498
1676
|
"board.blocker.since": "\u59CB\u4E8E",
|
|
1499
|
-
"board.tasks.
|
|
1677
|
+
"board.tasks.label": "\u4EFB\u52A1\u8FDB\u5EA6",
|
|
1678
|
+
"board.tasks.count": "{done}/{total}",
|
|
1679
|
+
"board.tasks.progress": "\u4EFB\u52A1\u8FDB\u5EA6\uFF1A{total} \u9879\u4E2D\u5DF2\u5B8C\u6210 {done} \u9879",
|
|
1680
|
+
"board.tasks.summary": "\u67E5\u770B\u4EFB\u52A1\u8BE6\u60C5\uFF08{done}/{total} \u5DF2\u5B8C\u6210\uFF09",
|
|
1500
1681
|
"board.tasks.empty": "\u8FD8\u6CA1\u6709\u4EFB\u52A1",
|
|
1501
1682
|
"board.task.owner": "\u8D1F\u8D23\u4F1A\u8BDD",
|
|
1502
1683
|
"board.task.status.todo": "\u5F85\u529E",
|
|
@@ -1505,6 +1686,7 @@ window.__ModuleLoader__.load({
|
|
|
1505
1686
|
"board.task.status.done": "\u5DF2\u5B8C\u6210",
|
|
1506
1687
|
"board.project.updated": "\u66F4\u65B0\u4E8E",
|
|
1507
1688
|
"board.loading": "\u6B63\u5728\u8BFB\u53D6\u9879\u76EE\u770B\u677F\u2026",
|
|
1689
|
+
"board.loading.description": "\u6B63\u5728\u540C\u6B65\u9879\u76EE\u3001\u4EFB\u52A1\u4E0E\u963B\u585E\u72B6\u6001\uFF0C\u8BF7\u7A0D\u5019\u3002",
|
|
1508
1690
|
"board.empty.title": "\u8FD8\u6CA1\u6709\u770B\u677F\u6570\u636E",
|
|
1509
1691
|
"board.empty.description": "lead AI \u9996\u6B21\u901A\u8FC7\u770B\u677F\u5DE5\u5177\u5199\u5165\u540E\uFF0C\u9879\u76EE\u4F1A\u663E\u793A\u5728\u8FD9\u91CC\u3002",
|
|
1510
1692
|
"board.emptyProjects.title": "\u770B\u677F\u4E2D\u8FD8\u6CA1\u6709\u9879\u76EE",
|
|
@@ -1585,13 +1767,23 @@ window.__ModuleLoader__.load({
|
|
|
1585
1767
|
"board.guide": "Read lead-maintained project status, focus, blockers, and tasks. Read-only for people.",
|
|
1586
1768
|
"board.readonly": "Read-only",
|
|
1587
1769
|
"board.revision": "r{revision}",
|
|
1770
|
+
"board.revision.full": "Board revision {revision}",
|
|
1771
|
+
"board.updated": "Board updated",
|
|
1772
|
+
"board.live": "Live",
|
|
1773
|
+
"board.autoRefresh.active": "Auto refresh on",
|
|
1774
|
+
"board.autoRefresh.paused": "Auto refresh paused",
|
|
1775
|
+
"board.autoRefresh.disabled": "Auto refresh off",
|
|
1776
|
+
"board.kpi.aria": "Project status overview",
|
|
1777
|
+
"board.kpi.value": "{status}: {count} project(s)",
|
|
1588
1778
|
"board.refresh.action": "Refresh project board",
|
|
1589
|
-
"board.refresh.loading": "Reading",
|
|
1590
|
-
"board.refresh.error": "
|
|
1779
|
+
"board.refresh.loading": "Reading the latest content",
|
|
1780
|
+
"board.refresh.error": "Read failed",
|
|
1591
1781
|
"board.refresh.ready": "Up to date",
|
|
1592
1782
|
"board.refresh.empty": "No data",
|
|
1593
|
-
"board.watch.connecting": "Connecting
|
|
1594
|
-
"board.watch.ended": "
|
|
1783
|
+
"board.watch.connecting": "Connecting file watch; automatic polling is on",
|
|
1784
|
+
"board.watch.ended": "File watch disconnected; automatic polling is still on",
|
|
1785
|
+
"board.watch.ended.paused": "File watch disconnected; automatic polling is paused",
|
|
1786
|
+
"board.watch.ended.disabled": "File watch disconnected; refresh manually",
|
|
1595
1787
|
"board.time.now": "just now",
|
|
1596
1788
|
"board.time.minutes": "{count} min ago",
|
|
1597
1789
|
"board.time.hours": "{count} hr ago",
|
|
@@ -1608,7 +1800,10 @@ window.__ModuleLoader__.load({
|
|
|
1608
1800
|
"board.field.next": "Next",
|
|
1609
1801
|
"board.blockers": "Blockers",
|
|
1610
1802
|
"board.blocker.since": "since",
|
|
1611
|
-
"board.tasks.
|
|
1803
|
+
"board.tasks.label": "Task progress",
|
|
1804
|
+
"board.tasks.count": "{done}/{total}",
|
|
1805
|
+
"board.tasks.progress": "Task progress: {done} of {total} complete",
|
|
1806
|
+
"board.tasks.summary": "View task details ({done}/{total} done)",
|
|
1612
1807
|
"board.tasks.empty": "No tasks yet",
|
|
1613
1808
|
"board.task.owner": "Owner",
|
|
1614
1809
|
"board.task.status.todo": "To do",
|
|
@@ -1617,6 +1812,7 @@ window.__ModuleLoader__.load({
|
|
|
1617
1812
|
"board.task.status.done": "Done",
|
|
1618
1813
|
"board.project.updated": "Updated",
|
|
1619
1814
|
"board.loading": "Reading the project board\u2026",
|
|
1815
|
+
"board.loading.description": "Syncing projects, tasks, and blockers. This will only take a moment.",
|
|
1620
1816
|
"board.empty.title": "No board data yet",
|
|
1621
1817
|
"board.empty.description": "Projects appear here after the lead AI first writes through the board tool.",
|
|
1622
1818
|
"board.emptyProjects.title": "No projects on the board yet",
|
|
@@ -2036,8 +2232,9 @@ window.__ModuleLoader__.load({
|
|
|
2036
2232
|
align-items: center;
|
|
2037
2233
|
}
|
|
2038
2234
|
|
|
2039
|
-
/* Read-only project board:
|
|
2040
|
-
|
|
2235
|
+
/* Read-only project board: a compact operational overview above a responsive
|
|
2236
|
+
project canvas. All colors and elevation come from the Harness theme tokens;
|
|
2237
|
+
container queries respond to the actual Sidebar width, not the window. */
|
|
2041
2238
|
.devlead-board-open {
|
|
2042
2239
|
flex: none;
|
|
2043
2240
|
width: 28px;
|
|
@@ -2050,6 +2247,7 @@ window.__ModuleLoader__.load({
|
|
|
2050
2247
|
}
|
|
2051
2248
|
|
|
2052
2249
|
.devlead-board {
|
|
2250
|
+
container: devlead-board / inline-size;
|
|
2053
2251
|
display: flex;
|
|
2054
2252
|
flex-direction: column;
|
|
2055
2253
|
width: 100%;
|
|
@@ -2065,19 +2263,30 @@ window.__ModuleLoader__.load({
|
|
|
2065
2263
|
}
|
|
2066
2264
|
|
|
2067
2265
|
.devlead-board-header {
|
|
2266
|
+
position: relative;
|
|
2068
2267
|
flex: none;
|
|
2069
2268
|
min-width: 0;
|
|
2070
|
-
padding:
|
|
2269
|
+
padding: 14px;
|
|
2270
|
+
overflow: hidden;
|
|
2071
2271
|
border-bottom: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
2272
|
+
background:
|
|
2273
|
+
linear-gradient(
|
|
2274
|
+
135deg,
|
|
2275
|
+
color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 7%, transparent),
|
|
2276
|
+
transparent 68%
|
|
2277
|
+
),
|
|
2278
|
+
var(--dsw-specific-menu, Canvas);
|
|
2072
2279
|
}
|
|
2073
2280
|
|
|
2074
2281
|
.devlead-board-title-row,
|
|
2075
2282
|
.devlead-board-title-group,
|
|
2283
|
+
.devlead-board-live,
|
|
2076
2284
|
.devlead-board-meta,
|
|
2077
2285
|
.devlead-board-card-header,
|
|
2078
2286
|
.devlead-board-card-badges,
|
|
2079
2287
|
.devlead-board-task-heading,
|
|
2080
|
-
.devlead-board-task-meta
|
|
2288
|
+
.devlead-board-task-meta,
|
|
2289
|
+
.devlead-board-progress-heading {
|
|
2081
2290
|
display: flex;
|
|
2082
2291
|
min-width: 0;
|
|
2083
2292
|
align-items: center;
|
|
@@ -2085,7 +2294,7 @@ window.__ModuleLoader__.load({
|
|
|
2085
2294
|
|
|
2086
2295
|
.devlead-board-title-row {
|
|
2087
2296
|
justify-content: space-between;
|
|
2088
|
-
gap:
|
|
2297
|
+
gap: 10px;
|
|
2089
2298
|
}
|
|
2090
2299
|
|
|
2091
2300
|
.devlead-board-title-group {
|
|
@@ -2096,42 +2305,160 @@ window.__ModuleLoader__.load({
|
|
|
2096
2305
|
|
|
2097
2306
|
.devlead-board-title-group h3,
|
|
2098
2307
|
.devlead-board-card-heading h5,
|
|
2099
|
-
.devlead-board-group
|
|
2308
|
+
.devlead-board-group h4,
|
|
2100
2309
|
.devlead-board-placeholder h4,
|
|
2101
2310
|
.devlead-board-error h4,
|
|
2102
2311
|
.devlead-board-blockers h6 {
|
|
2312
|
+
min-width: 0;
|
|
2103
2313
|
margin: 0;
|
|
2104
2314
|
font: inherit;
|
|
2105
|
-
font-weight:
|
|
2315
|
+
font-weight: 650;
|
|
2106
2316
|
}
|
|
2107
2317
|
|
|
2108
2318
|
.devlead-board-title-group h3 {
|
|
2109
|
-
|
|
2319
|
+
overflow: hidden;
|
|
2320
|
+
font-size: 16px;
|
|
2110
2321
|
line-height: 24px;
|
|
2322
|
+
letter-spacing: -0.01em;
|
|
2323
|
+
text-overflow: ellipsis;
|
|
2324
|
+
white-space: nowrap;
|
|
2111
2325
|
}
|
|
2112
2326
|
|
|
2113
2327
|
.devlead-board-refresh {
|
|
2114
2328
|
flex: none;
|
|
2115
2329
|
width: 28px;
|
|
2330
|
+
border-radius: var(--dsw-radius-md, 8px);
|
|
2331
|
+
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2332
|
+
transition:
|
|
2333
|
+
color 120ms ease,
|
|
2334
|
+
background-color 120ms ease,
|
|
2335
|
+
transform 120ms ease;
|
|
2116
2336
|
}
|
|
2117
2337
|
|
|
2118
|
-
.devlead-board-
|
|
2338
|
+
.devlead-board-refresh[aria-busy="true"] > svg {
|
|
2339
|
+
animation: devlead-board-spin 1s linear infinite;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
@keyframes devlead-board-spin {
|
|
2343
|
+
to { transform: rotate(360deg); }
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
.devlead-board-live {
|
|
2119
2347
|
flex-wrap: wrap;
|
|
2120
|
-
gap:
|
|
2121
|
-
margin-top:
|
|
2348
|
+
gap: 3px 6px;
|
|
2349
|
+
margin-top: 5px;
|
|
2122
2350
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2123
|
-
font-size:
|
|
2351
|
+
font-size: 11px;
|
|
2352
|
+
line-height: 18px;
|
|
2124
2353
|
}
|
|
2125
2354
|
|
|
2126
|
-
.devlead-board-
|
|
2355
|
+
.devlead-board-live > strong {
|
|
2356
|
+
color: var(--dsw-alias-state-success-primary, #2e7d32);
|
|
2357
|
+
font-size: 10px;
|
|
2358
|
+
font-weight: 700;
|
|
2359
|
+
letter-spacing: 0.09em;
|
|
2360
|
+
text-transform: uppercase;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
.devlead-board-live[data-auto-refresh="paused"] > strong {
|
|
2364
|
+
color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2367
|
+
.devlead-board-live[data-auto-refresh="disabled"] > strong {
|
|
2368
|
+
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
.devlead-board-kpis {
|
|
2372
|
+
display: grid;
|
|
2373
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
2374
|
+
gap: 6px;
|
|
2375
|
+
min-width: 0;
|
|
2376
|
+
margin: 12px 0 0;
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2379
|
+
.devlead-board-kpis > div {
|
|
2380
|
+
display: flex;
|
|
2381
|
+
min-width: 0;
|
|
2382
|
+
margin: 0;
|
|
2383
|
+
padding: 7px 8px;
|
|
2384
|
+
overflow: hidden;
|
|
2385
|
+
border: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
2386
|
+
border-radius: var(--dsw-radius-md, 8px);
|
|
2387
|
+
background: color-mix(in srgb, var(--dsw-alias-label-primary, CanvasText) 3%, transparent);
|
|
2388
|
+
flex-direction: column-reverse;
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
.devlead-board-kpis dt {
|
|
2392
|
+
min-width: 0;
|
|
2393
|
+
overflow: hidden;
|
|
2394
|
+
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2395
|
+
font-size: 10px;
|
|
2396
|
+
line-height: 16px;
|
|
2397
|
+
text-overflow: ellipsis;
|
|
2398
|
+
white-space: nowrap;
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
.devlead-board-kpis dd {
|
|
2402
|
+
min-width: 0;
|
|
2403
|
+
margin: 0;
|
|
2404
|
+
overflow: hidden;
|
|
2405
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
2406
|
+
font-size: 19px;
|
|
2127
2407
|
font-variant-numeric: tabular-nums;
|
|
2408
|
+
font-weight: 700;
|
|
2409
|
+
line-height: 23px;
|
|
2410
|
+
text-overflow: ellipsis;
|
|
2128
2411
|
}
|
|
2129
2412
|
|
|
2130
|
-
.devlead-board-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2413
|
+
.devlead-board-kpis > div[data-tone="active"] {
|
|
2414
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 34%, transparent);
|
|
2415
|
+
background: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 8%, transparent);
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
.devlead-board-kpis > div[data-tone="active"] dd {
|
|
2419
|
+
color: var(--dsw-alias-state-business-primary, #4176e6);
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
.devlead-board-kpis > div[data-tone="blocked"] {
|
|
2423
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 58%, transparent);
|
|
2424
|
+
background: color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 12%, transparent);
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
.devlead-board-kpis > div[data-tone="blocked"] dd,
|
|
2428
|
+
.devlead-board-kpis > div[data-tone="blocked"] dt {
|
|
2429
|
+
color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
.devlead-board-kpis > div[data-tone="done"] dd {
|
|
2433
|
+
color: var(--dsw-alias-state-success-primary, #2e7d32);
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
.devlead-board-meta {
|
|
2437
|
+
flex-wrap: wrap;
|
|
2438
|
+
justify-content: space-between;
|
|
2439
|
+
gap: 4px 12px;
|
|
2440
|
+
margin-top: 9px;
|
|
2441
|
+
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2442
|
+
font-size: 11px;
|
|
2443
|
+
line-height: 16px;
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
.devlead-board-updated {
|
|
2447
|
+
min-width: 0;
|
|
2448
|
+
overflow: hidden;
|
|
2449
|
+
text-overflow: ellipsis;
|
|
2450
|
+
white-space: nowrap;
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
.devlead-board-revision {
|
|
2454
|
+
flex: none;
|
|
2134
2455
|
margin-left: auto;
|
|
2456
|
+
padding: 0 6px;
|
|
2457
|
+
border-radius: var(--dsw-radius-sm, 4px);
|
|
2458
|
+
background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, 0.12));
|
|
2459
|
+
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2460
|
+
font-family: inherit;
|
|
2461
|
+
font-variant-numeric: tabular-nums;
|
|
2135
2462
|
}
|
|
2136
2463
|
|
|
2137
2464
|
.devlead-board-content {
|
|
@@ -2146,55 +2473,106 @@ window.__ModuleLoader__.load({
|
|
|
2146
2473
|
|
|
2147
2474
|
.devlead-board-placeholder,
|
|
2148
2475
|
.devlead-board-error {
|
|
2476
|
+
display: flex;
|
|
2477
|
+
align-items: center;
|
|
2149
2478
|
max-width: 100%;
|
|
2150
|
-
|
|
2479
|
+
min-height: 180px;
|
|
2480
|
+
margin: 8px 0;
|
|
2481
|
+
padding: 28px 18px;
|
|
2482
|
+
overflow: hidden;
|
|
2151
2483
|
border: 1px dashed var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
2152
2484
|
border-radius: var(--dsw-radius-lg, 12px);
|
|
2485
|
+
background: color-mix(in srgb, var(--dsw-alias-label-primary, CanvasText) 2%, transparent);
|
|
2153
2486
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2154
2487
|
text-align: center;
|
|
2488
|
+
flex-direction: column;
|
|
2489
|
+
justify-content: center;
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
.devlead-board-state-mark {
|
|
2493
|
+
display: inline-flex;
|
|
2494
|
+
align-items: center;
|
|
2495
|
+
justify-content: center;
|
|
2496
|
+
width: 38px;
|
|
2497
|
+
height: 38px;
|
|
2498
|
+
margin-bottom: 10px;
|
|
2499
|
+
border: 1px solid color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 28%, transparent);
|
|
2500
|
+
border-radius: 999px;
|
|
2501
|
+
background: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 8%, transparent);
|
|
2502
|
+
color: var(--dsw-alias-state-business-primary, #4176e6);
|
|
2503
|
+
font-size: 19px;
|
|
2504
|
+
font-weight: 600;
|
|
2505
|
+
line-height: 1;
|
|
2155
2506
|
}
|
|
2156
2507
|
|
|
2157
2508
|
.devlead-board-placeholder p,
|
|
2158
2509
|
.devlead-board-error p,
|
|
2159
2510
|
.devlead-board-unlisted-body p {
|
|
2511
|
+
max-width: 42ch;
|
|
2160
2512
|
margin: 6px 0 0;
|
|
2161
2513
|
overflow-wrap: anywhere;
|
|
2162
2514
|
}
|
|
2163
2515
|
|
|
2164
2516
|
.devlead-board-error {
|
|
2165
|
-
border-
|
|
2517
|
+
border-style: solid;
|
|
2518
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-error-primary, #c0392b) 60%, transparent);
|
|
2519
|
+
background: color-mix(in srgb, var(--dsw-alias-state-error-primary, #c0392b) 6%, transparent);
|
|
2166
2520
|
color: var(--dsw-alias-label-error, #c0392b);
|
|
2167
2521
|
}
|
|
2168
2522
|
|
|
2523
|
+
.devlead-board-error .devlead-board-state-mark {
|
|
2524
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-error-primary, #c0392b) 34%, transparent);
|
|
2525
|
+
background: color-mix(in srgb, var(--dsw-alias-state-error-primary, #c0392b) 10%, transparent);
|
|
2526
|
+
color: var(--dsw-alias-state-error-primary, #c0392b);
|
|
2527
|
+
}
|
|
2528
|
+
|
|
2169
2529
|
.devlead-board-error-detail {
|
|
2170
|
-
display:
|
|
2530
|
+
display: -webkit-box;
|
|
2171
2531
|
max-width: 100%;
|
|
2172
|
-
margin:
|
|
2532
|
+
margin: 12px 0;
|
|
2533
|
+
overflow: hidden;
|
|
2173
2534
|
overflow-wrap: anywhere;
|
|
2174
2535
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2175
2536
|
font-family: inherit;
|
|
2176
2537
|
font-size: 12px;
|
|
2177
2538
|
white-space: pre-wrap;
|
|
2539
|
+
-webkit-box-orient: vertical;
|
|
2540
|
+
-webkit-line-clamp: 4;
|
|
2178
2541
|
}
|
|
2179
2542
|
|
|
2180
2543
|
.devlead-board-blocked-notice {
|
|
2181
2544
|
display: flex;
|
|
2182
2545
|
align-items: flex-start;
|
|
2183
|
-
gap:
|
|
2546
|
+
gap: 8px;
|
|
2547
|
+
min-width: 0;
|
|
2184
2548
|
margin-bottom: 12px;
|
|
2185
|
-
padding:
|
|
2549
|
+
padding: 10px 12px;
|
|
2550
|
+
overflow: hidden;
|
|
2186
2551
|
border: 1px solid var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2187
2552
|
border-radius: var(--dsw-radius-lg, 12px);
|
|
2553
|
+
background: color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 12%, transparent);
|
|
2554
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 7%, transparent);
|
|
2188
2555
|
color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2189
2556
|
}
|
|
2190
2557
|
|
|
2191
2558
|
.devlead-board-blocked-notice > svg {
|
|
2192
2559
|
flex: none;
|
|
2193
|
-
margin-top:
|
|
2560
|
+
margin-top: 2px;
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
.devlead-board-blocked-notice > strong {
|
|
2564
|
+
min-width: 0;
|
|
2565
|
+
overflow-wrap: anywhere;
|
|
2566
|
+
font-weight: 650;
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
.devlead-board-group {
|
|
2570
|
+
min-width: 0;
|
|
2571
|
+
max-width: 100%;
|
|
2194
2572
|
}
|
|
2195
2573
|
|
|
2196
2574
|
.devlead-board-group + .devlead-board-group {
|
|
2197
|
-
margin-top:
|
|
2575
|
+
margin-top: 16px;
|
|
2198
2576
|
}
|
|
2199
2577
|
|
|
2200
2578
|
.devlead-board-group-header {
|
|
@@ -2202,10 +2580,24 @@ window.__ModuleLoader__.load({
|
|
|
2202
2580
|
align-items: center;
|
|
2203
2581
|
justify-content: space-between;
|
|
2204
2582
|
gap: 8px;
|
|
2583
|
+
min-width: 0;
|
|
2205
2584
|
margin: 0 2px 8px;
|
|
2206
2585
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2207
2586
|
}
|
|
2208
2587
|
|
|
2588
|
+
.devlead-board-group-header h4 {
|
|
2589
|
+
overflow: hidden;
|
|
2590
|
+
font-size: 12px;
|
|
2591
|
+
letter-spacing: 0.04em;
|
|
2592
|
+
text-overflow: ellipsis;
|
|
2593
|
+
text-transform: uppercase;
|
|
2594
|
+
white-space: nowrap;
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
.devlead-board-group[data-board-group="blocked"] > .devlead-board-group-header h4 {
|
|
2598
|
+
color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2209
2601
|
.devlead-board-cards {
|
|
2210
2602
|
display: grid;
|
|
2211
2603
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -2214,18 +2606,42 @@ window.__ModuleLoader__.load({
|
|
|
2214
2606
|
}
|
|
2215
2607
|
|
|
2216
2608
|
.devlead-board-card {
|
|
2609
|
+
position: relative;
|
|
2217
2610
|
min-width: 0;
|
|
2218
2611
|
max-width: 100%;
|
|
2219
|
-
padding:
|
|
2612
|
+
padding: 13px;
|
|
2220
2613
|
overflow: hidden;
|
|
2221
2614
|
border: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
2222
2615
|
border-radius: var(--dsw-radius-lg, 12px);
|
|
2223
2616
|
background: var(--dsw-specific-menu, Canvas);
|
|
2224
2617
|
box-shadow: var(--dsw-elevation-panel, 0 1px 2px rgba(0, 0, 0, 0.08));
|
|
2618
|
+
transition:
|
|
2619
|
+
border-color 140ms ease,
|
|
2620
|
+
box-shadow 140ms ease,
|
|
2621
|
+
transform 140ms ease;
|
|
2225
2622
|
}
|
|
2226
2623
|
|
|
2227
2624
|
.devlead-board-card[data-status="blocked"] {
|
|
2228
2625
|
border-color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2626
|
+
background:
|
|
2627
|
+
linear-gradient(
|
|
2628
|
+
145deg,
|
|
2629
|
+
color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 9%, transparent),
|
|
2630
|
+
transparent 52%
|
|
2631
|
+
),
|
|
2632
|
+
var(--dsw-specific-menu, Canvas);
|
|
2633
|
+
box-shadow:
|
|
2634
|
+
0 0 0 1px color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 15%, transparent),
|
|
2635
|
+
var(--dsw-elevation-panel, 0 1px 2px rgba(0, 0, 0, 0.08));
|
|
2636
|
+
}
|
|
2637
|
+
|
|
2638
|
+
.devlead-board-card[data-status="blocked"]::before {
|
|
2639
|
+
position: absolute;
|
|
2640
|
+
inset: 0 auto 0 0;
|
|
2641
|
+
width: 3px;
|
|
2642
|
+
background: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2643
|
+
content: '';
|
|
2644
|
+
pointer-events: none;
|
|
2229
2645
|
}
|
|
2230
2646
|
|
|
2231
2647
|
.devlead-board-card-header {
|
|
@@ -2235,12 +2651,17 @@ window.__ModuleLoader__.load({
|
|
|
2235
2651
|
}
|
|
2236
2652
|
|
|
2237
2653
|
.devlead-board-card-heading {
|
|
2238
|
-
flex: 1 1
|
|
2654
|
+
flex: 1 1 130px;
|
|
2239
2655
|
min-width: 0;
|
|
2240
2656
|
}
|
|
2241
2657
|
|
|
2242
2658
|
.devlead-board-card-heading h5 {
|
|
2243
|
-
overflow
|
|
2659
|
+
overflow: hidden;
|
|
2660
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
2661
|
+
font-size: 14px;
|
|
2662
|
+
line-height: 21px;
|
|
2663
|
+
text-overflow: ellipsis;
|
|
2664
|
+
white-space: nowrap;
|
|
2244
2665
|
}
|
|
2245
2666
|
|
|
2246
2667
|
.devlead-board-project-id {
|
|
@@ -2248,7 +2669,9 @@ window.__ModuleLoader__.load({
|
|
|
2248
2669
|
margin-top: 1px;
|
|
2249
2670
|
overflow: hidden;
|
|
2250
2671
|
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2251
|
-
font-
|
|
2672
|
+
font-family: inherit;
|
|
2673
|
+
font-size: 10px;
|
|
2674
|
+
line-height: 15px;
|
|
2252
2675
|
text-overflow: ellipsis;
|
|
2253
2676
|
white-space: nowrap;
|
|
2254
2677
|
}
|
|
@@ -2256,14 +2679,16 @@ window.__ModuleLoader__.load({
|
|
|
2256
2679
|
.devlead-board-card-badges {
|
|
2257
2680
|
flex: 0 1 auto;
|
|
2258
2681
|
flex-wrap: wrap;
|
|
2259
|
-
justify-content: flex-
|
|
2682
|
+
justify-content: flex-start;
|
|
2260
2683
|
gap: 5px;
|
|
2684
|
+
margin-top: 6px;
|
|
2261
2685
|
min-width: 0;
|
|
2262
2686
|
max-width: 100%;
|
|
2263
2687
|
}
|
|
2264
2688
|
|
|
2265
2689
|
.devlead-board-status {
|
|
2266
2690
|
pointer-events: none;
|
|
2691
|
+
font-weight: 600;
|
|
2267
2692
|
}
|
|
2268
2693
|
|
|
2269
2694
|
[data-board-status="blocked"] .devlead-board-status {
|
|
@@ -2281,11 +2706,14 @@ window.__ModuleLoader__.load({
|
|
|
2281
2706
|
.devlead-board-workspace {
|
|
2282
2707
|
display: block;
|
|
2283
2708
|
max-width: 100%;
|
|
2284
|
-
margin-top:
|
|
2285
|
-
overflow
|
|
2286
|
-
color: var(--dsw-alias-label-
|
|
2709
|
+
margin-top: 6px;
|
|
2710
|
+
overflow: hidden;
|
|
2711
|
+
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2712
|
+
font-family: inherit;
|
|
2287
2713
|
font-size: 11px;
|
|
2288
|
-
|
|
2714
|
+
line-height: 17px;
|
|
2715
|
+
text-overflow: ellipsis;
|
|
2716
|
+
white-space: nowrap;
|
|
2289
2717
|
}
|
|
2290
2718
|
|
|
2291
2719
|
.devlead-board-field {
|
|
@@ -2294,23 +2722,78 @@ window.__ModuleLoader__.load({
|
|
|
2294
2722
|
}
|
|
2295
2723
|
|
|
2296
2724
|
.devlead-board-field-label {
|
|
2297
|
-
display:
|
|
2725
|
+
display: flex;
|
|
2726
|
+
align-items: center;
|
|
2727
|
+
gap: 5px;
|
|
2298
2728
|
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2299
|
-
font-size:
|
|
2300
|
-
font-weight:
|
|
2729
|
+
font-size: 10px;
|
|
2730
|
+
font-weight: 600;
|
|
2731
|
+
letter-spacing: 0.035em;
|
|
2732
|
+
line-height: 16px;
|
|
2733
|
+
text-transform: uppercase;
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
.devlead-board-field-arrow {
|
|
2737
|
+
flex: none;
|
|
2738
|
+
color: var(--dsw-alias-state-business-primary, #4176e6);
|
|
2739
|
+
font-size: 13px;
|
|
2740
|
+
line-height: 1;
|
|
2301
2741
|
}
|
|
2302
2742
|
|
|
2303
2743
|
.devlead-board-field p {
|
|
2304
|
-
|
|
2744
|
+
display: -webkit-box;
|
|
2745
|
+
min-width: 0;
|
|
2746
|
+
margin: 3px 0 0;
|
|
2747
|
+
overflow: hidden;
|
|
2305
2748
|
overflow-wrap: anywhere;
|
|
2306
2749
|
white-space: pre-wrap;
|
|
2750
|
+
-webkit-box-orient: vertical;
|
|
2751
|
+
-webkit-line-clamp: 2;
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
.devlead-board-field-goal {
|
|
2755
|
+
margin-top: 8px;
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
.devlead-board-field-goal .devlead-board-field-label,
|
|
2759
|
+
.devlead-board-field-goal .devlead-board-field-arrow,
|
|
2760
|
+
.devlead-board-field-goal p {
|
|
2761
|
+
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
.devlead-board-field-goal p {
|
|
2765
|
+
font-size: 12px;
|
|
2766
|
+
-webkit-line-clamp: 1;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
.devlead-board-field-focus {
|
|
2770
|
+
margin-top: 11px;
|
|
2771
|
+
padding: 8px 9px;
|
|
2772
|
+
border: 1px solid color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 14%, transparent);
|
|
2773
|
+
border-radius: var(--dsw-radius-md, 8px);
|
|
2774
|
+
background: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 5%, transparent);
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
.devlead-board-field-focus p {
|
|
2778
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
2779
|
+
font-size: 14px;
|
|
2780
|
+
font-weight: 600;
|
|
2781
|
+
line-height: 21px;
|
|
2782
|
+
-webkit-line-clamp: 3;
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
.devlead-board-field-next p {
|
|
2786
|
+
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2307
2787
|
}
|
|
2308
2788
|
|
|
2309
2789
|
.devlead-board-blockers {
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2790
|
+
min-width: 0;
|
|
2791
|
+
margin-top: 11px;
|
|
2792
|
+
padding: 9px 10px;
|
|
2793
|
+
overflow: hidden;
|
|
2794
|
+
border: 1px solid color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 40%, transparent);
|
|
2795
|
+
border-radius: var(--dsw-radius-md, 8px);
|
|
2796
|
+
background: color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 10%, transparent);
|
|
2314
2797
|
color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2315
2798
|
}
|
|
2316
2799
|
|
|
@@ -2318,10 +2801,12 @@ window.__ModuleLoader__.load({
|
|
|
2318
2801
|
display: flex;
|
|
2319
2802
|
align-items: center;
|
|
2320
2803
|
gap: 5px;
|
|
2804
|
+
font-size: 12px;
|
|
2321
2805
|
}
|
|
2322
2806
|
|
|
2323
2807
|
.devlead-board-blockers ul,
|
|
2324
2808
|
.devlead-board-tasks ul {
|
|
2809
|
+
min-width: 0;
|
|
2325
2810
|
margin: 6px 0 0;
|
|
2326
2811
|
padding: 0;
|
|
2327
2812
|
list-style: none;
|
|
@@ -2330,13 +2815,16 @@ window.__ModuleLoader__.load({
|
|
|
2330
2815
|
.devlead-board-blockers li + li {
|
|
2331
2816
|
margin-top: 8px;
|
|
2332
2817
|
padding-top: 8px;
|
|
2333
|
-
border-top: 1px solid var(--dsw-alias-
|
|
2818
|
+
border-top: 1px solid color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 24%, transparent);
|
|
2334
2819
|
}
|
|
2335
2820
|
|
|
2336
2821
|
.devlead-board-blockers li > span:first-child {
|
|
2337
|
-
display:
|
|
2822
|
+
display: -webkit-box;
|
|
2823
|
+
overflow: hidden;
|
|
2338
2824
|
overflow-wrap: anywhere;
|
|
2339
2825
|
white-space: pre-wrap;
|
|
2826
|
+
-webkit-box-orient: vertical;
|
|
2827
|
+
-webkit-line-clamp: 3;
|
|
2340
2828
|
}
|
|
2341
2829
|
|
|
2342
2830
|
.devlead-board-blocker-since {
|
|
@@ -2346,20 +2834,112 @@ window.__ModuleLoader__.load({
|
|
|
2346
2834
|
font-size: 11px;
|
|
2347
2835
|
}
|
|
2348
2836
|
|
|
2837
|
+
.devlead-board-progress {
|
|
2838
|
+
min-width: 0;
|
|
2839
|
+
margin-top: 12px;
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
.devlead-board-progress-heading {
|
|
2843
|
+
justify-content: space-between;
|
|
2844
|
+
gap: 8px;
|
|
2845
|
+
margin-bottom: 5px;
|
|
2846
|
+
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2847
|
+
font-size: 11px;
|
|
2848
|
+
line-height: 16px;
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
.devlead-board-progress-heading > strong {
|
|
2852
|
+
flex: none;
|
|
2853
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
2854
|
+
font-variant-numeric: tabular-nums;
|
|
2855
|
+
font-weight: 650;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
.devlead-board-progress progress {
|
|
2859
|
+
display: block;
|
|
2860
|
+
width: 100%;
|
|
2861
|
+
max-width: 100%;
|
|
2862
|
+
height: 6px;
|
|
2863
|
+
overflow: hidden;
|
|
2864
|
+
appearance: none;
|
|
2865
|
+
border: 0;
|
|
2866
|
+
border-radius: 999px;
|
|
2867
|
+
background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, 0.12));
|
|
2868
|
+
color: var(--dsw-alias-state-business-primary, #4176e6);
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
.devlead-board-progress progress::-webkit-progress-bar {
|
|
2872
|
+
border-radius: 999px;
|
|
2873
|
+
background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, 0.12));
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
.devlead-board-progress progress::-webkit-progress-value {
|
|
2877
|
+
border-radius: 999px;
|
|
2878
|
+
background: var(--dsw-alias-state-business-primary, #4176e6);
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
.devlead-board-progress progress::-moz-progress-bar {
|
|
2882
|
+
border-radius: 999px;
|
|
2883
|
+
background: var(--dsw-alias-state-business-primary, #4176e6);
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
.devlead-board-card[data-status="blocked"] .devlead-board-progress progress {
|
|
2887
|
+
color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
.devlead-board-card[data-status="blocked"] .devlead-board-progress progress::-webkit-progress-value {
|
|
2891
|
+
background: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
.devlead-board-card[data-status="blocked"] .devlead-board-progress progress::-moz-progress-bar {
|
|
2895
|
+
background: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2349
2898
|
.devlead-board-tasks {
|
|
2350
2899
|
min-width: 0;
|
|
2351
|
-
margin-top:
|
|
2900
|
+
margin-top: 9px;
|
|
2352
2901
|
border-top: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
2353
2902
|
}
|
|
2354
2903
|
|
|
2355
|
-
.devlead-board
|
|
2356
|
-
.devlead-board-unlisted summary {
|
|
2904
|
+
.devlead-board summary {
|
|
2357
2905
|
min-width: 0;
|
|
2358
|
-
|
|
2359
|
-
overflow-wrap: anywhere;
|
|
2906
|
+
max-width: 100%;
|
|
2360
2907
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2361
2908
|
cursor: pointer;
|
|
2362
2909
|
font-weight: 500;
|
|
2910
|
+
list-style: none;
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
.devlead-board summary::-webkit-details-marker {
|
|
2914
|
+
display: none;
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
.devlead-board summary::after {
|
|
2918
|
+
flex: none;
|
|
2919
|
+
margin-left: auto;
|
|
2920
|
+
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2921
|
+
content: '\u203A';
|
|
2922
|
+
font-size: 17px;
|
|
2923
|
+
font-weight: 400;
|
|
2924
|
+
line-height: 16px;
|
|
2925
|
+
transform: rotate(0deg);
|
|
2926
|
+
transition: transform 120ms ease;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
.devlead-board details[open] > summary::after {
|
|
2930
|
+
transform: rotate(90deg);
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
.devlead-board-tasks > summary {
|
|
2934
|
+
display: flex;
|
|
2935
|
+
align-items: center;
|
|
2936
|
+
gap: 8px;
|
|
2937
|
+
padding: 8px 2px 2px;
|
|
2938
|
+
overflow: hidden;
|
|
2939
|
+
font-size: 11px;
|
|
2940
|
+
line-height: 18px;
|
|
2941
|
+
text-overflow: ellipsis;
|
|
2942
|
+
white-space: nowrap;
|
|
2363
2943
|
}
|
|
2364
2944
|
|
|
2365
2945
|
.devlead-board-tasks li {
|
|
@@ -2374,10 +2954,14 @@ window.__ModuleLoader__.load({
|
|
|
2374
2954
|
}
|
|
2375
2955
|
|
|
2376
2956
|
.devlead-board-task-title {
|
|
2957
|
+
display: -webkit-box;
|
|
2377
2958
|
flex: 1 1 auto;
|
|
2378
2959
|
min-width: 0;
|
|
2960
|
+
overflow: hidden;
|
|
2379
2961
|
overflow-wrap: anywhere;
|
|
2380
2962
|
white-space: pre-wrap;
|
|
2963
|
+
-webkit-box-orient: vertical;
|
|
2964
|
+
-webkit-line-clamp: 2;
|
|
2381
2965
|
}
|
|
2382
2966
|
|
|
2383
2967
|
.devlead-board-task-heading > span:last-child {
|
|
@@ -2393,35 +2977,92 @@ window.__ModuleLoader__.load({
|
|
|
2393
2977
|
}
|
|
2394
2978
|
|
|
2395
2979
|
.devlead-board-task-meta code {
|
|
2396
|
-
|
|
2980
|
+
min-width: 0;
|
|
2981
|
+
overflow: hidden;
|
|
2397
2982
|
font-family: inherit;
|
|
2983
|
+
text-overflow: ellipsis;
|
|
2984
|
+
white-space: nowrap;
|
|
2398
2985
|
}
|
|
2399
2986
|
|
|
2400
2987
|
.devlead-board-card-footer {
|
|
2401
2988
|
margin-top: 8px;
|
|
2989
|
+
overflow: hidden;
|
|
2402
2990
|
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2403
|
-
font-size:
|
|
2991
|
+
font-size: 10px;
|
|
2992
|
+
line-height: 16px;
|
|
2404
2993
|
text-align: right;
|
|
2994
|
+
text-overflow: ellipsis;
|
|
2995
|
+
white-space: nowrap;
|
|
2405
2996
|
}
|
|
2406
2997
|
|
|
2407
2998
|
.devlead-board-muted {
|
|
2408
2999
|
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
2409
3000
|
}
|
|
2410
3001
|
|
|
2411
|
-
.devlead-board-
|
|
3002
|
+
.devlead-board-secondary {
|
|
2412
3003
|
min-width: 0;
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
3004
|
+
max-width: 100%;
|
|
3005
|
+
margin-top: 12px;
|
|
3006
|
+
overflow: hidden;
|
|
3007
|
+
border: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
3008
|
+
border-radius: var(--dsw-radius-lg, 12px);
|
|
3009
|
+
background: color-mix(in srgb, var(--dsw-alias-label-primary, CanvasText) 2%, transparent);
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
.devlead-board-secondary > summary {
|
|
3013
|
+
display: flex;
|
|
3014
|
+
align-items: center;
|
|
3015
|
+
gap: 8px;
|
|
3016
|
+
min-height: 42px;
|
|
3017
|
+
padding: 9px 11px;
|
|
3018
|
+
overflow: hidden;
|
|
3019
|
+
transition:
|
|
3020
|
+
color 120ms ease,
|
|
3021
|
+
background-color 120ms ease;
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
.devlead-board-secondary > summary > h4 {
|
|
3025
|
+
display: flex;
|
|
3026
|
+
flex: 1 1 auto;
|
|
3027
|
+
align-items: center;
|
|
3028
|
+
justify-content: space-between;
|
|
3029
|
+
gap: 8px;
|
|
3030
|
+
overflow: hidden;
|
|
3031
|
+
color: var(--dsw-alias-label-secondary, GrayText);
|
|
3032
|
+
font-size: 12px;
|
|
3033
|
+
line-height: 20px;
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
.devlead-board-secondary > summary > h4 > span:first-child,
|
|
3037
|
+
.devlead-board-unlisted > summary > span:first-child {
|
|
3038
|
+
min-width: 0;
|
|
3039
|
+
overflow: hidden;
|
|
3040
|
+
text-overflow: ellipsis;
|
|
3041
|
+
white-space: nowrap;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
.devlead-board-secondary[open] > summary {
|
|
3045
|
+
border-bottom: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
.devlead-board-secondary > .devlead-board-cards {
|
|
3049
|
+
padding: 10px;
|
|
3050
|
+
}
|
|
3051
|
+
|
|
3052
|
+
.devlead-board-secondary .devlead-board-card {
|
|
3053
|
+
box-shadow: none;
|
|
2416
3054
|
}
|
|
2417
3055
|
|
|
2418
3056
|
.devlead-board-unlisted-body {
|
|
2419
|
-
|
|
3057
|
+
min-width: 0;
|
|
3058
|
+
padding: 10px 11px;
|
|
3059
|
+
overflow: hidden;
|
|
2420
3060
|
color: var(--dsw-alias-label-secondary, GrayText);
|
|
2421
3061
|
font-size: 12px;
|
|
2422
3062
|
}
|
|
2423
3063
|
|
|
2424
3064
|
.devlead-board-unlisted-list {
|
|
3065
|
+
min-width: 0;
|
|
2425
3066
|
margin: 0;
|
|
2426
3067
|
padding: 0;
|
|
2427
3068
|
list-style: none;
|
|
@@ -2430,6 +3071,7 @@ window.__ModuleLoader__.load({
|
|
|
2430
3071
|
.devlead-board-unlisted-list li {
|
|
2431
3072
|
min-width: 0;
|
|
2432
3073
|
padding: 8px 0;
|
|
3074
|
+
overflow: hidden;
|
|
2433
3075
|
border-bottom: 1px solid var(--dsw-alias-border-l1, rgba(127, 127, 127, 0.24));
|
|
2434
3076
|
}
|
|
2435
3077
|
|
|
@@ -2442,7 +3084,10 @@ window.__ModuleLoader__.load({
|
|
|
2442
3084
|
.devlead-board-unlisted-list span {
|
|
2443
3085
|
display: block;
|
|
2444
3086
|
min-width: 0;
|
|
2445
|
-
|
|
3087
|
+
max-width: 100%;
|
|
3088
|
+
overflow: hidden;
|
|
3089
|
+
text-overflow: ellipsis;
|
|
3090
|
+
white-space: nowrap;
|
|
2446
3091
|
}
|
|
2447
3092
|
|
|
2448
3093
|
.devlead-board-unlisted-list strong {
|
|
@@ -2452,17 +3097,75 @@ window.__ModuleLoader__.load({
|
|
|
2452
3097
|
.devlead-board-unlisted-list code {
|
|
2453
3098
|
margin-top: 2px;
|
|
2454
3099
|
color: var(--dsw-alias-label-tertiary, GrayText);
|
|
3100
|
+
font-family: inherit;
|
|
2455
3101
|
font-size: 11px;
|
|
2456
|
-
white-space: normal;
|
|
2457
3102
|
}
|
|
2458
3103
|
|
|
2459
3104
|
.devlead-board-unlisted-list span {
|
|
2460
3105
|
margin-top: 3px;
|
|
2461
3106
|
}
|
|
2462
3107
|
|
|
3108
|
+
.devlead-board button:focus-visible,
|
|
3109
|
+
.devlead-board summary:focus-visible {
|
|
3110
|
+
outline: 2px solid var(--dsw-alias-state-business-primary, #4176e6);
|
|
3111
|
+
outline-offset: 2px;
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
.devlead-board-card:focus-within {
|
|
3115
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 60%, transparent);
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
.devlead-board-card:focus-visible {
|
|
3119
|
+
outline: 2px solid var(--dsw-alias-state-business-primary, #4176e6);
|
|
3120
|
+
outline-offset: 2px;
|
|
3121
|
+
}
|
|
3122
|
+
|
|
3123
|
+
@media (hover: hover) {
|
|
3124
|
+
.devlead-board-refresh:hover:not(:disabled) {
|
|
3125
|
+
background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, 0.12));
|
|
3126
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
3127
|
+
transform: rotate(12deg);
|
|
3128
|
+
}
|
|
3129
|
+
|
|
3130
|
+
.devlead-board-card:hover {
|
|
3131
|
+
border-color: color-mix(in srgb, var(--dsw-alias-state-business-primary, #4176e6) 42%, transparent);
|
|
3132
|
+
box-shadow: var(--dsw-elevation-panel, 0 1px 2px rgba(0, 0, 0, 0.08));
|
|
3133
|
+
transform: translateY(-1px);
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
.devlead-board-card[data-status="blocked"]:hover {
|
|
3137
|
+
border-color: var(--dsw-alias-state-warn-primary, #a15c00);
|
|
3138
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-warn-primary, #a15c00) 12%, transparent);
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
.devlead-board summary:hover {
|
|
3142
|
+
color: var(--dsw-alias-label-primary, CanvasText);
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
.devlead-board-secondary > summary:hover {
|
|
3146
|
+
background: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, 0.12));
|
|
3147
|
+
}
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
@container devlead-board (min-width: 620px) {
|
|
3151
|
+
.devlead-board-group:not(.devlead-board-secondary) > .devlead-board-cards {
|
|
3152
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
.devlead-board-card {
|
|
3156
|
+
padding: 14px;
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
@container devlead-board (max-width: 340px) {
|
|
3161
|
+
.devlead-board-kpis {
|
|
3162
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
|
|
2463
3166
|
@media (max-width: 480px) {
|
|
2464
3167
|
.devlead-board-header {
|
|
2465
|
-
padding
|
|
3168
|
+
padding: 11px 10px;
|
|
2466
3169
|
}
|
|
2467
3170
|
|
|
2468
3171
|
.devlead-board-content {
|
|
@@ -2470,13 +3173,28 @@ window.__ModuleLoader__.load({
|
|
|
2470
3173
|
}
|
|
2471
3174
|
|
|
2472
3175
|
.devlead-board-card {
|
|
2473
|
-
padding:
|
|
3176
|
+
padding: 11px;
|
|
2474
3177
|
}
|
|
2475
3178
|
|
|
2476
|
-
.devlead-board-
|
|
2477
|
-
|
|
3179
|
+
.devlead-board-live {
|
|
3180
|
+
align-items: flex-start;
|
|
3181
|
+
}
|
|
3182
|
+
|
|
3183
|
+
.devlead-board-live > span {
|
|
3184
|
+
flex: 1 1 150px;
|
|
3185
|
+
}
|
|
3186
|
+
}
|
|
3187
|
+
|
|
3188
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3189
|
+
.devlead-board *,
|
|
3190
|
+
.devlead-board *::before,
|
|
3191
|
+
.devlead-board *::after {
|
|
3192
|
+
scroll-behavior: auto !important;
|
|
3193
|
+
transition: none !important;
|
|
3194
|
+
animation: none !important;
|
|
2478
3195
|
}
|
|
2479
3196
|
}
|
|
3197
|
+
|
|
2480
3198
|
`;
|
|
2481
3199
|
var STYLE_TAG_STATE = /* @__PURE__ */ Symbol.for("@yankeguo/dsh-client-ui-devlead.style-tag");
|
|
2482
3200
|
function styleTagState() {
|