feat(ui): 侧栏/订阅面板/发布栏抽屉式折叠

- 连接侧栏:Ctrl+B 或把手按钮收起为 40px 窄 rail(展开把手 + 新建连接),
  状态随 ui-state.json 持久化;展开时标题行带收起按钮
- 订阅面板:标题行收起按钮,收起后左侧 32px rail 拉回
- 发布面板:工具条右端把手收起为细条(34px),细条上拉回;
  收起后全局 Ctrl+Enter 发送仍可用
This commit is contained in:
2026-09-30 16:36:59 +08:00
parent 1dca18873c
commit c05b258c5c
8 changed files with 185 additions and 17 deletions
+3
View File
@@ -229,6 +229,9 @@ pub struct UiState {
pub open_tabs: Vec<String>,
#[serde(default)]
pub active_tab: Option<String>,
/// 连接侧栏抽屉是否收起(抽屉式折叠,Ctrl+B 切换)
#[serde(default)]
pub sidebar_collapsed: bool,
}
impl Default for Storage {