diff --git a/src/components/TabBar.tsx b/src/components/TabBar.tsx index 26e0d99..478ba77 100644 --- a/src/components/TabBar.tsx +++ b/src/components/TabBar.tsx @@ -76,50 +76,54 @@ export function TabBar() { return ( <>
+ {/* Left side: Workspace tabs + new workspace button */}
{sortedWorkspaces.map((ws) => ( -
- - -
+ ))} + +
+ + {/* Spacer to push right side controls to the end */} +
+ + {/* Right side: Layout controls */} +
{/* Layout Preset Dropdown */} - +
Apply Layout Preset
@@ -137,7 +141,7 @@ export function TabBar() {
{preset.name}
{canApply - ? `${preset.slots} windows` + ? `${preset.slots}+ windows` : `Needs ${preset.slots} (have ${windowCount})`}
@@ -147,14 +151,15 @@ export function TabBar() { + {/* Window/Layout Settings */}
diff --git a/src/lib/nostr-schema.test.ts b/src/lib/nostr-schema.test.ts index 816f260..e45c7b7 100644 --- a/src/lib/nostr-schema.test.ts +++ b/src/lib/nostr-schema.test.ts @@ -8,6 +8,10 @@ import { getContentTypeDescription, } from "./nostr-schema"; +// TODO: Some tests in this file fail because IndexedDB is not available in the Vitest runtime. +// The failures are related to Dexie/IndexedDB operations that can't run in the Node.js test environment. +// Future work: Mock IndexedDB or use an in-memory IndexedDB implementation for testing. + describe("nostr-schema", () => { describe("loadSchema", () => { it("should load and parse the schema", () => {