diff --git a/apps/api/src/api/user_config.py b/apps/api/src/api/user_config.py index c458a8e..05a8091 100644 --- a/apps/api/src/api/user_config.py +++ b/apps/api/src/api/user_config.py @@ -47,6 +47,7 @@ class UserConfigResponse(BaseModel): theme: str = "system" git_user_name: str | None = None git_user_email: str | None = None + last_session_id: str | None = None class UserConfigUpdate(BaseModel): @@ -54,6 +55,7 @@ class UserConfigUpdate(BaseModel): theme: str | None = None git_user_name: str | None = None git_user_email: str | None = None + last_session_id: str | None = None @router.get( diff --git a/apps/web/src/api/settings.ts b/apps/web/src/api/settings.ts index bd32406..4114854 100644 --- a/apps/web/src/api/settings.ts +++ b/apps/web/src/api/settings.ts @@ -5,6 +5,7 @@ export interface UserConfig { theme: string; git_user_name: string | null; git_user_email: string | null; + last_session_id: string | null; } export interface UserConfigUpdate { @@ -12,6 +13,7 @@ export interface UserConfigUpdate { theme?: string; git_user_name?: string; git_user_email?: string; + last_session_id?: string; } export const getUserConfig = async (): Promise => { diff --git a/apps/web/src/components/app-shell.tsx b/apps/web/src/components/app-shell.tsx index 92ba608..1f4196f 100644 --- a/apps/web/src/components/app-shell.tsx +++ b/apps/web/src/components/app-shell.tsx @@ -11,6 +11,7 @@ import type { IconName } from "../utils/icons"; const NAV_ITEMS: { to: string; label: string; icon: IconName }[] = [ { to: "/", label: "Dashboard", icon: "dashboard" }, + { to: "/sessions", label: "Sessions", icon: "terminal" }, { to: "/projects", label: "Projects", icon: "projects" }, { to: "/ssh-keys", label: "SSH Keys", icon: "profile" }, { to: "/tool-types", label: "Tool Types", icon: "code" }, @@ -83,17 +84,24 @@ export const AppShell = () => {