microsoft / microsoft/vscode-pull-request-github

Option to Archive Conversation on PR Comments

Offen
#6,693 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature-request
Vorherrschende Sprache
TypeScript
Sterne
2.6k
Forks
796
Ø Merge
1 T. 4 Std.
Gemergte PRs (30 T.)
46

Beschreibung

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...)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, das pull-request Comments Panel nachzuverfolgen und zu untersuchen, wie es Konversationen derzeit auflöst. Lege fest, wie der archivierte Zustand lokal gespeichert wird, wie Antworten die Sichtbarkeit wiederherstellen und wo ein Steuerelement zum Anzeigen archivierter Konversationen hingehört. Erledigt ist die Aufgabe, wenn archivierte Konversationen ausgeblendet sind, neue Antworten sie wieder anzeigen und Benutzer archivierte Konversationen bei Bedarf anzeigen können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.