@sparkelf/dsh-patch-session-log-trajectory-toolbar 0.2.0-rc.24 → 0.2.0-rc.26

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/package.json CHANGED
@@ -4,11 +4,11 @@
4
4
  "formatVersion": 1,
5
5
  "variants": [
6
6
  {
7
- "dsh": ">=0.1.7-rc.1",
7
+ "dsh": ">=0.1.7-rc.2",
8
8
  "file": "./patches/session-log-trajectory-toolbar.patch",
9
9
  "id": "session-log-desktop-trajectory-toolbar",
10
10
  "target": {
11
- "baseRevision": "46a7f68b0922371ce7144b668b90e377d8e799f4",
11
+ "baseRevision": "477b4f420553e8a52c2fbccc464d7561b239c443",
12
12
  "kind": "dsh-source",
13
13
  "paths": [
14
14
  "packages/client/ui-trajectory/",
@@ -32,5 +32,5 @@
32
32
  "url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
33
33
  },
34
34
  "type": "module",
35
- "version": "0.2.0-rc.24"
35
+ "version": "0.2.0-rc.26"
36
36
  }
@@ -1,5 +1,5 @@
1
1
  diff --git a/packages/client/ui-trajectory/src/client/TrajectoryToolbar.module.css b/packages/client/ui-trajectory/src/client/TrajectoryToolbar.module.css
2
- index c286665666..66365f0adc 100644
2
+ index ac89529bd5..72f290101a 100644
3
3
  --- a/packages/client/ui-trajectory/src/client/TrajectoryToolbar.module.css
4
4
  +++ b/packages/client/ui-trajectory/src/client/TrajectoryToolbar.module.css
5
5
  @@ -165,13 +165,19 @@
@@ -111,7 +111,7 @@ index 935a43ff2c..0e978fa263 100644
111
111
  inject: (sessionId: SessionId): TrajectoryViewInjected => {
112
112
  const session = ctx.sessions.binding(sessionId)?.session
113
113
  diff --git a/packages/session-query/session-log-export/package.json b/packages/session-query/session-log-export/package.json
114
- index 6812223661..473e7b63dd 100644
114
+ index b9545681c5..6a5790a5fc 100644
115
115
  --- a/packages/session-query/session-log-export/package.json
116
116
  +++ b/packages/session-query/session-log-export/package.json
117
117
  @@ -47,8 +47,8 @@
@@ -148,13 +148,15 @@ index 6812223661..473e7b63dd 100644
148
148
  "platform": "web"
149
149
  }
150
150
  diff --git a/packages/session-query/session-log-export/src/client/HeaderAction.module.css b/packages/session-query/session-log-export/src/client/HeaderAction.module.css
151
- index cc13d3f49d..1d22e64cfd 100644
151
+ index 90ca1eedbc..aa22e45ead 100644
152
152
  --- a/packages/session-query/session-log-export/src/client/HeaderAction.module.css
153
153
  +++ b/packages/session-query/session-log-export/src/client/HeaderAction.module.css
154
- @@ -23,3 +23,44 @@
155
- .moreButton:hover {
156
- background: var(--dsw-alias-interactive-bg-hover);
154
+ @@ -10,3 +10,46 @@
155
+ width: 15px;
156
+ height: 15px;
157
157
  }
158
+ +/* The Header action is the shared compact Button; the Trajectory action below
159
+ + replaces it from 768px, where the header has room for a labelled control. */
158
160
  +
159
161
  +.trajectoryButton {
160
162
  + display: none;
@@ -197,7 +199,7 @@ index cc13d3f49d..1d22e64cfd 100644
197
199
  + .trajectoryButton { display: inline-flex; }
198
200
  +}
199
201
  diff --git a/packages/session-query/session-log-export/src/client/HeaderAction.tsx b/packages/session-query/session-log-export/src/client/HeaderAction.tsx
200
- index 9810fb86d3..44a8e042d7 100644
202
+ index 5104dee910..64086ee343 100644
201
203
  --- a/packages/session-query/session-log-export/src/client/HeaderAction.tsx
202
204
  +++ b/packages/session-query/session-log-export/src/client/HeaderAction.tsx
203
205
  @@ -1,11 +1,11 @@
@@ -207,7 +209,7 @@ index 9810fb86d3..44a8e042d7 100644
207
209
  -import type { InjectFace } from '@deepseek-ai/dsh-client-ui-slots'
208
210
  +import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'
209
211
  import type { SessionId } from '@deepseek-ai/dsh-session/types'
210
- import { IconDownloadOutlineRegular, IconEllipsisOutlineRegular, IconPaperPlaneOutlineRegular, Menu } from '@deepseek-ai/dsh-client-ui-primitives'
212
+ import { Button, IconDownloadOutlineRegular, IconEllipsisOutlineRegular, IconPaperPlaneOutlineRegular, Menu } from '@deepseek-ai/dsh-client-ui-primitives'
211
213
  -import { SessionLogDownloadDialog, type SessionLogDownloadDialogProps } from './Dialog.tsx'
212
214
  -import type { SessionLogDownloadDialogInjected } from './Dialog.tsx'
213
215
  +import { NS } from './locales.ts'
@@ -229,8 +231,8 @@ index 9810fb86d3..44a8e042d7 100644
229
231
  * Render the Session Header menu with download and optional feedback actions.
230
232
  * @param props - Session runtime, download controller, and localized copy.
231
233
  @@ -53,6 +59,7 @@ export function SessionLogDownloadHeaderAction(props: SessionLogDownloadHeaderPr
232
- <button
233
- type="button"
234
+ <Button
235
+ size="sm"
234
236
  className={css.moreButton}
235
237
  + data-session-log-header
236
238
  aria-label={t('header.more')}