fix: use correct command to Open Folder on Welcome page#3437
fix: use correct command to Open Folder on Welcome page#3437repo-ranger[bot] merged 2 commits intomainfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3437 +/- ##
=======================================
Coverage 59.21% 59.21%
=======================================
Files 35 35
Lines 1709 1709
Branches 379 379
=======================================
Hits 1012 1012
Misses 559 559
Partials 138 138 Continue to review full report at Codecov.
|
NotesLooking at the When the link gets called, the We need to find the list of commands and see what's there 🤔 From what I can tell, actions are "registered" like Funny enough, I can't tell how the Okay I found this issue. If you look here I found the issue I believe! If you look here, that action only), they only use the This change happened on April 21 in the 1.56.2 release: microsoft/vscode@141ecfb#diff-c294b7c700c8aaaac2bce37dd95450e3ab232e0e52fcc181b7c94780f01aa17a |
In 1.56.2, they modified the WelcomePage use of OpenFileFolder in src/vs/workbench/contrib/debug/browser/welcomeView.ts to only use on macOS + Desktop (i.e. not Web). This caused the "Open Folder" to not work on macOS + macOS-like environments. Instead, we use OpenFolder which is a registered command and works as expected.
This PR fixes the "Open Folder" link on the Welcome page.
Changes
openFolderScreenshots
Screen.Recording.2021-05-21.at.12.00.08.PM.mov
Checklist
CHANGELOG.mdFixes #2921
Related: