feat(CORE-001D3B): surface alert history degraded state
This commit is contained in:
@@ -352,7 +352,10 @@ def settings_page(workspace_id: str) -> None:
|
||||
alert_message.set_text(alert_status.message)
|
||||
status.set_text(_save_card_status_text(last_saved_config, preview_config=preview_config))
|
||||
alert_history_column.clear()
|
||||
if alert_status.history:
|
||||
if alert_status.history_notice:
|
||||
with alert_history_column:
|
||||
ui.label(alert_status.history_notice).classes("text-sm text-amber-700 dark:text-amber-300")
|
||||
elif alert_status.history:
|
||||
for event in alert_status.history[:5]:
|
||||
with alert_history_column:
|
||||
with ui.row().classes(
|
||||
|
||||
Reference in New Issue
Block a user