dsh-multipane 1.0.38 → 1.0.39

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 CHANGED
@@ -161,12 +161,9 @@ node scripts/check-names.cjs # package name / version / release-age allowanc
161
161
 
162
162
  ## Changelog
163
163
 
164
- ### 1.0.38 (2026-11-11)
164
+ ### 1.0.39 (2026-11-11)
165
165
 
166
- - **Fixed the big gap under the last message after a reply**: the host's slot wrapper is `display:contents` and never takes part in layout, so the earlier `margin-top:auto` on it did nothing. The auto margin now sits on the real flex item (`.an3WzG_viewArea`), and the host scroll manager's reserved room after collapsing a turn (up to half a viewport) is zeroed — short conversations dock above the composer, long ones still start at the top
167
- - **Fixed the "loading history" flash when switching tabs**: tabs were keyed by tab id, so every switch unmounted and remounted the host conversation view and re-fetched its history. Each tab now keeps a resident slot and inactive ones are hidden with `display:none` — switching only toggles visibility, so nothing remounts and no history is re-fetched
168
- - **Fixed unclickable tabs when the pointer sits at the very top of a maximized window**: a maximized frame overflows about 7px above the screen, while tabs were only ~26px tall and vertically centered in the 44px header, leaving 9px of drag area above and below. The tab hit area now fills the header height (labels stay centered); the empty header still drags the window and double-click maximizes
169
- - **Fixed the bottom stats line flickering**: the stats-row scan is now limited to the active tab, so the copy inside hidden tabs is no longer mistaken for a freshly rendered row
166
+ - **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
170
167
 
171
168
  ### 1.0.37 (2026-11-11)
172
169
 
package/README.md CHANGED
@@ -160,12 +160,9 @@ node scripts/check-names.cjs # 包名 / 版本 / 冷却豁免三处是否一
160
160
 
161
161
  ## 更新记录
162
162
 
163
- ### 1.0.38(2026-11-11)
163
+ ### 1.0.39(2026-11-11)
164
164
 
165
- - **修「回复完,最后一条消息下面一大块空白」**:宿主的插槽包裹元素是 `display:contents`,不参与布局,之前把 `margin-top:auto` 写在它身上等于没写。现在改挂到真正的 flex 项 `.an3WzG_viewArea` 上,并把宿主滚动管理器在明细折叠后预留的空白(最多半屏)清零 —— 内容不足一屏时贴输入框,内容超一屏时照常从顶部排
166
- - **修「切标签先闪一下『载入历史』」**:同一栏的标签原来按「标签 id」换 key,切一次就卸载重建一次宿主会话组件,宿主于是重新拉历史。现在每个标签各占一个常驻槽位,非活动的用 `display:none` 隐藏 —— 切标签只切显示,组件不卸载,历史不重拉
167
- - **修「最大化时鼠标贴屏幕最顶端点不到标签」**:最大化窗口外框向上溢出约 7px,而标签只有约 26px 高、在 44px 标题栏里居中,上下各留 9px 拖动区。现在标签命中区拉到标题栏整高(文字仍居中),标签之外的空白照旧可拖动窗口 / 双击最大化
168
- - **修「底部统计数字来回跳」**:统计行扫描收窄到当前激活标签,隐藏标签里的那一份不再被当成「宿主新建的行」反复搬运
165
+ - **修「呼吸的最亮值和底板填一样,看着还是明显更亮」**:真实列表里行底色和呼吸层是**两层**叠在一起(15% 底板之上再叠 15%,合成 27.75%),而设置页预览是单层,所以设置里的数值在列表上永远偏亮。现在呼吸中的行把行底色让给呼吸层,屏幕上看到的透明度就等于设置里的数值,和预览一致
169
166
 
170
167
  ### 1.0.37(2026-11-11)
171
168
 
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.38";
20
+ const PLUGIN_VERSION = "1.0.39";
21
21
  const NPM_LATEST_URL = "https://registry.npmjs.org/dsh-multipane/latest";
22
22
 
23
23
 
@@ -2174,6 +2174,14 @@ const TAB_LABEL_CHROME_DOT_PX = 46;
2174
2174
  [data-row-key^="session:"][data-dsv-pulse="1"][data-dsv-row="open"]{--dsv-pv-solid:var(--dsv-pv-openShown-solid,rgba(0,0,0,0));--dsv-pv-dur:var(--dsv-pv-openShown-dur,3s);--dsv-pv-o-lo:var(--dsv-pv-openShown-o-lo,.3);--dsv-pv-o-hi:var(--dsv-pv-openShown-o-hi,.6)}
2175
2175
  [data-row-key^="session:"][data-dsv-pulse="1"][data-dsv-row="open-hidden"]{--dsv-pv-solid:var(--dsv-pv-openHidden-solid,rgba(0,0,0,0));--dsv-pv-dur:var(--dsv-pv-openHidden-dur,3s);--dsv-pv-o-lo:var(--dsv-pv-openHidden-o-lo,.3);--dsv-pv-o-hi:var(--dsv-pv-openHidden-o-hi,.6)}
2176
2176
  [data-row-key^="session:"][data-dsv-pulse="1"]:not([data-dsv-row]){--dsv-pv-solid:var(--dsv-pv-unopened-solid,rgba(0,0,0,0));--dsv-pv-dur:var(--dsv-pv-unopened-dur,3s);--dsv-pv-o-lo:var(--dsv-pv-unopened-o-lo,.3);--dsv-pv-o-hi:var(--dsv-pv-unopened-o-hi,.6)}
2177
+ /* 呼吸时行底板必须让位(2026-11-11 用户:最亮填成和底板一样的值,看着还是明显更亮)。
2178
+ 行底色和呼吸伪元素是**两层**:底板 15% 之上再叠一层 15%,合成后 1-(1-.15)(1-.15)=27.75%,
2179
+ 所以设置里的「最亮」在真实列表里永远比底板亮一大截;而设置页预览是单层(直接动画
2180
+ background-color),两边对不上。让行底色透明、只留伪元素那一层,屏幕上看到的透明度就
2181
+ 等于设置里的数值。左竖线是 background-image,不受影响。 */
2182
+ [data-row-key^="session:"][data-dsv-pulse="1"][data-dsv-row="focus"],
2183
+ [data-row-key^="session:"][data-dsv-pulse="1"][data-dsv-row="open"],
2184
+ [data-row-key^="session:"][data-dsv-pulse="1"][data-dsv-row="open-hidden"]{background-color:transparent!important}
2177
2185
  .dsv-pv-row[data-pulse="1"][data-state="focus"]{background-color:var(--dsv-pv-c)!important;animation:dsv-breathe-active var(--dsv-pv-active-dur,3s) ease-in-out infinite}
2178
2186
  .dsv-pv-row[data-pulse="1"][data-state="open"]{background-color:var(--dsv-pv-c)!important;animation:dsv-breathe-open var(--dsv-pv-openShown-dur,3s) ease-in-out infinite}
2179
2187
  .dsv-pv-row[data-pulse="1"][data-state="open-hidden"]{background-color:var(--dsv-pv-c)!important;animation:dsv-breathe-hidden var(--dsv-pv-openHidden-dur,3s) ease-in-out infinite}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-multipane",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
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": {