feat(portal): add light/dark theme sync and OA drive navigation
Memind CI / Test, build, and release guards (push) Successful in 4m31s

Unify chat and OA drive appearance with shared memind-theme storage, default light mode, and cross-frame sync so users can switch themes from chat or the drive shell.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-10 20:10:06 +08:00
parent 97a3e89ff7
commit 3e6b0c262a
10 changed files with 520 additions and 128 deletions
+2
View File
@@ -91,6 +91,7 @@ function AuthenticatedApp({
}
: undefined
}
onOpenOaDrive={user ? () => navigate('/space/oa/drive') : undefined}
onOpenPage={user ? (pageId) => navigate(`/space/page/${pageId}`) : undefined}
onOpenAdmin={
user?.role === 'admin'
@@ -121,6 +122,7 @@ function AuthenticatedApp({
element={<FeedbackRoutes user={user} onLogout={handleLogout} />}
/>
<Route path="/health" element={<Navigate to="/" replace />} />
<Route path="/oa-drive" element={<Navigate to="/space/oa/drive" replace />} />
<Route path="/" element={chatElement} />
<Route path="*" element={<Navigate to="/" replace />} />
</Routes>