From 73fc0dab841eacdf9f3bf41c4778a9269f4f30b0 Mon Sep 17 00:00:00 2001 From: Alex Yaroshuk Date: Wed, 4 Feb 2026 05:05:52 +0800 Subject: [PATCH] chore: temporarily disable archive session feature --- packages/app/src/pages/layout.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/app/src/pages/layout.tsx b/packages/app/src/pages/layout.tsx index 46c9c9154ffd..96c446030b14 100644 --- a/packages/app/src/pages/layout.tsx +++ b/packages/app/src/pages/layout.tsx @@ -1131,7 +1131,8 @@ export default function Layout(props: ParentProps) { title: language.t("command.session.archive"), category: language.t("command.category.session"), keybind: "mod+shift+backspace", - disabled: !params.dir || !params.id, + disabled: true, // WIP: archive session feature is work in progress + // TODO: enable this when there's a way to load/restore archive sessions from the UI onSelect: () => { const session = currentSessions().find((s) => s.id === params.id) if (session) archiveSession(session) @@ -2022,7 +2023,10 @@ export default function Layout(props: ParentProps) { > {language.t("common.rename")} - archiveSession(props.session)}> + + {/* WIP: archive session feature is work in progress */} + {/* //TODO: enable this when there's a way to load/restore archive sessions from the UI */} + {language.t("common.archive")}