Add a keyboard-driven project setup flow (#2097)
* feat(projects): add keyboard-driven project setup * test(app): update add project loading assertion * fix(projects): harden GitHub project setup
This commit is contained in:
@@ -24,6 +24,7 @@ export interface DesktopDialogOpenOptions {
|
||||
title?: string;
|
||||
defaultPath?: string;
|
||||
directory?: boolean;
|
||||
createDirectory?: boolean;
|
||||
multiple?: boolean;
|
||||
filters?: Array<{
|
||||
name: string;
|
||||
|
||||
@@ -19,6 +19,7 @@ describe("pickDirectory", () => {
|
||||
{
|
||||
directory: true,
|
||||
multiple: false,
|
||||
createDirectory: true,
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -11,6 +11,7 @@ export async function pickDirectory(
|
||||
const selection = await open({
|
||||
directory: true,
|
||||
multiple: false,
|
||||
createDirectory: true,
|
||||
});
|
||||
if (selection === null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user