Feature: tabs by 4shutosh · Pull Request #12397 · logseq/logseq
src/resources/dicts/en.edn
Adds command labels for tab-related shortcuts.
src/main/frontend/state/tabs.cljs
Introduces tab state storage and basic tab list operations.
src/main/frontend/state.cljs
Adds UI state + toggles for “auto-hide tabs when typing”.
src/main/frontend/spec/storage.cljc
Adds storage spec + allowlist entry for the new UI preference key.
src/main/frontend/modules/shortcut/config.cljs
Rebinds Cmd/Ctrl+W to close tab; adds tab switching shortcuts (1–9, prev/next).
src/main/frontend/handler/ui.cljs
Persists and toggles the auto-hide-tabs setting.
src/main/frontend/handler/tabs.cljs
Implements tab open/close/switch logic, including Electron last-tab behavior via shortcut.
src/main/frontend/handler/route.cljs
Updates tab state during navigation and history-driven routing.
src/main/frontend/handler/plugin.cljs
Adds auto-uninstall logic/notification for conflicting
logseq-tabs plugin.
src/main/frontend/handler/events.cljs
Resets tabs on graph switch (currently via close-all-tabs!).
src/main/frontend/handler/config.cljs
No functional change (trailing newline).
src/main/frontend/handler.cljs
Initializes tabs at app startup.
src/main/frontend/components/tabs.css
Adds styling for the tab bar and its interactions.
src/main/frontend/components/tabs.cljs
Adds the tab bar component, drag-reorder, and auto-hide while typing behavior.
src/main/frontend/components/settings.cljs
Adds the “Auto hide tabs when typing” setting row.
src/main/frontend/components/page.cljs
Adds “Remove icon” behavior in page title actions (appears unrelated to tabs).
src/main/frontend/components/left_sidebar.cljs
Adds Cmd/Ctrl+click behavior to open pages/Journals in tabs.
src/main/frontend/components/header.css
Adjusts header layout to accommodate a tabs bar region.
src/main/frontend/components/header.cljs
Mounts the tab bar in the header and removes the header breadcrumb.
src/main/frontend/components/container.css
Adjusts main content padding/layout (likely to fit new header/tabs layout).
src/main/frontend/components/container.cljs
Wraps main content container to support new header/tabs layout structure.
src/main/frontend/components/block.cljs
Adds Cmd/Ctrl+click behavior on page refs to open in a new tab.