From b28f23caa1a3430b6c116592e10ddba05fba8c68 Mon Sep 17 00:00:00 2001 From: Ned Twigg Date: Thu, 4 Sep 2025 14:34:00 -0700 Subject: [PATCH] Fix the regex so it works on issues too (breaks the issues CSS) --- browser-extension/src/lib/enhancers/github.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/browser-extension/src/lib/enhancers/github.ts b/browser-extension/src/lib/enhancers/github.ts index 58dcbeb..1282a8e 100644 --- a/browser-extension/src/lib/enhancers/github.ts +++ b/browser-extension/src/lib/enhancers/github.ts @@ -5,10 +5,10 @@ import type { CommentEnhancer, CommentSpot } from '../enhancer' const GITHUB_SPOT_TYPES = [ 'GH_PR_ADD_COMMENT', + 'GH_ISSUE_ADD_COMMENT', /* TODO 'GH_ISSUE_NEW', 'GH_PR_NEW', - 'GH_ISSUE_ADD_COMMENT', 'GH_ISSUE_EDIT_COMMENT', 'GH_PR_EDIT_COMMENT', 'GH_PR_CODE_COMMENT', @@ -38,10 +38,11 @@ export class GitHubAddCommentEnhancer implements CommentEnhancer