Yash030 commited on
Commit
9828fcf
·
1 Parent(s): 4d5727a

fix(viewer): sync dashboard to folder-based backend

Browse files

- Remove 10 tabs (Dashboard, Sessions, Lessons, Actions, Crystals, Audit,
Activity, Profile, Replay, Personal) that called non-existent endpoints
- Keep only the 5 tabs backed by real API routes: Folders, Memories,
Graph, Timeline, Tools
- Remove renderDashboard(), loadActivity(), loadSessions(), renderSessions(),
loadLessons(), renderLessons(), loadActions(), renderActions(),
loadCrystals(), renderCrystals(), loadProfile(), renderProfile(),
loadPersonal(), renderPersonal(), loadReplay(), renderReplay() and all
associated dead state (dashboard/sessions/activity/crystals/etc)
- Remove 4 orphaned view-* div containers that had no tab buttons
- Fix apiFetchRaw() to use REST base URL for correct cross-origin support
- Remove duplicate apiPost() declaration
- Fix startPolling() to only refresh tabs with real endpoints
- Fix routeWsMessage() to remove dead dashboard/activity branches
- Fix maybeShowOnboarding() flag key lookups (use real embeddingProvider field)
- Fix renderFlagBanners() stale activeTab !== dashboard check
- Remove duplicate var wsReconnectTimer = null declaration
- Remove startDashboardAutoRefresh() call at init

Files changed (1) hide show
  1. src/viewer/index.html +0 -0
src/viewer/index.html CHANGED
The diff for this file is too large to render. See raw diff