- {/* Keyed wrapper forces React to remount on surface change,
- triggering the rd-surface-enter CSS animation reliably. */}
-
- {isPrototypeKit && (
-
- )}
- {!isPrototypeKit && surface === "chat" && (
-
- )}
- {!isPrototypeKit && surface === "home" && (
-
- )}
- {!isPrototypeKit && surface === "reports" && !reportId && (
-
{
- if (tab === "brief") navigate(`/redesign/reports/${id}`);
- else navigate(`/redesign/workspace?report=${id}&tab=${tab}`);
- }}
- inspectedReportId={reportsRailEntityMode ? "__rail_entity_override__" : selectedReport?.id ?? null}
- onSelectReport={selectLiveReport}
- onRunBatch={sendPromptToChat}
- />
- )}
- {!isPrototypeKit && surface === "reports" && reportId && }
- {!isPrototypeKit && surface === "inbox" && }
- {!isPrototypeKit && surface === "me" && }
-
-