github / github/copilot-cli

Add option to sort `/resume` session list by last-updated (most recent first)

Đang mở
#4,140 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:sessions
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the feature or problem you'd like to solve

The `/resume` session picker currently orders sessions by repository/branch grouping rather than recency. This makes it hard to find sessions I worked on recently — a session I used yesterday appeared at position #55, requiring a lot of scrolling.

### Proposed solution

Add a way to sort the `/resume` list by last-updated timestamp, descending (most recently active at the top). Either:
1. Make "last updated, desc" the default, or
2. Provide a toggle/flag (e.g. `/resume --sort=recent`) or a `/settings` option to choose sort order (recent vs. branch-grouped vs. name).

**Why it matters:** Recency is the most common way I look for a session to resume. Scrolling through 50+ branch-grouped entries is slow and error-prone.

### Example prompts or workflows

_No response_

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách xác định session picker của /resume và đoạn mã hiện đang nhóm các session theo repository và branch. Theo dõi nơi có timestamp cập nhật gần nhất của session, sau đó xác định việc sắp xếp nên là hành vi mặc định hay một tùy chọn. Hoàn tất khi các session gần đây xuất hiện trước theo thứ tự timestamp giảm dần và hành vi đã chọn được bao phủ bởi các bài kiểm thử picker liên quan.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 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
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.