From 74d0ee270f2908b291964b146d2ac680eb8dbd79 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 19 May 2026 01:17:43 +0000 Subject: [PATCH] chore(home): remove "Export report" button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The disabled "Export report" placeholder is gone — it wasn't tied to a real feature and was just noise in the action bar. Action bar is back to two buttons (Run analysis · Clear results) on a 1:1:4 column split. ``upload.export_report`` keys removed from en + es i18n packs. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/gui/_home.py | 13 ++----------- src/i18n/packs/en.json | 1 - src/i18n/packs/es.json | 1 - 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/gui/_home.py b/src/gui/_home.py index 0cca6b2..a30af7a 100644 --- a/src/gui/_home.py +++ b/src/gui/_home.py @@ -414,9 +414,8 @@ def _home_page() -> None: pending = [name for name in home_uploads if name not in findings_by_file] - # Action bar — Run / Export report (disabled, coming soon) / - # Clear results, matching the mockup §action-bar. - col_run, col_export, col_clear, _ = st.columns([1, 1, 1, 3]) + # Action bar — Run analysis / Clear results. + col_run, col_clear, _ = st.columns([1, 1, 4]) with col_run: run_clicked = st.button( t("upload.run_button"), @@ -425,14 +424,6 @@ def _home_page() -> None: disabled=not pending, width="stretch", ) - with col_export: - st.button( - t("upload.export_report"), - key="home_export_report", - disabled=True, - help="Coming soon", - width="stretch", - ) with col_clear: clear_clicked = st.button( t("upload.clear_results"), diff --git a/src/i18n/packs/en.json b/src/i18n/packs/en.json index 518c882..3ce1a31 100644 --- a/src/i18n/packs/en.json +++ b/src/i18n/packs/en.json @@ -32,7 +32,6 @@ "intro_multi": "Drop files below. Each one is analyzed locally — nothing leaves this computer.", "uploader_label_multi": "Import CSV, TSV, or Excel files", "clear_results": "Clear results", - "export_report": "Export report", "empty_state": "Import one or more files to begin. Your data never leaves this computer." }, "findings": { diff --git a/src/i18n/packs/es.json b/src/i18n/packs/es.json index 1272517..b1205c9 100644 --- a/src/i18n/packs/es.json +++ b/src/i18n/packs/es.json @@ -32,7 +32,6 @@ "intro_multi": "Suelta archivos abajo. Cada uno se analiza localmente — nada sale de este equipo.", "uploader_label_multi": "Importa archivos CSV, TSV o Excel", "clear_results": "Borrar resultados", - "export_report": "Exportar informe", "empty_state": "Importa uno o más archivos para empezar. Tus datos nunca salen de este equipo." }, "findings": {