From d81f10b1cfcbb997fc3c7e89e57c37ef0b880bcc Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sat, 18 Jul 2026 03:19:34 +0200 Subject: [PATCH] refactor(shell): channel page is a PageShell config, not a 2nd scroller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The channel page rendered its own PageScroller as a separate App branch — the source of the app's two
s. Make it a headerless/rail-less PageShell config (its banner scrolls from the top) so there is exactly ONE page scroller. Verified: single
, banner scrolls, in-page and browser Back both return to the feed; E2E 11/11. --- frontend/src/App.tsx | 2 ++ frontend/src/components/ChannelPage.tsx | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index d6f1405..be880ca 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -689,6 +689,7 @@ export default function App() { )}
{channelView ? ( + + ) : ( + <> {/* Banner + back — OPTION C: inset, rounded card (not full-bleed) */}
{ch?.banner_url && bannerAttempt <= MAX_BANNER_RETRIES ? ( @@ -466,6 +467,6 @@ export default function ChannelPage({ )}
)} - + ); }