Skip to content

Commit 82085f7

Browse files
committed
Merge branch 'main' into feat/codegen-discussions
Signed-off-by: Adam Setch <[email protected]>
1 parent abefe5b commit 82085f7

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

biome.json

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
33
"files": {
4-
"includes": [
5-
"**",
6-
"!**/generated/**/*"
7-
]
4+
"includes": ["**", "!**/generated/**/*"]
85
},
96
"assist": {
107
"actions": {
@@ -15,15 +12,9 @@
1512
"groups": [
1613
":NODE:",
1714
":BLANK_LINE:",
18-
[
19-
"react*",
20-
"@testing-library/**"
21-
],
15+
["react*", "@testing-library/**"],
2216
":BLANK_LINE:",
23-
[
24-
"*electron*",
25-
"menubar"
26-
],
17+
["*electron*", "menubar"],
2718
":BLANK_LINE:",
2819
"@primer/**",
2920
":BLANK_LINE:",
@@ -115,4 +106,4 @@
115106
"clientKind": "git",
116107
"useIgnoreFile": true
117108
}
118-
}
109+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@
147147
"*": "biome check --fix --no-errors-on-unmatched",
148148
"*.{js,ts,tsx}": "pnpm test --findRelatedTests --passWithNoTests --updateSnapshot"
149149
}
150-
}
150+
}

src/renderer/utils/notifications/handlers/discussion.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,13 @@ export function getClosestDiscussionCommentOrReply(
124124
return null;
125125
}
126126

127-
// Unwrap fragment-masked comments and replies to concrete shapes
128127
const targetDate = notification.updated_at;
129128

130129
const allCommentsAndReplies = comments.flatMap((comment) => [
131130
comment,
132131
...comment.replies.nodes,
133132
]);
134133

135-
console.log('ADAM COMMENTS ', JSON.stringify(allCommentsAndReplies, null, 2));
136-
137134
// Consider only comments with a databaseId so we can anchor the URL
138135
const commentsWithIds = allCommentsAndReplies.filter(
139136
(item) => item?.databaseId != null,

0 commit comments

Comments
 (0)