microsoft / microsoft/vscode-pull-request-github

Option to Archive Conversation on PR Comments

Đang mở
#6,693 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

feature-request
Ngôn ngữ chính
TypeScript
Star
2.6k
Fork
796
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
46

Mô tả

Description

Currently when a conversation is listed in the comments tab of the panel, the only action available is to resolve conversation, by clicking the checkmark symbol.

This feature request is about enabling another option which archives said conversation. This means hiding the conversation unless the conversation evolves (i.e. there are new replies).

It is intended to help PR assignees better manage PR conversations, with side-effects helping reviewers to facilitate conversations that may require further follow-up:

  • As an assignee, if I resolve the conversation, it would be tedious for the reviewer to follow-up upon a concern if necessary.
  • If an assignee, replies on a conversation and are now awaiting for a response, they are effectively blocked. If multiple conversations are opened, having this blocked conversation lingering can be frustrating to the assignee while going through other conversations.
Appendix - Motivation

This feature is inspired by most email clients where there is an archive folder as opposed to an inbox:

  • New, active mail chain responses goes to inbox
  • Stale/blocked mail chains go to archive
  • Complete conversations either go to archive or deleted (depending on how relevant they might be in the future)

Suggested Solution

  • Add an archive button to each PR conversation in the Comments Panel (consider same symbolic icon used for archive in email)
  • When a conversation is archived hide it from the user, keeping track of its status in the local application
  • Should a reply come through, restore visibility to said conversation
  • As a failsafe, just in case the system is struggling to identify if the conversation has changed, opt to have it revealed, rather than archived (let the user handle it, even if slightly pedantic)
  • Have an option to reveal archived conversations (maybe appended to existing conversations, or under a subpanel - tbd...)

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi pull-request Comments Panel và cách hiện tại nó xử lý các cuộc hội thoại. Xác định trạng thái đã lưu trữ được lưu cục bộ như thế nào, các phản hồi khôi phục khả năng hiển thị ra sao và vị trí của một control để hiển thị các cuộc hội thoại đã lưu trữ. Công việc được hoàn tất khi các cuộc hội thoại đã lưu trữ bị ẩn, các phản hồi mới hiển thị lại chúng và người dùng có thể xem các cuộc hội thoại đã lưu trữ khi cần.

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

Đánh giá

Công nghệ
typescript
Lĩnh vực
tooling
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/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.