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 @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
2525- Fixes [ #3911 ] ( https://github.com/gitkraken/vscode-gitlens/issues/3911 ) - Avoid Home opening when first-install isn't reliable (e.g. GitPod)
2626- Fixes [ #3888 ] ( https://github.com/gitkraken/vscode-gitlens/issues/3888 ) - Graph hover should disappear when right-clicking a row
2727- Fixes [ #3909 ] ( https://github.com/gitkraken/vscode-gitlens/issues/3909 ) - GitLens "Pull with Rebase" is not rebase, but merge
28+ - Fixes [ #3841 ] ( https://github.com/gitkraken/vscode-gitlens/issues/3841 ) - Inspect & Graph Details: issue autolinks rendering when autolinks enabled is false
2829
2930## [ 16.1.1] - 2024-12-20
3031
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 @@ -1239,6 +1239,7 @@ export class CommitDetailsWebviewProvider
12391239 preferences : current . preferences ,
12401240 includeRichContent : current . richStateLoaded ,
12411241 autolinkedIssues : current . autolinkedIssues ?. map ( serializeIssueOrPullRequest ) ,
1242+ autolinksEnabled : configuration . get ( 'views.commitDetails.autolinks.enabled' ) ?? false ,
12421243 pullRequest : current . pullRequest != null ? serializePullRequest ( current . pullRequest ) : undefined ,
12431244 wip : serializeWipContext ( wip ) ,
12441245 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