microsoft / microsoft/vscode-pull-request-github

Option to Archive Conversation on PR Comments

Aperta
#6,693 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

feature-request
Lingua principale
TypeScript
Stelle
2.6k
Fork
796
Merge medio
1g 4h
PR unite (30g)
46

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia tracciando il pull-request Comments Panel e il modo in cui attualmente risolve le conversazioni. Definisci come viene archiviato localmente lo stato archiviato, come le risposte ripristinano la visibilità e dove deve trovarsi un controllo per mostrare le conversazioni archiviate. Il lavoro è completato quando le conversazioni archiviate sono nascoste, le nuove risposte le rendono nuovamente visibili e gli utenti possono visualizzare le conversazioni archiviate quando necessario.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
tooling
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.