-
refactor(ollie): move ollieEnabled redirect into OlliePage guard
发布于
2026-05-15 14:59:07 +00:00 Per review (https://github.com/comet-ml/opik/pull/6725#discussion_r3248866092):
centralize the Ollie redirect in OlliePage instead of branching in HomePage.
OlliePage already redirects to /logs when AssistantSidebar isn't registered;
extending that guard with|| !ollieEnabledalso catches direct-URL hits to
/home and /ollie, not just the in-app workspace-entry redirect.HomePage goes back to always routing to /home.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
下载附件