Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Studio: keep the browser feature index out of startup (#17280)

Daniel Hane77b16781406
diff --git a/studio/frontend/src/app/routes/__root.tsx b/studio/frontend/src/app/routes/__root.tsx
index 6ae92cc59c6..4bf6f7ff701 100644
--- a/studio/frontend/src/app/routes/__root.tsx
+++ b/studio/frontend/src/app/routes/__root.tsx
@@ -17,7 +17,7 @@ import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar";
import { fetchDeviceType, usePlatformStore } from "@/config/env";
import { routeNeedsHardware, videoNavHint } from "@/config/hardware-verdict";
import { ApiMonitorOverlay } from "@/features/api-monitor/api-monitor-overlay";
-import { DownloadApprovalDialog } from "@/features/browser";
+import { DownloadApprovalDialog } from "@/features/browser/download-approval";
import {
AUTH_SESSION_CLEARED_EVENT,
AUTH_SESSION_STORED_EVENT,
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx
index 2a82273471f..df495a66dae 100644
--- a/studio/frontend/src/components/app-sidebar.tsx
+++ b/studio/frontend/src/components/app-sidebar.tsx
@@ -347,7 +347,8 @@ import {
} from "@/features/chat/hooks/use-sidebar-drag";
import { ShutdownDialog } from "@/components/shutdown-dialog";
import { useActiveChatMenuStore } from "@/features/chat/stores/active-chat-menu-store";
-import { type PinnedPage, PinnedPageRow, usePinnedPages } from "@/features/browser";
+import { PinnedPageRow, usePinnedPages } from "@/features/browser/pinned-page-row";
+import type { PinnedPage } from "@/features/browser/pinned-pages-store";
import { useUnseenScheduledRuns } from "@/features/scheduled-tasks";
import { translate, useT, type TranslationKey } from "@/i18n";
import { Tick02Icon } from "@/lib/tick-icon";
diff --git a/studio/frontend/tests/startup-feature-index-imports.test.ts b/studio/frontend/tests/startup-feature-index-imports.test.ts
index 51494774f0a..7669008172d 100644
--- a/studio/frontend/tests/startup-feature-index-imports.test.ts
+++ b/studio/frontend/tests/startup-feature-index-imports.test.ts
@@ -10,6 +10,7 @@ import { fileURLToPath } from "node:url";
const SRC = fileURLToPath(new URL("../src/", import.meta.url));
const LAZY_FEATURE_INDEXES = [
+ "browser",
"chat",
"hub",
"library",