Repository navigation
dsh-session-notes 0.2.0
dsh-session-notes 0.2.0
✨ 新增
- 📌 置顶(全链路):全部备注列表、☰ 会话菜单、编辑弹层三处都能一键置顶;置顶行排最前,标题前带 📌;编辑框里置顶时琥珀色高亮
- 🔍 筛选框:全部备注总览顶部新增过滤输入框,按标题 / 工作区 / 备注内容实时过滤,备注多了也能秒找
- ☰ 会话切换菜单:底部备注栏新增列表按钮,随时切到其他带备注的会话,不用回顶部找
- 常驻底部栏:没写过备注的会话也显示底部栏,灰色提示"点这里写一条"直达编辑
- 本会话行:两个列表都包含当前会话(带"· 本会话"标记),点自己只关闭不跳转,置顶触手可及
🔧 改进
- 调色板 5 色 → 10 色(新增 purple / pink / orange / teal / blue)
- 头部按钮圆点:固定绿色 → 跟随标签颜色
- 工作区徽章:灰色 → 按标签着色,文字自动黑/白保证可读
- 字段加宽:标题 8 → 20 字,工作区 5 → 10 字(长工作区名不再缩成俩字)
- 列表行只留标题,去掉备注预览尾巴(悬停仍看全文)
- 编辑弹层加宽 380
520 → **480640px**;列表限高 40vh 滚动
🛠 修复
- 置顶清空备注的严重 bug:宿主 API 改为完整 PATCH 语义——省略的字段保留旧值,显式空文本仍等于删除
- 新会话弹出错误弹窗:弹层归属分家,谁打开谁渲染,各绑各的会话
- 弹窗崩溃拖垮全部界面:新增错误边界(PopoverGuard),弹窗再炸也只炸自己
- 弹窗横向滚动条:修正盒模型(box-sizing: border-box)+ 加宽容器
安装
- 下载
dsh-session-notes-0.2.0.zip解压 - 在解压目录里运行
powershell -ExecutionPolicy Bypass -File .\install.ps1 - 完全退出并重启 DSH Desktop
English
✨ Added
- 📌 Pinning everywhere — pin from the overview list, the session menu, or the editor; pinned rows sort first with a 📌 prefix; amber highlight in the editor
- 🔍 Filter box — live-filter the all-notes overview by title / workspace / note text
- ☰ Session-switch menu — quick list in the bottom bar; jump to any session with a note
- Always-on bottom bar — shows even without a note; a gray hint opens the editor directly
- Current-session row — both lists include the current session (tagged, pinnable; clicking just closes)
🔧 Changed
- Palette 5 → 10 colors; header dot and workspace badge now follow the label color (auto black/white text)
- Wider fields: title 8 → 20 chars, workspace 5 → 10 chars
- List rows show title only (full text on hover); popover widened to 480~640px, list capped at 40vh with scrolling
🛠 Fixed
- Pin wiped notes — host API now full PATCH semantics (omitted fields keep old values; explicit empty text still deletes)
- Wrong popover on new sessions — popover ownership split; each surface renders its own
- Popover crash took down the whole UI — added an error boundary (PopoverGuard)
- Horizontal scrollbar — fixed box model + wider container
Install
Download & extract the zip, run install.ps1 from that folder, fully restart DSH Desktop.