chore(home): remove "Export report" button
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) <noreply@anthropic.com>
This commit is contained in:
@@ -414,9 +414,8 @@ def _home_page() -> None:
|
|||||||
|
|
||||||
pending = [name for name in home_uploads if name not in findings_by_file]
|
pending = [name for name in home_uploads if name not in findings_by_file]
|
||||||
|
|
||||||
# Action bar — Run / Export report (disabled, coming soon) /
|
# Action bar — Run analysis / Clear results.
|
||||||
# Clear results, matching the mockup §action-bar.
|
col_run, col_clear, _ = st.columns([1, 1, 4])
|
||||||
col_run, col_export, col_clear, _ = st.columns([1, 1, 1, 3])
|
|
||||||
with col_run:
|
with col_run:
|
||||||
run_clicked = st.button(
|
run_clicked = st.button(
|
||||||
t("upload.run_button"),
|
t("upload.run_button"),
|
||||||
@@ -425,14 +424,6 @@ def _home_page() -> None:
|
|||||||
disabled=not pending,
|
disabled=not pending,
|
||||||
width="stretch",
|
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:
|
with col_clear:
|
||||||
clear_clicked = st.button(
|
clear_clicked = st.button(
|
||||||
t("upload.clear_results"),
|
t("upload.clear_results"),
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
"intro_multi": "Drop files below. Each one is analyzed locally — nothing leaves this computer.",
|
"intro_multi": "Drop files below. Each one is analyzed locally — nothing leaves this computer.",
|
||||||
"uploader_label_multi": "Import CSV, TSV, or Excel files",
|
"uploader_label_multi": "Import CSV, TSV, or Excel files",
|
||||||
"clear_results": "Clear results",
|
"clear_results": "Clear results",
|
||||||
"export_report": "Export report",
|
|
||||||
"empty_state": "Import one or more files to begin. Your data never leaves this computer."
|
"empty_state": "Import one or more files to begin. Your data never leaves this computer."
|
||||||
},
|
},
|
||||||
"findings": {
|
"findings": {
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
"intro_multi": "Suelta archivos abajo. Cada uno se analiza localmente — nada sale de este equipo.",
|
"intro_multi": "Suelta archivos abajo. Cada uno se analiza localmente — nada sale de este equipo.",
|
||||||
"uploader_label_multi": "Importa archivos CSV, TSV o Excel",
|
"uploader_label_multi": "Importa archivos CSV, TSV o Excel",
|
||||||
"clear_results": "Borrar resultados",
|
"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."
|
"empty_state": "Importa uno o más archivos para empezar. Tus datos nunca salen de este equipo."
|
||||||
},
|
},
|
||||||
"findings": {
|
"findings": {
|
||||||
|
|||||||
Reference in New Issue
Block a user