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

The add comment button is hidden after using GitHub Copilot to review and comment code #179

Closed
ooooo84 opened this issue Mar 6, 2025 · 5 comments
Labels
bitbucket This is related to Bitbucket bug Something isn't working expected-behavior

Comments

@ooooo84
Copy link

ooooo84 commented Mar 6, 2025

Describe the bug
The add comment button is hidden after using GitHub Copilot to review and comment code.

To Reproduce
Steps to reproduce the behavior:

  1. Open a PR by using VS Code from BitBucket Cloud.
  2. Click one changed file and open the diff viewer.
  3. In the right editor view, select some code and right click mouse, select 'Copilot' -> 'Review and Comment'
  4. For those lines that have copilot's comments, I cannot add comments by using '+' button

Expected behavior
The '+' button should be shown correctly.

Screenshots
Image

Environment and Version (please complete the following information):

  • Atlassian Plugin Version 3.4.12
  • Visual Studio Code Version 1.98.0
  • Is this a local or cloud environment? BitBucket Cloud
  • If Cloud, Browser Chrome/Edge
  • If Local, OS Windows

Additional context
None

@ooooo84
Copy link
Author

ooooo84 commented Mar 6, 2025

I know I can use command palette to add comment, but it isn't convenient.

@bwieger-atlassian-com bwieger-atlassian-com added bug Something isn't working bitbucket This is related to Bitbucket labels Mar 6, 2025
@bwieger-atlassian-com
Copy link
Collaborator

@ooooo84 Did this use to work well for you before?

@bwieger-atlassian-com
Copy link
Collaborator

@ooooo84, can you provide a code snippet that triggers Copilot to comment? I'm not able to get my Copilot to comment

@ooooo84
Copy link
Author

ooooo84 commented Mar 7, 2025

@ooooo84 Did this use to work well for you before?

I just started to use this plugin, no old observations.

@ooooo84, can you provide a code snippet that triggers Copilot to comment? I'm not able to get my Copilot to comment

Simple javascript snippet:

let a = 1;
let b = 2;

console.log(a);

@bwieger-atlassian-com
Copy link
Collaborator

@ooooo84 I was able to reproduce this using this PR (private to Atlassian)

I was also able to reproduce this on the GitHub PR extension using this PR (public)

The "workaround" (expected behavior?) is that highlighted text does NOT receive "line-by-line" commenting. So, to get line by line commenting back, un-highlight the text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bitbucket This is related to Bitbucket bug Something isn't working expected-behavior
Projects
None yet
Development

No branches or pull requests

2 participants