Skip to content

Commit

Permalink
refactor: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Nov 3, 2024
1 parent 97499e8 commit fa5f7ec
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 20 deletions.
7 changes: 3 additions & 4 deletions apps/desktop/src/lib/components/main/CommandPalette.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<!-- This file renders the main command palette, a list of commands -->
<!-- This is not placed in @kksh/ui because it depends on the app config and is very complex,
passing everything through props will be very complicated and hard to maintain.
-->
<script lang="ts">
import type { ExtPackageJsonExtra } from "@kksh/api/models"
import { isExtPathInDev } from "@kksh/extension/utils"
Expand Down Expand Up @@ -29,10 +32,6 @@
appState: Writable<AppState>
builtinCmds: BuiltinCmd[]
} = $props()
// const appConfig = getAppConfigContext()
let highlightedCmd = $state("")
let searchTerm = $state("")
</script>

<Command.Root
Expand Down
6 changes: 0 additions & 6 deletions apps/desktop/src/lib/utils.ts

This file was deleted.

2 changes: 1 addition & 1 deletion apps/desktop/src/routes/extension/ui-iframe/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { appConfig, winExtMap } from "@/stores"
import { cn } from "@/utils"
import { cn } from "@kksh/ui/utils"
import { goBackOnEscape } from "@/utils/key"
import { goHome } from "@/utils/route"
import { positionToTailwindClasses } from "@/utils/style"
Expand Down
Binary file modified apps/desktop/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/desktop/static/logo-w-bg.png
Binary file not shown.
1 change: 0 additions & 1 deletion apps/desktop/static/svelte.svg

This file was deleted.

6 changes: 0 additions & 6 deletions apps/desktop/static/tauri.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/desktop/static/vite.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

<footer data-tauri-drag-region class={cn("h-12 border-t", className)}>
<Avatar.Root class="p-2">
<Avatar.Image src="/logo-w-bg.png" alt="Kunkun Logo" class="select-none invert dark:invert-0" />
<Avatar.Image src="/favicon.png" alt="Kunkun Logo" class="select-none invert dark:invert-0" />
</Avatar.Root>
</footer>

0 comments on commit fa5f7ec

Please sign in to comment.