xrkh-better-sidebar 0.20.6 → 0.20.9

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 CHANGED
@@ -10,14 +10,25 @@ Host 侧 `/sidebar/*` 由产品 Host 原生挂载(`createSidebarPublicHandler`
10
10
  前置:`xrkh web` 或 `npx @xrkseek/harness-cli web`,Node ≥ 26。建议 Host **≥ 0.3.4**。推荐从 **npmjs** 安装:
11
11
 
12
12
  ```bash
13
- xrkh plugin add xrkh-better-sidebar@0.20.6
13
+ xrkh plugin add xrkh-better-sidebar@0.20.9
14
14
  xrkh restart
15
15
  ```
16
16
 
17
- 装完硬刷新浏览器(Ctrl+Shift+R)。
17
+ 装完硬刷新浏览器(Ctrl+Shift+R)。建议 Host **≥ 0.7.19**(`LayoutInsets.detailsOpen` / 手机概况互斥)。
18
18
 
19
19
  源码路径仍可用(非推荐):`git clone git@github.com:xrkseek/xrkh-better-sidebar.git` 后 `xrkh plugin add ./xrkh-better-sidebar`。
20
20
 
21
+ ## 0.20.9
22
+
23
+ - **手机概况互斥**:Host 打开概况 / Status 时隐藏展开 FAB、收起抽屉,并隐藏整个 `data-dsh-panel-host`,避免与概况关闭键抢角或挡住点按(读 `ctx.layout.insets.detailsOpen` + `phone`)。
24
+ - **文件树**:监视刷新与变异路径更稳;打开文件 /「打开方式」工具栏收口。
25
+ - 建议搭配 **XRK-Harness ≥ 0.7.19**。
26
+
27
+ ## 0.20.7
28
+
29
+ - **展开记忆**:侧栏 / 底栏开合在硬刷新、WebView 切后台时仍能保住(展开立刻落盘 + `pagehide` / `visibilitychange` 冲刷)。
30
+ - **打开文件**:对话点开文件默认不再强开伴随资源树;编辑器工具栏可「打开方式」;树监视刷新更稳。
31
+
21
32
  ## 0.20.6
22
33
 
23
34
  - **手机下载**:二进制 / 图片 / PDF / 树菜单「下载」改走 fetch→blob→`<a download>`,避免 iOS / Android 上查询串路由只导航不落盘。
package/README_EN.md CHANGED
@@ -10,14 +10,30 @@ Host mounts `/sidebar/*` natively (`createSidebarPublicHandler`); this package s
10
10
  Requires `xrkh web` or `npx @xrkseek/harness-cli web`, Node ≥ 26. Prefer Host **≥ 0.3.4**. Install from **npmjs**:
11
11
 
12
12
  ```bash
13
- xrkh plugin add xrkh-better-sidebar@0.20.5
13
+ xrkh plugin add xrkh-better-sidebar@0.20.9
14
14
  xrkh restart
15
15
  ```
16
16
 
17
- Hard-refresh the browser after install (Ctrl+Shift+R).
17
+ Hard-refresh the browser after install (Ctrl+Shift+R). Prefer Host **≥ 0.7.19** (`LayoutInsets.detailsOpen` / phone Overview mutual exclusion).
18
18
 
19
19
  Source path still works (not preferred): `git clone git@github.com:xrkseek/xrkh-better-sidebar.git` then `xrkh plugin add ./xrkh-better-sidebar`.
20
20
 
21
+ ## 0.20.9
22
+
23
+ - **Phone Overview mutual exclusion**: while Host Overview / Status is open, hide the expand FAB, collapse the drawer, and hide the whole `data-dsh-panel-host` so it does not collide with or sit above the sheet close control (`ctx.layout.insets.detailsOpen` + `phone`).
24
+ - **File tree**: stabler watch refresh and mutation paths; open-file / “Open with” toolbar cleanup.
25
+ - Prefer **XRK-Harness ≥ 0.7.19**.
26
+
27
+ ## 0.20.7
28
+
29
+ - **Layout memory**: panel / bottom open state survives hard refresh and WebView backgrounding (immediate persist on expand + `pagehide` / `visibilitychange` flush).
30
+ - **Open file**: chat file opens no longer force the companion tree open; editor toolbar gains “Open with”; tree-watch refresh is more reliable.
31
+
32
+ ## 0.20.6
33
+
34
+ - **Mobile download**: binary / image / PDF / tree “Download” use fetch→blob→`<a download>` so iOS / Android query-string routes do not navigate instead of saving.
35
+ - **Mobile drawer**: full-width narrow viewports with safe-area insets; 44px toggle hit targets; download links get the same larger tap area.
36
+
21
37
  ## 0.20.5
22
38
 
23
39
  - Host **0.6.19** icon surface: product icons keep only weighted `IconXxxRegular` / `IconXxxMedium` names; the old `IconXxx14` / `IconXxx16` exports are gone from `@xrkseek/client-ui-primitives`. This client migrates every call site to Regular, fixing the boot white-screen where Sidebar rendered an `undefined` element (`Element type is invalid … Check the render method of Sidebar`).