Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/features/redesign/RedesignShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ export default function RedesignShell() {
};
}, []);

useEffect(() => {
const centerPane = document.querySelector<HTMLElement>("[data-redesign] .rd-shell__main > .rd-pane:first-child");
centerPane?.scrollTo({ top: 0, left: 0 });
}, [location.pathname, location.search]);

// Phase 7d (2026-05-08): editorial is the default at /redesign on
// both mobile + desktop. Legacy is opt-out via `?classic=1`
// (canonical) or `?edition=0` (back-compat). Per
Expand Down Expand Up @@ -323,6 +328,7 @@ export default function RedesignShell() {
if (tab === "brief") navigate(`/redesign/reports/${id}`);
else navigate(`/redesign/workspace?report=${id}&tab=${tab}`);
}}
onRunBatch={sendPromptToChat}
inspectedReportId={selectedReport?.id ?? null}
onSelectReport={selectLiveReport}
/>
Expand Down
Loading