Skip to content

Commit 2183dac

Browse files
committed
Inverts welcome context to avoid flashing
1 parent 1ecf9fc commit 2183dac

File tree

3 files changed

+45
-45
lines changed

3 files changed

+45
-45
lines changed

package.json

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -8213,13 +8213,13 @@
82138213
"command": "gitlens.views.scm.grouped.refresh",
82148214
"title": "Refresh",
82158215
"icon": "$(refresh)",
8216-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8216+
"enablement": "!gitlens:views:scm:grouped:welcome"
82178217
},
82188218
{
82198219
"command": "gitlens.views.scm.grouped.branches",
82208220
"title": "Branches",
82218221
"icon": "$(gitlens-branches-view)",
8222-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8222+
"enablement": "!gitlens:views:scm:grouped:welcome"
82238223
},
82248224
{
82258225
"command": "gitlens.views.scm.grouped.branches.detach",
@@ -8229,7 +8229,7 @@
82298229
{
82308230
"command": "gitlens.views.scm.grouped.branches.regroup",
82318231
"title": "Regroup Branches View",
8232-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8232+
"enablement": "!gitlens:views:scm:grouped:welcome"
82338233
},
82348234
{
82358235
"command": "gitlens.views.scm.grouped.branches.setAsDefault",
@@ -8239,7 +8239,7 @@
82398239
"command": "gitlens.views.scm.grouped.commits",
82408240
"title": "Commits",
82418241
"icon": "$(gitlens-commits-view)",
8242-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8242+
"enablement": "!gitlens:views:scm:grouped:welcome"
82438243
},
82448244
{
82458245
"command": "gitlens.views.scm.grouped.commits.detach",
@@ -8249,7 +8249,7 @@
82498249
{
82508250
"command": "gitlens.views.scm.grouped.commits.regroup",
82518251
"title": "Regroup Commits View",
8252-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8252+
"enablement": "!gitlens:views:scm:grouped:welcome"
82538253
},
82548254
{
82558255
"command": "gitlens.views.scm.grouped.commits.setAsDefault",
@@ -8259,7 +8259,7 @@
82598259
"command": "gitlens.views.scm.grouped.contributors",
82608260
"title": "Contributors",
82618261
"icon": "$(gitlens-contributors-view)",
8262-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8262+
"enablement": "!gitlens:views:scm:grouped:welcome"
82638263
},
82648264
{
82658265
"command": "gitlens.views.scm.grouped.contributors.detach",
@@ -8269,7 +8269,7 @@
82698269
{
82708270
"command": "gitlens.views.scm.grouped.contributors.regroup",
82718271
"title": "Regroup Contributors View",
8272-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8272+
"enablement": "!gitlens:views:scm:grouped:welcome"
82738273
},
82748274
{
82758275
"command": "gitlens.views.scm.grouped.contributors.setAsDefault",
@@ -8279,7 +8279,7 @@
82798279
"command": "gitlens.views.scm.grouped.launchpad",
82808280
"title": "Launchpad",
82818281
"icon": "$(gitlens-launchpad-view)",
8282-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8282+
"enablement": "!gitlens:views:scm:grouped:welcome"
82838283
},
82848284
{
82858285
"command": "gitlens.views.scm.grouped.launchpad.detach",
@@ -8289,7 +8289,7 @@
82898289
{
82908290
"command": "gitlens.views.scm.grouped.launchpad.regroup",
82918291
"title": "Regroup Launchpad View",
8292-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8292+
"enablement": "!gitlens:views:scm:grouped:welcome"
82938293
},
82948294
{
82958295
"command": "gitlens.views.scm.grouped.launchpad.setAsDefault",
@@ -8299,7 +8299,7 @@
82998299
"command": "gitlens.views.scm.grouped.remotes",
83008300
"title": "Remotes",
83018301
"icon": "$(gitlens-remotes-view)",
8302-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8302+
"enablement": "!gitlens:views:scm:grouped:welcome"
83038303
},
83048304
{
83058305
"command": "gitlens.views.scm.grouped.remotes.detach",
@@ -8309,7 +8309,7 @@
83098309
{
83108310
"command": "gitlens.views.scm.grouped.remotes.regroup",
83118311
"title": "Regroup Remotes View",
8312-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8312+
"enablement": "!gitlens:views:scm:grouped:welcome"
83138313
},
83148314
{
83158315
"command": "gitlens.views.scm.grouped.remotes.setAsDefault",
@@ -8319,7 +8319,7 @@
83198319
"command": "gitlens.views.scm.grouped.repositories",
83208320
"title": "Repositories",
83218321
"icon": "$(gitlens-repositories-view)",
8322-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8322+
"enablement": "!gitlens:views:scm:grouped:welcome"
83238323
},
83248324
{
83258325
"command": "gitlens.views.scm.grouped.repositories.detach",
@@ -8329,7 +8329,7 @@
83298329
{
83308330
"command": "gitlens.views.scm.grouped.repositories.regroup",
83318331
"title": "Regroup Repositories View",
8332-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8332+
"enablement": "!gitlens:views:scm:grouped:welcome"
83338333
},
83348334
{
83358335
"command": "gitlens.views.scm.grouped.repositories.setAsDefault",
@@ -8339,7 +8339,7 @@
83398339
"command": "gitlens.views.scm.grouped.searchAndCompare",
83408340
"title": "Search & Compare",
83418341
"icon": "$(gitlens-search-view)",
8342-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8342+
"enablement": "!gitlens:views:scm:grouped:welcome"
83438343
},
83448344
{
83458345
"command": "gitlens.views.scm.grouped.searchAndCompare.detach",
@@ -8349,7 +8349,7 @@
83498349
{
83508350
"command": "gitlens.views.scm.grouped.searchAndCompare.regroup",
83518351
"title": "Regroup Search & Compare View",
8352-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8352+
"enablement": "!gitlens:views:scm:grouped:welcome"
83538353
},
83548354
{
83558355
"command": "gitlens.views.scm.grouped.searchAndCompare.setAsDefault",
@@ -8359,7 +8359,7 @@
83598359
"command": "gitlens.views.scm.grouped.stashes",
83608360
"title": "Stashes",
83618361
"icon": "$(gitlens-stashes-view)",
8362-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8362+
"enablement": "!gitlens:views:scm:grouped:welcome"
83638363
},
83648364
{
83658365
"command": "gitlens.views.scm.grouped.stashes.detach",
@@ -8369,7 +8369,7 @@
83698369
{
83708370
"command": "gitlens.views.scm.grouped.stashes.regroup",
83718371
"title": "Regroup Stashes View",
8372-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8372+
"enablement": "!gitlens:views:scm:grouped:welcome"
83738373
},
83748374
{
83758375
"command": "gitlens.views.scm.grouped.stashes.setAsDefault",
@@ -8379,7 +8379,7 @@
83798379
"command": "gitlens.views.scm.grouped.tags",
83808380
"title": "Tags",
83818381
"icon": "$(gitlens-tags-view)",
8382-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8382+
"enablement": "!gitlens:views:scm:grouped:welcome"
83838383
},
83848384
{
83858385
"command": "gitlens.views.scm.grouped.tags.detach",
@@ -8389,7 +8389,7 @@
83898389
{
83908390
"command": "gitlens.views.scm.grouped.tags.regroup",
83918391
"title": "Regroup Tags View",
8392-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8392+
"enablement": "!gitlens:views:scm:grouped:welcome"
83938393
},
83948394
{
83958395
"command": "gitlens.views.scm.grouped.tags.setAsDefault",
@@ -8399,7 +8399,7 @@
83998399
"command": "gitlens.views.scm.grouped.worktrees",
84008400
"title": "Worktrees",
84018401
"icon": "$(gitlens-worktrees-view)",
8402-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8402+
"enablement": "!gitlens:views:scm:grouped:welcome"
84038403
},
84048404
{
84058405
"command": "gitlens.views.scm.grouped.worktrees.detach",
@@ -8409,7 +8409,7 @@
84098409
{
84108410
"command": "gitlens.views.scm.grouped.worktrees.regroup",
84118411
"title": "Regroup Worktrees View",
8412-
"enablement": "gitlens:views:scm:grouped:welcome:dismissed"
8412+
"enablement": "!gitlens:views:scm:grouped:welcome"
84138413
},
84148414
{
84158415
"command": "gitlens.views.scm.grouped.worktrees.setAsDefault",
@@ -14048,13 +14048,13 @@
1404814048
},
1404914049
{
1405014050
"command": "gitlens.views.scm.grouped.commits",
14051-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.commits && (gitlens:views:scm:grouped:view != commits || !gitlens:views:scm:grouped:welcome:dismissed)",
14051+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.commits && (gitlens:views:scm:grouped:view != commits || gitlens:views:scm:grouped:welcome)",
1405214052
"group": "navigation@1",
1405314053
"alt": "gitlens.views.scm.grouped.commits.detach"
1405414054
},
1405514055
{
1405614056
"submenu": "gitlens/views/grouped/commits",
14057-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.commits && gitlens:views:scm:grouped:view == commits && gitlens:views:scm:grouped:welcome:dismissed",
14057+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.commits && gitlens:views:scm:grouped:view == commits && !gitlens:views:scm:grouped:welcome",
1405814058
"group": "navigation@1"
1405914059
},
1406014060
{
@@ -14064,13 +14064,13 @@
1406414064
},
1406514065
{
1406614066
"command": "gitlens.views.scm.grouped.branches",
14067-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.branches && (gitlens:views:scm:grouped:view != branches || !gitlens:views:scm:grouped:welcome:dismissed)",
14067+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.branches && (gitlens:views:scm:grouped:view != branches || gitlens:views:scm:grouped:welcome)",
1406814068
"group": "navigation@2",
1406914069
"alt": "gitlens.views.scm.grouped.branches.detach"
1407014070
},
1407114071
{
1407214072
"submenu": "gitlens/views/grouped/branches",
14073-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.branches && gitlens:views:scm:grouped:view == branches && gitlens:views:scm:grouped:welcome:dismissed",
14073+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.branches && gitlens:views:scm:grouped:view == branches && !gitlens:views:scm:grouped:welcome",
1407414074
"group": "navigation@2"
1407514075
},
1407614076
{
@@ -14080,13 +14080,13 @@
1408014080
},
1408114081
{
1408214082
"command": "gitlens.views.scm.grouped.remotes",
14083-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.remotes && (gitlens:views:scm:grouped:view != remotes || !gitlens:views:scm:grouped:welcome:dismissed)",
14083+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.remotes && (gitlens:views:scm:grouped:view != remotes || gitlens:views:scm:grouped:welcome)",
1408414084
"group": "navigation@3",
1408514085
"alt": "gitlens.views.scm.grouped.remotes.detach"
1408614086
},
1408714087
{
1408814088
"submenu": "gitlens/views/grouped/remotes",
14089-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.remotes && gitlens:views:scm:grouped:view == remotes && gitlens:views:scm:grouped:welcome:dismissed",
14089+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.remotes && gitlens:views:scm:grouped:view == remotes && !gitlens:views:scm:grouped:welcome",
1409014090
"group": "navigation@3"
1409114091
},
1409214092
{
@@ -14096,13 +14096,13 @@
1409614096
},
1409714097
{
1409814098
"command": "gitlens.views.scm.grouped.stashes",
14099-
"when": "!gitlens:hasVirtualFolders && view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.stashes && (gitlens:views:scm:grouped:view != stashes || !gitlens:views:scm:grouped:welcome:dismissed)",
14099+
"when": "!gitlens:hasVirtualFolders && view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.stashes && (gitlens:views:scm:grouped:view != stashes || gitlens:views:scm:grouped:welcome)",
1410014100
"group": "navigation@4",
1410114101
"alt": "gitlens.views.scm.grouped.stashes.detach"
1410214102
},
1410314103
{
1410414104
"submenu": "gitlens/views/grouped/stashes",
14105-
"when": "!gitlens:hasVirtualFolders && view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.stashes && gitlens:views:scm:grouped:view == stashes && gitlens:views:scm:grouped:welcome:dismissed",
14105+
"when": "!gitlens:hasVirtualFolders && view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.stashes && gitlens:views:scm:grouped:view == stashes && !gitlens:views:scm:grouped:welcome",
1410614106
"group": "navigation@4"
1410714107
},
1410814108
{
@@ -14112,13 +14112,13 @@
1411214112
},
1411314113
{
1411414114
"command": "gitlens.views.scm.grouped.tags",
14115-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.tags && (gitlens:views:scm:grouped:view != tags || !gitlens:views:scm:grouped:welcome:dismissed)",
14115+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.tags && (gitlens:views:scm:grouped:view != tags || gitlens:views:scm:grouped:welcome)",
1411614116
"group": "navigation@5",
1411714117
"alt": "gitlens.views.scm.grouped.tags.detach"
1411814118
},
1411914119
{
1412014120
"submenu": "gitlens/views/grouped/tags",
14121-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.tags && gitlens:views:scm:grouped:view == tags && gitlens:views:scm:grouped:welcome:dismissed",
14121+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.tags && gitlens:views:scm:grouped:view == tags && !gitlens:views:scm:grouped:welcome",
1412214122
"group": "navigation@5"
1412314123
},
1412414124
{
@@ -14128,13 +14128,13 @@
1412814128
},
1412914129
{
1413014130
"command": "gitlens.views.scm.grouped.worktrees",
14131-
"when": "!gitlens:hasVirtualFolders && gitlens:plus:enabled && view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.worktrees && (gitlens:views:scm:grouped:view != worktrees || !gitlens:views:scm:grouped:welcome:dismissed)",
14131+
"when": "!gitlens:hasVirtualFolders && gitlens:plus:enabled && view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.worktrees && (gitlens:views:scm:grouped:view != worktrees || gitlens:views:scm:grouped:welcome)",
1413214132
"group": "navigation@6",
1413314133
"alt": "gitlens.views.scm.grouped.worktrees.detach"
1413414134
},
1413514135
{
1413614136
"submenu": "gitlens/views/grouped/worktrees",
14137-
"when": "!gitlens:hasVirtualFolders && gitlens:plus:enabled && view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.worktrees && gitlens:views:scm:grouped:view == worktrees && gitlens:views:scm:grouped:welcome:dismissed",
14137+
"when": "!gitlens:hasVirtualFolders && gitlens:plus:enabled && view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.worktrees && gitlens:views:scm:grouped:view == worktrees && !gitlens:views:scm:grouped:welcome",
1413814138
"group": "navigation@6"
1413914139
},
1414014140
{
@@ -14144,13 +14144,13 @@
1414414144
},
1414514145
{
1414614146
"command": "gitlens.views.scm.grouped.contributors",
14147-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.contributors && (gitlens:views:scm:grouped:view != contributors || !gitlens:views:scm:grouped:welcome:dismissed)",
14147+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.contributors && (gitlens:views:scm:grouped:view != contributors || gitlens:views:scm:grouped:welcome)",
1414814148
"group": "navigation@7",
1414914149
"alt": "gitlens.views.scm.grouped.contributors.detach"
1415014150
},
1415114151
{
1415214152
"submenu": "gitlens/views/grouped/contributors",
14153-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.contributors && gitlens:views:scm:grouped:view == contributors && gitlens:views:scm:grouped:welcome:dismissed",
14153+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.contributors && gitlens:views:scm:grouped:view == contributors && !gitlens:views:scm:grouped:welcome",
1415414154
"group": "navigation@7"
1415514155
},
1415614156
{
@@ -14160,13 +14160,13 @@
1416014160
},
1416114161
{
1416214162
"command": "gitlens.views.scm.grouped.repositories",
14163-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.repositories && (gitlens:views:scm:grouped:view != repositories || !gitlens:views:scm:grouped:welcome:dismissed)",
14163+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.repositories && (gitlens:views:scm:grouped:view != repositories || gitlens:views:scm:grouped:welcome)",
1416414164
"group": "navigation@8",
1416514165
"alt": "gitlens.views.scm.grouped.repositories.detach"
1416614166
},
1416714167
{
1416814168
"submenu": "gitlens/views/grouped/repositories",
14169-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.repositories && gitlens:views:scm:grouped:view == repositories && gitlens:views:scm:grouped:welcome:dismissed",
14169+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.repositories && gitlens:views:scm:grouped:view == repositories && !gitlens:views:scm:grouped:welcome",
1417014170
"group": "navigation@8"
1417114171
},
1417214172
{
@@ -14176,13 +14176,13 @@
1417614176
},
1417714177
{
1417814178
"command": "gitlens.views.scm.grouped.searchAndCompare",
14179-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.searchAndCompare && (gitlens:views:scm:grouped:view != searchAndCompare || !gitlens:views:scm:grouped:welcome:dismissed)",
14179+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.searchAndCompare && (gitlens:views:scm:grouped:view != searchAndCompare || gitlens:views:scm:grouped:welcome)",
1418014180
"group": "navigation@9",
1418114181
"alt": "gitlens.views.scm.grouped.searchAndCompare.detach"
1418214182
},
1418314183
{
1418414184
"submenu": "gitlens/views/grouped/searchAndCompare",
14185-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.searchAndCompare && gitlens:views:scm:grouped:view == searchAndCompare && gitlens:views:scm:grouped:welcome:dismissed",
14185+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.searchAndCompare && gitlens:views:scm:grouped:view == searchAndCompare && !gitlens:views:scm:grouped:welcome",
1418614186
"group": "navigation@9"
1418714187
},
1418814188
{
@@ -14192,13 +14192,13 @@
1419214192
},
1419314193
{
1419414194
"command": "gitlens.views.scm.grouped.launchpad",
14195-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.launchpad && (gitlens:views:scm:grouped:view != launchpad || !gitlens:views:scm:grouped:welcome:dismissed)",
14195+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.launchpad && (gitlens:views:scm:grouped:view != launchpad || gitlens:views:scm:grouped:welcome)",
1419614196
"group": "navigation@10",
1419714197
"alt": "gitlens.views.scm.grouped.launchpad.detach"
1419814198
},
1419914199
{
1420014200
"submenu": "gitlens/views/grouped/launchpad",
14201-
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.launchpad && gitlens:views:scm:grouped:view == launchpad && gitlens:views:scm:grouped:welcome:dismissed",
14201+
"when": "view == gitlens.views.scm.grouped && config.gitlens.views.scm.grouped.views.launchpad && gitlens:views:scm:grouped:view == launchpad && !gitlens:views:scm:grouped:welcome",
1420214202
"group": "navigation@10"
1420314203
},
1420414204
{
@@ -19283,12 +19283,12 @@
1928319283
{
1928419284
"view": "gitlens.views.scm.grouped",
1928519285
"contents": "GitLens groups many related views—Commits, Branches, Stashes, etc—here for easier view management.\nUse the tabs above to navigate, or detach the views you want to keep separated. You can regroup them anytime using the 'x' in the view header.\n\n[Continue](command:gitlens.views.scm.grouped.welcome.dismiss)",
19286-
"when": "!gitlens:views:scm:grouped:welcome:dismissed && gitlens:newInstall"
19286+
"when": "gitlens:views:scm:grouped:welcome && gitlens:newInstall"
1928719287
},
1928819288
{
1928919289
"view": "gitlens.views.scm.grouped",
1929019290
"contents": "In GitLens 16, we've grouped many related views—Commits, Branches, Stashes, etc—here for easier view management.\nUse the tabs above to navigate, or detach the views you want to keep separated. You can regroup them anytime using the 'x' in the view header.\n\n[Continue](command:gitlens.views.scm.grouped.welcome.dismiss)\n\nPrefer them separate? [Restore views to previous locations](command:gitlens.views.scm.grouped.welcome.restore)",
19291-
"when": "!gitlens:views:scm:grouped:welcome:dismissed && !gitlens:newInstall"
19291+
"when": "gitlens:views:scm:grouped:welcome && !gitlens:newInstall"
1929219292
},
1929319293
{
1929419294
"view": "gitlens.views.searchAndCompare",

src/constants.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export type ContextKeys = {
4747
'gitlens:views:repositories:autoRefresh': boolean;
4848
'gitlens:views:scm:grouped:refresh': boolean;
4949
'gitlens:views:scm:grouped:view': GroupableTreeViewTypes;
50-
'gitlens:views:scm:grouped:welcome:dismissed': boolean;
50+
'gitlens:views:scm:grouped:welcome': boolean;
5151
'gitlens:vsls': boolean | 'host' | 'guest';
5252
'gitlens:window:annotated': AnnotationStatus;
5353
} & Record<`gitlens:action:${string}`, number> &

src/views/views.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ export class Views implements Disposable {
429429
}
430430

431431
private updateScmGroupedViewsRegistration(bypassWelcomeView?: boolean) {
432-
void setContext('gitlens:views:scm:grouped:welcome:dismissed', this._welcomeDismissed);
432+
void setContext('gitlens:views:scm:grouped:welcome', !this._welcomeDismissed);
433433

434434
const groupedViews = getScmGroupedViewsFromConfig();
435435

0 commit comments

Comments
 (0)