microsoft / microsoft/vscode-pull-request-github

Behavior of "reply comment" and "collapse all" are odd if there are more than one comment in the same line.

Offen
#4,564 0 Kommentare 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

@alexr00 arbeitet bereits daran.

Seit 23.2.2023.

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

Beschreibung

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. visit the files page of pull, https://github.com/huajiankan/personal/pull/2/files
  2. Add more than one comment in the same line
  3. visit https://github.dev/huajiankan/personal/pull/2/files to open the vscode web
  4. In the left part, there is 3 comments in the same line, click the collapse all icon -> all the comments in the right side collapsed, but the other two comments in the left side are not collapsed (I infer the correct behavior is collapse all the other comments except itself??)
  5. Reply the first comment in the left side, click "add comment" to submit the reply, then the reply will be added to the third one.
  6. Click update comment icon (the pencil icon), then the second or third comment is opened.

I guess, the comment feature doesn't consider this condition that more than one comment in the same line.

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.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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