dsh-multipane 1.0.39 → 1.0.40
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.en.md +4 -0
- package/README.md +4 -0
- package/lib/client.js +9 -5
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -161,6 +161,10 @@ node scripts/check-names.cjs # package name / version / release-age allowanc
|
|
|
161
161
|
|
|
162
162
|
## Changelog
|
|
163
163
|
|
|
164
|
+
### 1.0.40 (2026-11-11)
|
|
165
|
+
|
|
166
|
+
- **Fixed the second "Context" view showing a huge blank with a few lines at the bottom**: the previous version applied the "dock content to the bottom" rule too broadly, so views that need to fill the height and scroll on their own (trajectory / context / team) were collapsed to content height too. It is now scoped to the chat view with `:has([data-chat-flow])`, and the other views are back to normal
|
|
167
|
+
|
|
164
168
|
### 1.0.39 (2026-11-11)
|
|
165
169
|
|
|
166
170
|
- **Fixed the pulse peak looking brighter than the base even when both are set to the same value**: in the real list the row background and the pulse layer stack (15% base plus 15% pulse composites to 27.75%), while the settings preview uses a single layer — so the same number always looked brighter in the list. Pulsing rows now hand the background over to the pulse layer, making the on-screen opacity equal the configured value, matching the preview
|
package/README.md
CHANGED
|
@@ -160,6 +160,10 @@ node scripts/check-names.cjs # 包名 / 版本 / 冷却豁免三处是否一
|
|
|
160
160
|
|
|
161
161
|
## 更新记录
|
|
162
162
|
|
|
163
|
+
### 1.0.40(2026-11-11)
|
|
164
|
+
|
|
165
|
+
- **修「视图栏第二个『上下文』点开大片空白、只有底下几行字」**:上一版把「内容贴底」的 CSS 写得太宽,连轨迹 / 上下文 / 编队这些靠撑满高度自己滚动的视图也被压成了内容高度。现在用 `:has([data-chat-flow])` 只作用在聊天视图上,其它视图恢复原样
|
|
166
|
+
|
|
163
167
|
### 1.0.39(2026-11-11)
|
|
164
168
|
|
|
165
169
|
- **修「呼吸的最亮值和底板填一样,看着还是明显更亮」**:真实列表里行底色和呼吸层是**两层**叠在一起(15% 底板之上再叠 15%,合成 27.75%),而设置页预览是单层,所以设置里的数值在列表上永远偏亮。现在呼吸中的行把行底色让给呼吸层,屏幕上看到的透明度就等于设置里的数值,和预览一致
|
package/lib/client.js
CHANGED
|
@@ -17,7 +17,7 @@ window.__ModuleLoader__.load({
|
|
|
17
17
|
*/
|
|
18
18
|
const PLUGIN_LABEL = "多栏视图";
|
|
19
19
|
/* 与 package.json 的 version 必须一致(发版时两处同改;check-names.cjs 会校验)。 */
|
|
20
|
-
const PLUGIN_VERSION = "1.0.
|
|
20
|
+
const PLUGIN_VERSION = "1.0.40";
|
|
21
21
|
const NPM_LATEST_URL = "https://registry.npmjs.org/dsh-multipane/latest";
|
|
22
22
|
|
|
23
23
|
|
|
@@ -2282,12 +2282,16 @@ const TAB_LABEL_CHROME_DOT_PX = 46;
|
|
|
2282
2282
|
.dsv-pane .dsv-body .dsv-tab-slot{flex:1 1 auto;min-height:0;min-width:0;height:100%;display:flex;flex-direction:column;position:relative}
|
|
2283
2283
|
.dsv-pane .dsv-body .dsv-tab-slot>*{flex:1 1 auto;min-height:0;min-width:0}
|
|
2284
2284
|
.dsv-pane .dsv-body .dsv-tab-slot[data-active="0"]{display:none!important}
|
|
2285
|
-
/*
|
|
2285
|
+
/* 活动阶段:让**聊天视图**贴着输入框底部对齐(内容不足一屏时空白落到上方,而不是堆在回复下方)。
|
|
2286
2286
|
⚠️ 槽位 [data-slot="conversation.session"] 在宿主里是 display:contents(见 renderer 的
|
|
2287
2287
|
ANCHOR_STYLE),它不参与布局,写 margin-top:auto 是空操作 —— 真正的 flex item 是它的
|
|
2288
|
-
子元素 .an3WzG_viewArea,auto margin 必须写在这里才生效。
|
|
2289
|
-
|
|
2290
|
-
|
|
2288
|
+
子元素 .an3WzG_viewArea,auto margin 必须写在这里才生效。
|
|
2289
|
+
⚠️ 必须用 :has([data-chat-flow]) 限定在聊天视图:轨迹 / 上下文 / 编队 这些视图要靠
|
|
2290
|
+
viewArea 撑满高度、自己滚,一旦也被 flex:0 0 auto 压成内容高度,就会只剩底下几行字、
|
|
2291
|
+
上面一大片空白(2026-11-11 用户报「第二个上下文点开异常」)。data-chat-flow 是聊天流
|
|
2292
|
+
容器 .column 上的宿主属性,只有聊天视图里才有。 */
|
|
2293
|
+
.dsv-pane .dsv-body [data-content-phase="active"] .an3WzG_viewArea:has([data-chat-flow]){flex:0 0 auto;margin-top:auto}
|
|
2294
|
+
.dsv-pane .dsv-body [data-content-phase="active"] .an3WzG_scrollBody:has([data-chat-flow])>.an3WzG_composerSeat{margin-top:0}
|
|
2291
2295
|
/* 宿主聊天滚动管理器在「工具/明细折叠」后会在内容下方预留最多半个滚动区高度的空白,
|
|
2292
2296
|
在窄栏里尤其明显;这里把它的预留位清零。 */
|
|
2293
2297
|
.dsv-pane .dsv-body [data-chat-turn-spacer]{height:0!important}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-multipane",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"description": "Split the DSH main area into up to four panes, each with its own tab strip, composer and view switcher. Drag a tab to a pane edge to split. Bilingual (zh/en).",
|
|
5
5
|
"displayName": "多栏视图",
|
|
6
6
|
"dshhub": {
|