From aed5244236f832c803cc95829c3e9fffe157846e Mon Sep 17 00:00:00 2001 From: Menghuan1918 Date: Sun, 27 Sep 2026 12:00:59 +0800 Subject: [PATCH] docs(readme): move the community section ahead of recent updates --- README.md | 22 +++++++++++----------- README_EN.md | 30 +++++++++++++++--------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 90139fd..4e14076 100644 --- a/README.md +++ b/README.md @@ -35,13 +35,13 @@ - [✨ 功能一览](#-功能一览) - [🚀 安装](#-安装) - [🖼️ 特性巡礼](#-特性巡礼) +- [💬 社区](#-社区) - [🆕 最近更新](#-最近更新) - [⌨️ 快捷键](#-快捷键) - [🔌 服务化扩展](#-服务化扩展) - [🛠️ 开发与构建](#-开发与构建) - [🔐 安全](#-安全) · [⚠️ 已知限制](#-已知限制) · [🖥️ 平台支持](#-平台支持) -- [💬 社区](#-社区) · [🌐 插件生态](#-插件生态) -- [🤝 参与贡献](#-参与贡献) · [👥 贡献者](#-贡献者) · [🔗 友情链接](#-友情链接) +- [🌐 插件生态](#-插件生态) · [🤝 参与贡献](#-参与贡献) · [👥 贡献者](#-贡献者) · [🔗 友情链接](#-友情链接) ## ✨ 功能一览 @@ -178,6 +178,15 @@ dsh registry enable dsh-external/dsh-better-sidebar | **💬 侧边对话(beta)**
Codex 风格侧边线程:**每个对话一个独立 Tab**;线程继承主会话完整上下文(含进行中回合,以 interrupted 诚实冻结)独立运行,不污染主会话;可持续追问、重启冷恢复;一键「保存为新会话」提升为顶层会话。
侧边对话(beta)
| **🖥️ DSH 原生右侧栏 + 插件底部工作台**
右列是 DSH 自己的右侧栏:插件把每个 tab 类型注册成原生 tab(含接管内置「文件」页),聊天里的文件点击直接落到原生栏——**宿主自己的文档预览已覆盖的格式由宿主渲染**,插件只认领 Markdown / HTML / 可编辑代码;插件自有底部面板可与其同时展开,拖 Tab 到分栏边缘**拆分**、拖到中间**合并**,高度拖上缘调节;开合按钮在会话头右侧。
双工作台(右侧栏 + 底部面板)
| | **⚙️ 声明式设置**
设置页「侧边卡片」分区:每个 tab / 预览器一张小卡片,独立开关(高亮启用态 + 品牌开关滑块);二级设置经卡片底部「功能设置」条弹窗(开关 / 文本 / 数字 / 下拉);插件自有设置持久化在 `pluginSettings`,整份偏好则写在 profile 里本插件的**挂载行**上(DSH 0.1.7 起设置按 Loader entry id 寻址)。
声明式设置:侧边卡片
| **📱 移动端**
窄屏(<768px)自动切换为全宽抽屉:底栏 tab 一次性并入右侧栏,触屏拖拽可调。
移动端全宽抽屉
| +## 💬 社区 + +推荐添加QQ群(577011007) + +
+ 微信群二维码 + QQ群二维码 +
+ ## 🆕 最近更新 **支持的 DSH 版本**:支持的 DSH 版本(v0.21.1):0.1.7-rc.1+ · 完整发布历史见 [Releases](https://github.com/omdsh-dev/DSH-better-sidebar/releases) @@ -261,15 +270,6 @@ make clean # 清理 lib/、*.tgz、playwright-report/、test-results/ Windows / Linux / macOS 三平台适配(macOS 日常验证;其余经单元测试覆盖)。插件不再包含原生依赖(终端与 `node-pty` 已整体交还 DSH 自身),构建只需 Node + pnpm,无需编译工具链。 -## 💬 社区 - -推荐添加QQ群(577011007) - -
- 微信群二维码 - QQ群二维码 -
- ## 🌐 插件生态 `ctx.betterSidebar` 服务向所有插件开放两个扩展点:**`registerTab`(注册侧边栏页面)** 与 **`registerFileViewer`(注册文件预览器)**。内置的 5 tab + 3 viewer 与第三方插件走同一套 API,能力完全对等。 diff --git a/README_EN.md b/README_EN.md index 8ce7f5e..7500dad 100644 --- a/README_EN.md +++ b/README_EN.md @@ -35,13 +35,13 @@ - [✨ Features](#-features) - [🚀 Installation](#-installation) - [🖼️ Feature Tour](#-feature-tour) +- [💬 Community](#-community) - [🆕 Recent Updates](#-recent-updates) - [⌨️ Keyboard Shortcuts](#-keyboard-shortcuts) - [🔌 Service API](#-service-api) - [🛠️ Development & Build](#-development--build) - [🔐 Security](#-security) · [⚠️ Known Limitations](#-known-limitations) · [🖥️ Platform Support](#-platform-support) -- [💬 Community](#-community) · [🌐 Plugin Ecosystem](#-plugin-ecosystem) -- [🤝 Contributing](#-contributing) · [👥 Contributors](#-contributors) · [🔗 Friends](#-friends) +- [🌐 Plugin Ecosystem](#-plugin-ecosystem) · [🤝 Contributing](#-contributing) · [👥 Contributors](#-contributors) · [🔗 Friends](#-friends) ## ✨ Features @@ -180,6 +180,19 @@ Update: `git pull && pnpm install && pnpm build` → `node scripts/package-regis +## 💬 Community + +WeChat / QQ group QR codes will live here. After uploading the QR images (drag them into any issue/comment to get a `user-attachments` link), replace `src` below and uncomment: + +
+ + +
+ ## 🆕 Recent Updates
Sidebar @@ -267,19 +280,6 @@ make clean # remove lib/, *.tgz, playwright-report/, test-results/ Windows / Linux / macOS (macOS validated daily; the rest covered by unit tests). The plugin carries no native dependencies (the terminal and `node-pty` went back to DSH wholesale), so building needs only Node + pnpm, with no compiler toolchain. -## 💬 Community - -WeChat / QQ group QR codes will live here. After uploading the QR images (drag them into any issue/comment to get a `user-attachments` link), replace `src` below and uncomment: - -
- - -
- ## 🌐 Plugin Ecosystem The `ctx.betterSidebar` service opens two extension points to every plugin: **`registerTab` (sidebar pages)** and **`registerFileViewer` (file previewers)**. The 5 built-in tabs + 3 viewers register through the exact same API — fully equal capabilities.