Commit Graph
16 Commits
Author SHA1 Message Date
xiaohan.yuan 19460f0b13 feat(settings): replicate the WorkBuddy keyboard shortcuts panel and wire global bindings (TODO 12)
Recover the WorkBuddy 5.8.3 快捷键 page from REA evidence (keyboard-shortcuts-DOrivHwf.css + tokens): 49 recovered module rules, scoped light/dark tokens, the 24-row 命令/按键绑定/操作 sheet (panel 638x620, header 39, scroll 638x533, rows 41/45/44, keycaps 22) and the recording/ESC-cancel interaction.

Wire the panel into SettingsDialog and keep only real bindings honest: 14 of 24 rows are marked supported, the remaining rows stay visually 1:1 but are labelled 尚未接入 and cannot pretend to save custom keys. Add Ctrl+K search focus, Ctrl+B / Ctrl+Shift+B left/right sidebar toggles, Ctrl+N new conversation (App -> Sidebar path) and Esc-to-stop while generating; fix the sidebar search focus race introduced by conditional mounting.

Verify with scripts/verify-shortcuts-settings.cjs: 32 assertions covering geometry, row/key order, search filtering, recording/cancel, supported ids, dark theme surfaces and the four new global shortcuts in a real main window. All existing regressions stay green.
2026-10-17 09:57:30 +08:00
xiaohan.yuan b36b52831b feat(settings): replicate the WorkBuddy appearance panel and dark theme (TODO 11)
Recover the WorkBuddy 5.8.3 appearance page from REA evidence (appearance-DMmhwsxq.css + tokens-Df-i-zsO.css): 44 recovered .appearance-* rules, scoped light/dark tokens, original geometry (panel [232,40,638,640], preview 634x317, grid 634x218.391, cards 118.797x79.188) and the two REA-exported preview images with provenance sha256.

Wire the panel into SettingsDialog with only the requested light/dark cards, add scoped tokens to the settings shell so the dark theme no longer renders a white window with near-white text, and verify with scripts/verify-appearance-settings.cjs (21 assertions: geometry, instant switch, cross-window sync, persistence, dark/light surface sampling with contrast >= 4.5, no renderer errors). Update the legacy nav/account/desktop appearance verifiers to the new .appearance-card selectors.
2026-10-17 09:27:59 +08:00
xiaohan.yuan 7b68d9eb25 feat(settings): replicate the WorkBuddy general settings panel (TODO 10) 2026-10-17 08:53:34 +08:00
xiaohan.yuan 401926d7eb feat(settings): drop the assistant/device/data/app entries (TODO 16, 17) 2026-10-17 08:18:54 +08:00
xiaohan.yuan bde041c12d feat(composer): replicate WorkBuddy branch label and context usage (TODO 21) 2026-10-17 08:15:19 +08:00
xiaohan.yuan cb8a7e6466 feat(sidebar): replicate WorkBuddy account menu (TODO 09) 2026-10-17 07:57:17 +08:00
xiaohan.yuan 6173a77918 feat(chat): switch to the conversation on send with a startup placeholder (TODO 08) 2026-10-17 07:38:49 +08:00
xiaohan.yuan 0b549ca794 feat(sidebar): replicate WorkBuddy footer account row (TODO 07) 2026-10-17 07:15:38 +08:00
xiaohan.yuan b212a3e867 test(conversation): verify WorkBuddy scrollbar parity (TODO 06) 2026-10-17 07:01:35 +08:00
xiaohan.yuan c7ab047d52 feat(conversation): replicate WorkBuddy rewind-to-message action (TODO 05) 2026-10-17 06:52:56 +08:00
xiaohan.yuan 074523a501 test(conversation): verify user message hover time tiers (TODO 04) 2026-10-17 06:33:09 +08:00
xiaohan.yuan ee51208931 feat(conversation): replicate in-place user message editing (TODO 03) 2026-10-17 06:31:37 +08:00
xiaohan.yuan ed31a7c1b4 feat(conversation): replicate table quote-to-chat action (TODO 02) 2026-10-17 05:57:49 +08:00
xiaohan.yuan e335588826 feat(sidebar): replicate WorkBuddy task context menu (TODO 01)
Replace the sidebar delete button with the original task menu: pin/unpin,
rename, open in a separate window, open folder, archive and delete.

Source: REA ev_f5e9d71a676c453daab40928acfb33aeabae68ba57ffda342380cead7f1a1fe2
(WorkBuddy 5.8.3 task menu, open state) supplies the container/item geometry,
the two dividers, danger colour and every item icon.

Verified by scripts/verify-task-menu.cjs: 33 assertions in a real isolated
Electron app (real preload/IPC/filesystem), including menu geometry, anchor
offset, pin/rename/archive persistence, open-folder target and the separate
window query. typecheck, test:conversation and build pass.
2026-10-17 04:43:56 +08:00
xiaohan.yuan e365e830cf docs: add TODO item 21 (git branch detection in composer) 2026-10-17 03:04:35 +08:00
xiaohan.yuan 6dc59f89ba chore: establish YCode replication baseline and TODO 2026-10-17 02:43:49 +08:00