Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to see comments in commits file view #2688

Closed
miguelsolorio opened this issue Apr 28, 2021 · 8 comments · Fixed by #2799 or #2821
Closed

Unable to see comments in commits file view #2688

miguelsolorio opened this issue Apr 28, 2021 · 8 comments · Fixed by #2799 or #2821
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded windows
Milestone

Comments

@miguelsolorio
Copy link
Contributor

miguelsolorio commented Apr 28, 2021

Refs microsoft/vscode#122245

I'm unsure if this is expected or not, but I at least expected to see the same comments from the Files section appear under the file in the Commits section as well

Files

image

Commits

image

GH PR Version: v2021.4.39423
Version: 1.56.0-insider (user setup)
Commit: 13f1afffab09548c10ddb3bc5d5db52587876ad8
Date: 2021-04-28T04:52:06.990Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Windows_NT x64 10.0.19042

@alexr00 alexr00 self-assigned this May 17, 2021
@alexr00 alexr00 added this to the June 2021 milestone May 17, 2021
@alexr00 alexr00 added the bug Issue identified by VS Code Team member as probable bug label Jun 24, 2021
alexr00 added a commit that referenced this issue Jun 24, 2021
@alexr00
Copy link
Member

alexr00 commented Jun 24, 2021

Comments that were made when your PR was on the commit that you have selected should now show.

@miguelsolorio miguelsolorio added verified Verification succeeded verification-found Issue verification failed and removed verified Verification succeeded labels Jun 30, 2021
@miguelsolorio
Copy link
Contributor Author

I'm seeing a couple of issues, not sure if they're related to this. When trying to check out the PR from the overview page, I get a "branch not found" error. Then when I manually change to the branch and attempt to open the commit file, I get a "couldn't find commit"

CleanShot 2021-06-30 at 08 06 16@2x

GHPR: v2021.6.42304
Version: 1.58.0-insider (Universal)
Commit: 57930758db9e2c83f59b9ee1851400bd16192d32
Date: 2021-06-30T05:13:11.659Z
Electron: 12.0.12
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Darwin arm64 20.5.0


While on Windows I don't see these issues but then the original issue still repros.

@alexr00
Copy link
Member

alexr00 commented Jul 1, 2021

Opened a new issue for the checkout from overview issue: #2812

@misolori I'm able to see comments in files opened from the commits tree. Note that each comment will only show on one of the commits. Comments are mapped to commits, so each comment will only show in the commit for which that comment was added. (the commit hash isn't shown in the tree right now, I will add that in the hover for July since it seems useful). Can you double check that you had the commit that the comment was associated with open?

@alexr00 alexr00 closed this as completed Jul 1, 2021
@alexr00 alexr00 removed the verification-found Issue verification failed label Jul 1, 2021
@miguelsolorio
Copy link
Contributor Author

I'm still seeing this, here's another PR example:

Opening file

✅ This shows the comment
CleanShot 2021-07-01 at 09 03 17@2x

Opening the commit

❌ This does not show any commits even though there is 💬 icon on the file
CleanShot 2021-07-01 at 09 04 44@2x

@miguelsolorio
Copy link
Contributor Author

I guess the question really is: should i be able to see comments from the commits node in addition to the files node? If not then we should hide the 💬 icon from that item in that node as it's confusing.

@rzhao271 rzhao271 added verified Verification succeeded and removed verified Verification succeeded labels Jul 2, 2021
@rzhao271
Copy link
Contributor

rzhao271 commented Jul 2, 2021

I'll mark this issue as verification found again based on Miguel's question above.

@rzhao271 rzhao271 reopened this Jul 2, 2021
@rzhao271 rzhao271 added the verification-found Issue verification failed label Jul 2, 2021
@alexr00
Copy link
Member

alexr00 commented Jul 5, 2021

I can repro with the PR that Miguel was testing with.

@alexr00
Copy link
Member

alexr00 commented Jul 5, 2021

The issue is that the comments associated with the most recent commit will not show in that commit. Fix doesn't look low risk, so moving to July.

@alexr00 alexr00 modified the milestones: June 2021, July 2021 Jul 5, 2021
@alexr00 alexr00 removed the verification-found Issue verification failed label Jul 5, 2021
alexr00 added a commit that referenced this issue Jul 5, 2021
@rzhao271 rzhao271 added verified Verification succeeded and removed verified Verification succeeded labels Jul 28, 2021
@miguelsolorio miguelsolorio added the verified Verification succeeded label Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded windows
Projects
None yet
4 participants