summaryrefslogtreecommitdiffhomepage
path: root/src/features/tabs/index.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-07 14:35:53 +0900
committerAdam Malczewski <[email protected]>2026-06-07 14:35:53 +0900
commit0cb08678ffead285afb1f93ba50cd5a144ed5e7d (patch)
treecf1396f1d7a065b5777ede0fd64f67ae8d6063ec /src/features/tabs/index.ts
parent2663fe7f7b7eb438dc295fe9dea221aa8b8b8f81 (diff)
downloaddispatch-web-0cb08678ffead285afb1f93ba50cd5a144ed5e7d.tar.gz
dispatch-web-0cb08678ffead285afb1f93ba50cd5a144ed5e7d.zip
feat(tabs): extract TabBar component with horizontal scroll + sticky end '+'
Move inline tab-bar markup from the composition root into a thin presentational TabBar in the tabs feature (feature-as-a-library: pure reducer -> reactive store -> UI). Adds overflow-x scroll (min-w-max strip) and a sticky right-pinned new-chat '+' that floats over scrolling tabs. Draft-on-select / create-on-send behavior unchanged.
Diffstat (limited to 'src/features/tabs/index.ts')
-rw-r--r--src/features/tabs/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/tabs/index.ts b/src/features/tabs/index.ts
index c01d4ac..835788a 100644
--- a/src/features/tabs/index.ts
+++ b/src/features/tabs/index.ts
@@ -12,3 +12,4 @@ export {
} from "./tabs";
export type { TabsStorage, TabsStore } from "./tabs-store.svelte";
export { createTabsStore } from "./tabs-store.svelte";
+export { default as TabBar } from "./ui/TabBar.svelte";