xrkh-better-sidebar 0.20.6 → 0.20.7

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,7 +10,7 @@ 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.7
14
14
  xrkh restart
15
15
  ```
16
16
 
@@ -18,6 +18,11 @@ xrkh restart
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.7
22
+
23
+ - **展开记忆**:侧栏 / 底栏开合在硬刷新、WebView 切后台时仍能保住(展开立刻落盘 + `pagehide` / `visibilitychange` 冲刷)。
24
+ - **打开文件**:对话点开文件默认不再强开伴随资源树;编辑器工具栏可「打开方式」;树监视刷新更稳。
25
+
21
26
  ## 0.20.6
22
27
 
23
28
  - **手机下载**:二进制 / 图片 / PDF / 树菜单「下载」改走 fetch→blob→`<a download>`,避免 iOS / Android 上查询串路由只导航不落盘。
package/README_EN.md CHANGED
@@ -10,7 +10,7 @@ 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.7
14
14
  xrkh restart
15
15
  ```
16
16
 
@@ -18,6 +18,16 @@ Hard-refresh the browser after install (Ctrl+Shift+R).
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.7
22
+
23
+ - **Layout memory**: panel / bottom open state survives hard refresh and WebView backgrounding (immediate persist on expand + `pagehide` / `visibilitychange` flush).
24
+ - **Open file**: chat file opens no longer force the companion tree open; editor toolbar gains “Open with”; tree-watch refresh is more reliable.
25
+
26
+ ## 0.20.6
27
+
28
+ - **Mobile download**: binary / image / PDF / tree “Download” use fetch→blob→`<a download>` so iOS / Android query-string routes do not navigate instead of saving.
29
+ - **Mobile drawer**: full-width narrow viewports with safe-area insets; 44px toggle hit targets; download links get the same larger tap area.
30
+
21
31
  ## 0.20.5
22
32
 
23
33
  - 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`).