Commit Graph

14 Commits

Author SHA1 Message Date
xintaofei
72b8817bb2 refactor(sidebar): highlight expanded folder and add per-folder new-conversation button
- Replace the branch badge with a compact count badge; recolor the
  folder name and badge to sidebar-primary on a tinted row background
  when expanded
- Lighten the selected conversation item background so the expanded
  folder row stays the strongest signal
- Add a "+" button on each folder header that reuses a single new-
  conversation tab across folders, disconnecting the old ACP session
  so the connection lifecycle reconnects against the target folder's
  working directory
2026-04-22 01:01:18 +08:00
xintaofei
d9323d7399 refactor(workspace): migrate from per-folder windows to single-window workspace
Replace the legacy folder + welcome routes with a unified /workspace route
that hosts all folders, conversations, tabs, and terminals in one window.

- Persist opened tabs to the database (opened_tabs entity + migration)
  so tab layout survives restarts and deep-link bootstrap restores state
- Replace FolderContext shim with AppWorkspaceProvider, ActiveFolderProvider,
  and TabProvider; expose both opened (folders) and full DB (allFolders)
  listings via list_all_folder_details
- Return conversations across all non-deleted folders from list_all when
  no folder filter is given, so the sidebar can show every folder's history
- Add ConversationContextBar above the chat input with folder picker
  (auto-opens unopened folders on select), branch picker, and commit /
  push / merge / stash entries to restore BranchDropdown functionality
- Rework sidebar with stats header, search, flat / folder-grouped view
  modes (localStorage-persisted), reveal-in-sidebar event subscriber,
  and per-folder context menu (focus, close tabs, remove from workspace);
  indent conversations under folder headers in grouped mode
- Gate terminal creation on active folder and show folder context
- Remove deprecated BranchDropdown, FolderNameDropdown, welcome route,
  and per-folder window commands
- Localize all new strings across 10 locales
2026-04-20 21:22:36 +08:00
xintaofei
ac09d3db9e 初始化web服务功能 2026-03-25 14:26:26 +08:00
xintaofei
30f35e3bcb 新会话默认agent取Agents管理里排第一的Agent,而不是注册表里面的第一个 2026-03-23 15:06:30 +08:00
xintaofei
49760ccb58 新会话默认连接agent列表里面的第一个agent,不再固定使用codex 2026-03-22 22:35:01 +08:00
xintaofei
7fecc83d40 修复lint问题和错误 2026-03-21 15:14:35 +08:00
itpkcn@gmail.com
e002280cf6 临时会话被顶替后立即断开连接 2026-03-21 10:45:41 +08:00
xintaofei
5f019607c4 设置运行会话ID的代码优化 2026-03-12 23:50:32 +08:00
xintaofei
0c54900396 修复右侧边栏diff区不实时显示修改文件 2026-03-12 23:45:03 +08:00
xintaofei
84e2d2bb56 本地持久化“平铺显示”状态 2026-03-11 14:25:11 +08:00
xintaofei
49196ffd4d 会话支持平铺模式显示 2026-03-11 08:14:36 +08:00
xintaofei
91636ada7f 重构会话消息处理和显示逻辑 2026-03-10 19:32:44 +08:00
xintaofei
17a03ef95c 继续处理会话区多语言 2026-03-07 14:33:47 +08:00
xggz
54d1097b41 Initial commit 2026-03-06 22:56:13 +08:00