fix: more work on liveview

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-25 23:21:25 +02:00
parent 2f34040aed
commit 9fd8cb9e1d
7 changed files with 571 additions and 339 deletions

View File

@@ -87,13 +87,13 @@ defmodule BDS.Desktop.ShellData do
]
end
def status_bar(workbench, task_status, dashboard) do
def status_bar(workbench, task_status, dashboard, opts \\ []) do
Workbench.status_bar(workbench,
post_count: dashboard.post_stats.total_posts,
media_count: dashboard.media_stats.media_count,
theme_badge: "desktop-shell",
ui_language: ui_language(),
offline_mode: true,
ui_language: Keyword.get(opts, :ui_language, ui_language()),
offline_mode: Keyword.get(opts, :offline_mode, true),
running_task_message: task_status.running_task_message,
running_task_overflow: task_status.running_task_overflow,
active_post_status: nil