@deepseek-ai/dsh-client-ui-sidebar 0.1.7-rc.2 → 0.2.0-rc.1

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.i18n.yaml CHANGED
@@ -6,8 +6,8 @@
6
6
  en: 7884381c2c554eca
7
7
  zh: e6d7199a9bb2f0f8
8
8
  /deepseek-ai-dsh-client-ui-sidebar:
9
- en: 3b3885c78b619c8a
10
- zh: 2cabf9cfec748497
9
+ en: e357f49fb1d1710e
10
+ zh: 2e61922b104f77eb
11
11
  /deepseek-ai-dsh-client-ui-sidebar/summary:
12
12
  en: af17f03561e5372b
13
13
  zh: 91a1b9f6c7a51025
package/README.md CHANGED
@@ -7,6 +7,8 @@ kind: "package-reference"
7
7
 
8
8
  English | [中文](README.zh.md)
9
9
 
10
+ Desktop product events use the optional [product analytics service](../product-analytics/README.md); ordinary Web interactions are excluded.
11
+
10
12
  ## Summary
11
13
 
12
14
  The dsh web client sidebar lets users recognize the active build, start a new session, collapse navigation to a 56px rail, browse Workspaces and Sessions, and open Settings. It preserves a bottom-pinned Settings entry and hides idle scrollbars without moving browser rows. New Session uses an explicitly selected Workspace, then the current Session's Workspace, then the most recently active Workspace; if none exists, it opens a blank New Session page. Deployments can replace the brand mark or name while retaining the navigation controls and rail geometry.
package/README.zh.md CHANGED
@@ -7,6 +7,8 @@ kind: "package-reference"
7
7
 
8
8
  [English](README.md) | 中文
9
9
 
10
+ 桌面端产品事件使用可选的[产品埋点服务](../product-analytics/README.zh.md),不包含普通 Web 交互。
11
+
10
12
  ## 概述
11
13
 
12
14
  dsh Web 客户端的侧边栏让用户识别当前构建、启动新会话、将导航折叠为 56px 轨道、浏览 Workspace 与 Session,以及打开 Settings。它会将 Settings 入口固定在底部,并在隐藏空闲滚动条时避免浏览器行发生位移。New Session 优先使用显式选择的 Workspace,其次使用当前 Session 所属的 Workspace,再其次使用最近活跃的 Workspace;如果都不存在,则打开空白的 New Session 页面。部署可以替换品牌标记或名称,同时保留导航控件和轨道几何。
package/lib/client.js CHANGED
@@ -167,7 +167,7 @@ window.__ModuleLoader__.load({
167
167
  const SCROLLBAR_LINGER_MS = 2e3;
168
168
  /** Format complete-build metadata for the local brand badge. */
169
169
  function localBuildVersion() {
170
- return `0.1.7-rc.2-c127551` + ({}.DSH_CLIENT_GIT_DIRTY === "true" ? "-dirty" : "");
170
+ return `0.2.0-rc.1-62962ee` + ({}.DSH_CLIENT_GIT_DIRTY === "true" ? "-dirty" : "");
171
171
  }
172
172
  /** Each panel row subscribes only to its own selection state. */
173
173
  function PanelRow({ id, label, wide, usePanelInfo, selectPanel, renderSlot }) {
@@ -481,6 +481,7 @@ window.__ModuleLoader__.load({
481
481
  ctx.layout.toggleSidebar();
482
482
  },
483
483
  selectPanel: (id) => {
484
+ if (id === "plugins" || id === "schedules") ctx.get("productAnalytics")?.track("sidebar_menu_click", { menu_name: id === "plugins" ? "plugin" : "cron" });
484
485
  ctx.layout.selectPanel(id);
485
486
  },
486
487
  hooks: {
@@ -1,4 +1,3 @@
1
- /** Registers the sidebar shell and global panel navigation. */
2
1
  import type { Context as ClientContext } from '@deepseek-ai/cordis';
3
2
  import { type SidebarKey } from './locales.ts';
4
3
  export type { SidebarBrandMarkOwnerProps, SidebarBrandNameOwnerProps, SidebarFooterActionOwnerProps, SidebarPanelIconOwnerProps, SidebarPanelMetadata, SidebarRootComponentProps, SidebarRootInjected, SidebarSectionOwnerProps, SidebarSettingsOwnerProps, } from './contract/slots.ts';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-sidebar",
3
3
  "description": "Sidebar plugin: session multi-level tree, search, grouping, state dots",
4
- "version": "0.1.7-rc.2",
4
+ "version": "0.2.0-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -47,18 +47,19 @@
47
47
  "@types/react": "~18.3.1",
48
48
  "react": "^18.2.0",
49
49
  "clsx": "^2.0.0",
50
- "@deepseek-ai/dsh-api-workspace-controller": "0.1.7-rc.2",
51
- "@deepseek-ai/dsh-client-locale": "0.1.7-rc.2",
52
- "@deepseek-ai/dsh-client-store": "0.1.7-rc.2",
53
- "@deepseek-ai/dsh-client-test-runtime": "0.1.7-rc.2",
54
- "@deepseek-ai/dsh-client-ui-layout": "0.1.7-rc.2",
55
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.2",
56
- "@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2",
57
- "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
58
- "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
59
- "@deepseek-ai/dsh-client-ui-workspace": "0.1.7-rc.2",
50
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.0-rc.1",
51
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
52
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.1",
53
+ "@deepseek-ai/dsh-client-test-runtime": "0.2.0-rc.1",
54
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.0-rc.1",
55
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
56
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
57
+ "@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.1",
58
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.1",
60
59
  "@deepseek-ai/cordis": "~4.0.4",
61
- "@deepseek-ai/dsh-client-shortcuts": "0.1.7-rc.2"
60
+ "@deepseek-ai/dsh-client-shortcuts": "0.2.0-rc.1",
61
+ "@deepseek-ai/dsh-client-product-analytics": "0.2.0-rc.1",
62
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1"
62
63
  },
63
64
  "files": [
64
65
  "lib/index.js",