Skip to content

quick-mention - Restore feature on issues - #10339

Merged
fregante merged 18 commits into
mainfrom
claude/quick-mention-issues
Nov 6, 2026
Merged

fregante merged 18 commits into
mainfrom
claude/quick-mention-issues

Conversation

@fregante

@fregante fregante commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Created by Claude, will be reviewed by @fregante first.

quick-mention no longer added the button to issue comments because it relied on avatar classes that are gone. On issues, the button is now added to the comment header right before the kebab menu, next to the quick-comment-edit button, and it's built the same way (same header and kebab selector, same button style, removed if React replaces the menu). It isn't added to your own comments or to hidden comments. The PR path is unchanged.

Fixes #9752
Part of #10253.

Test URLs

refined-github/sandbox#10

No-comment reviews shouldn't have it:
NixOS/nixpkgs#147010 (review)

Checked

Not checked (needs a login, reviewer task)

  • Where the button lands relative to the quick-comment-edit button (both insert before the kebab menu, so their order may vary).
  • The viewerDidAuthor class that hides the button on your own comments; it's not in the logged-out markup.
  • That the button looks right and works in a real browser, on an issue with comments and one with hidden comments.

@github-actions github-actions Bot added the bug label Oct 27, 2026
@fregante

Copy link
Copy Markdown
Member Author
Screenshot

It works but it's not good. It should be to the left side of the avatar, outside the comment box until it fits (~1280px window) and then I guess it should be hidden until we figure out a better solution

@fregante

fregante commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

@copilot address my last comment in this PR

@fregante

fregante commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

Addressed your comment about the button position in 9d1adda: on windows 1280px wide or more it now sits outside the comment box, to the left of the avatar. Below that it's hidden.

Not checked: I couldn't see the logged-in layout or GitHub's stylesheets, so the 24px offset between the avatar and the edge of the box, and the 1280px cutoff, are estimates. Please try an issue with comments and one with hidden comments, and tweak right in quick-mention.css if the button overlaps the box.

@fregante

fregante commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

Rewrote it in the style of quick-comment-edit in 107aaf8: on issues the button now sits in the comment header next to the quick edit button instead of next to the avatar. The old avatar CSS for issues is gone; PRs are unchanged. See the updated description for what I couldn’t check.

@fregante

fregante commented Nov 6, 2026 •

Copy link
Copy Markdown
Member Author

Issues

Screenshot 4

PRs

Screenshot

PR reviews

Screenshot 5

@fregante
fregante marked this pull request as ready for review November 6, 2026 06:47
@fregante

fregante commented Nov 6, 2026

Copy link
Copy Markdown
Member Author
Screenshot 6 Screenshot 7

@fregante
fregante merged commit 0693b9f into main Nov 6, 2026
14 checks passed
@fregante
fregante deleted the claude/quick-mention-issues branch November 6, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

quick-mention - broken on issues

2 participants