File tree Expand file tree Collapse file tree 4 files changed +6
-0
lines changed
apps/commitDetails/components Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
8282- Fixes intermittent issue with greater reliability of webview requests
8383- Fixes an issue with autolink enrichment for issues
8484- Fixes issues with incorrect aggregate contributor stats
85+ - Fixes [ #3841 ] ( https://github.com/gitkraken/vscode-gitlens/issues/3841 ) - Inspect & Graph Details: issue autolinks rendering when autolinks enabled is false
8586
8687## [ 16.1.1] - 2024-12-20
8788
Original file line number Diff line number Diff line change @@ -204,6 +204,9 @@ export class GlCommitDetails extends GlDetailsBase {
204204
205205 private renderAutoLinks ( ) {
206206 if ( this . isUncommitted ) return undefined ;
207+ if ( ! this . state ?. autolinksEnabled ) {
208+ return nothing ;
209+ }
207210
208211 const deduped = new Map <
209212 string ,
Original file line number Diff line number Diff line change @@ -1241,6 +1241,7 @@ export class CommitDetailsWebviewProvider
12411241 preferences : current . preferences ,
12421242 includeRichContent : current . richStateLoaded ,
12431243 autolinkedIssues : current . autolinkedIssues ?. map ( serializeIssueOrPullRequest ) ,
1244+ autolinksEnabled : configuration . get ( 'views.commitDetails.autolinks.enabled' ) ?? false ,
12441245 pullRequest : current . pullRequest != null ? serializePullRequest ( current . pullRequest ) : undefined ,
12451246 wip : serializeWipContext ( wip ) ,
12461247 orgSettings : current . orgSettings ,
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ export interface State extends WebviewState {
103103
104104 commit ?: CommitDetails ;
105105 autolinkedIssues ?: IssueOrPullRequest [ ] ;
106+ autolinksEnabled : boolean ;
106107 pullRequest ?: PullRequestShape ;
107108 wip ?: Wip ;
108109 inReview ?: boolean ;
You can’t perform that action at this time.
0 commit comments