From 0cb08678ffead285afb1f93ba50cd5a144ed5e7d Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sun, 7 Jun 2026 14:35:53 +0900 Subject: 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. --- src/features/tabs/ui/TabBar.svelte | 54 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/features/tabs/ui/TabBar.svelte (limited to 'src/features/tabs/ui') diff --git a/src/features/tabs/ui/TabBar.svelte b/src/features/tabs/ui/TabBar.svelte new file mode 100644 index 0000000..76fab05 --- /dev/null +++ b/src/features/tabs/ui/TabBar.svelte @@ -0,0 +1,54 @@ + + +
+
+ {#each tabs as tab (tab.conversationId)} + + {/each} + +
+
-- cgit v1.2.3