You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tech-debt(analytics): loadProjectRoot is returned by the composable and never called #21419
loadProjectRoot (autobot-frontend/src/composables/analytics/useAnalyticsDataFetchers.ts:508) is returned from the composable (:664) and has no caller anywhere under autobot-frontend/src (grep across the tree: only the definition and the return). It reads the saved path from localStorage and otherwise sets rootPath from appConfig.getProjectRoot().
Unused code is unfinished work: wire it in, do not delete it.
Impact
The page never loads the configured project root, so whatever it was meant to initialise is never initialised.
Acceptance criteria
Either loadProjectRoot is called from the place that needs the project root (page setup), with a test asserting the call; or this issue records, with grep evidence, why no consumer needs it and what replaced it.
Any root it sets goes through the source-scoping pattern (scopeToSource / withSourceId), not as an unscoped default.
Activity