Remove base env, fix hotkeys, and QoL improvements

This commit is contained in:
Gregory Schier
2024-01-07 22:24:19 -08:00
parent 35e40d2c55
commit 88ea68e72f
10 changed files with 90 additions and 67 deletions

View File

@@ -15,7 +15,7 @@ export function useCreateFolder() {
throw new Error("Cannot create folder when there's no active workspace");
}
patch.name = patch.name || 'New Folder';
patch.sortPriority = patch.sortPriority || Date.now();
patch.sortPriority = patch.sortPriority || -Date.now();
return invoke('create_folder', { workspaceId, ...patch });
},
onSettled: () => trackEvent('folder', 'create'),