From dd231f5a38610b7810d8e721627664a2563e80de Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 18 May 2026 15:32:16 +0000 Subject: [PATCH] fix(footer): render sticky Close+Help footer on the home page too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sticky footer was only wired into the 9 tool pages — the home page (``_home.py``) called ``hide_streamlit_chrome`` but never ``render_sticky_footer``, so the app-level Close+Help bar was missing whenever the user was on the home page. Add the call. Also drop the home page's now-redundant trailing ``st.divider() + st.caption(t("chrome.footer"))`` block — same "blank white bar above the sticky footer" symptom that motivated removing the per-page version from the tool pages. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/gui/_home.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gui/_home.py b/src/gui/_home.py index d851bc3..325caf4 100644 --- a/src/gui/_home.py +++ b/src/gui/_home.py @@ -53,7 +53,11 @@ def _home_page() -> None: wipes the analysis cache, not the upload stash — the files persist until the user explicitly removes them. """ - from src.gui.components import hide_streamlit_chrome, render_findings_panel + from src.gui.components import ( + hide_streamlit_chrome, + render_findings_panel, + render_sticky_footer, + ) from src.gui.components._legacy import _run_analysis_on_upload from src.i18n import t @@ -63,6 +67,7 @@ def _home_page() -> None: layout="wide", ) hide_streamlit_chrome() + render_sticky_footer() st.title(t("home.title")) st.caption(t("home.caption")) @@ -255,6 +260,3 @@ def _home_page() -> None: header=f"📄 {name}", key_namespace=name, ) - - st.divider() - st.caption(t("chrome.footer"))