Refresh session list without app restart (auto-detect sessions created outside the UI)
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2.1k
- Fork
- 153
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Feature summary
_No response_
### What problem are you trying to solve?
# Refresh session list without app restart (auto-detect sessions created outside the UI)
## Problem
Sessions created outside the desktop app — e.g. by running `copilot` in a terminal — are persisted to the same local store the sidebar reads, but the sidebar doesn't reflect them until a full app restart. There's no in-app refresh affordance, so the only reliable way to surface a freshly-created external session is to quit and relaunch.
## Proposed solution
Either would solve it:
1. A manual **refresh** control on the project / session list that re-reads the store on demand, or
2. **Auto-refresh**: watch the session store (or listen for the registration event) and live-update the sidebar when a session is created/resumed outside the UI.
## Why it matters
Terminal `copilot` runs are a primary workflow for quick in-place tasks (PR reviews, support tickets) where a full worktree session is overkill. Having to restart the entire desktop app just to see those sessions in the sidebar is disruptive and easy to mistake for the session not being saved at all.
## Environment
GitHub Copilot desktop app on Windows.
### Proposed solution
_No response_
### Workflow impact
_No response_
### Installation context
_No response_
### Additional context
_No response_
Hướng dẫn đóng góp
Hướng nghiên cứu
The issue names no files, tests, or entry points. Start by locating the desktop sidebar's project/session list and the local session store, then determine how sessions created by terminal `copilot` are registered. Done means a newly created external session appears without restarting the app, through either a manual refresh control or automatic updating.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- desktop
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100