Repository navigation
Releases
Releases · dsboylw/LazyNoobsCockloft
dsh-session-notes 0.3.1
更新日志 / Changelog
新增 / Added
- 一个会话挂多条备注(1 2 3 按创建顺序编号,永不重排)/ Multiple notes per session (1 2 3… numbered by creation order, never renumbered)
- 会话级颜色:弹窗标题行色点,一键全组换色 / Session-level color: color dots in the popover title row — one click repaints the whole group
- 会话级置顶:标题行 📌 一键置顶,在 ☰ 会话列表中整组置前 / Session-level pin: 📌 in the title row, pins the group in the ☰ session list
- 复制挑选器:1 条直复制;多条弹挑选菜单,点哪条复制哪条 / Copy picker: 1 note = direct copy; several = ▾ picker menu, click to copy
- 🗑 会话备注批量清理:全部备注总览中一键删除某会话的全部备注 / 🗑 Per-session delete-all in the all-notes overview
修复 / Fixed
- 底部栏预览跟随弹窗选中:弹窗里点选哪条备注,底部栏就显示哪条 / Bottom-bar preview follows the selected note: pick a note in the popover and the bar shows that one
- 空草稿存活(正在输入不丢);置顶不打乱顺序 / empty drafts survive; pinning no longer shuffles order
- locale 未注册防御 + rows 缺字段防御 / locale-undefined and missing-rows defenses
兼容 / Compatibility
- DSH Desktop 0.8.2 实测正常(0.7.x 起兼容)/ tested on 0.8.2 (compatible since 0.7.x)
- 旧数据自动迁移(0.2.x 单条备注无缝升级)/ legacy 0.2.x notes migrate automatically
安装 / Install
- 插件市场搜索
session-notes/ Market: searchsession-notes - 手动:下载 zip → 运行
install.ps1→ 重启 DSH / Manual: download zip → runinstall.ps1→ restart DSH
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.
dsh-session-notes 0.1.1
DSH 会话备注插件(DSH Desktop / Web 通用)。
⚠️ 适配 DSH Desktop 0.7.1(开发与测试版本),0.7.2 实测正常。
v0.1.1 新增:
- 长文本不再撑爆界面:底部备注条(工作区/标题/备注)、全部备注总览(工作区/标题/备注预览)全部按长度截断,超出显示 …,悬停看全文
- 会话归属工作区:总览行和底部条显示工作区徽标(5 字截断,悬停看全名),无归属的自动省略
- 复制按钮始终复制完整内容,不受截断影响
基础功能(v0.1.0):
- 📝 会话头部备注按钮(有备注时带绿点),弹层编辑 + 防抖自动保存
- 5 色标记点、一键复制
- 全部备注总览:列出所有带备注的会话,点击直达
- 底部常驻备注条(可开关)
安装(DSH Desktop):
- 解压本包
- 运行 install.ps1(自动备份 cordis.patch.yml)
- 重启 DSH Desktop
卸载:运行 uninstall.ps1
源码:https://github.com/dsboylw/LazyNoobsCockloft/tree/main/dsh-session-notes
dsh-session-notes 0.1.0
DSH 会话备注插件(DSH Desktop / Web 通用)。
功能:
- 📝 会话头部备注按钮(有备注时带绿点),弹层编辑 + 防抖自动保存
- 一键复制备注、5 色标记点
- 全部备注总览:列出所有带备注的会话,点击直达
- 底部常驻备注条(可开关),输入框上方显示当前会话备注
- 数据存宿主 settings,重启不丢;清空 = 删除
安装(DSH Desktop):
- 解压本包
- 运行 install.ps1(自动备份 cordis.patch.yml)
- 重启 DSH Desktop
卸载:运行 uninstall.ps1
源码:https://github.com/dsboylw/LazyNoobsRepository/tree/main/dsh-session-notes