refactor command feature

This commit is contained in:
Chris Kruining 2025-01-07 10:24:09 +01:00
parent 824d98b9c8
commit 6e17401992
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
8 changed files with 216 additions and 378 deletions

View file

@ -4,7 +4,7 @@ import { Sidebar } from "~/components/sidebar";
import { emptyFolder, FolderEntry, walk as fileTreeWalk, Tree } from "~/components/filetree";
import { Menu } from "~/features/menu";
import { Grid, load, useFiles } from "~/features/file";
import { Command, CommandType, Context, createCommand, Modifier, noop, useCommands } from "~/features/command";
import { Command, CommandType, Context, createCommand, Modifier } from "~/features/command";
import { Entry, GridApi } from "~/features/file/grid";
import { Tab, Tabs } from "~/components/tabs";
import { isServer } from "solid-js/web";