Skip to content

Commit a61d25d

Browse files
committed
feat: enhance author display in comments with GitHub link
1 parent 9acab85 commit a61d25d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

resources/views/md/comment.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@include('github-project::md.shared.content', compact('payload'))
2-
32
@include('github-project::md.shared.author', [
43
'name' => $payload['sender']['login'] ?? 'Unknown',
54
'html_url' => $payload['sender']['html_url'] ?? '#'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
`
12
Made changes by: [{{ $name }}]({{ $html_url }})

src/Jobs/ProcessAggregatedEvents.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function handle(): void
4343
Cache::forget($commentAggregationCacheKey);
4444
Cache::forget($commentAggregationCacheKey.'_author');
4545

46-
$message .= '\n\n'.view(
46+
$message .= view(
4747
'github-project::md.shared.author',
4848
['name' => $author['name'], 'html_url' => $author['html_url']]
4949
)->render();

0 commit comments

Comments
 (0)