feat: more work on UI cleanup

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
hugoandCopilot committed 2026-04-24 17:19:49 +02:00
1 parent eb609e1934
commit e51566d707
7 files changed
+141 -21

No files matched your search

+7
View File
@@ -249,6 +249,13 @@ defmodule BDS.Desktop.ShellCommands do
nil -> {:error, %{message: "No active project selected"}}
project -> {:ok, project}
end
rescue
error in [Exqlite.Error] ->
if String.contains?(Exception.message(error), "no such table: projects") do
{:error, %{message: "Project database is not initialized"}}
else
reraise error, __STACKTRACE__
end
end
defp preview_url(server) do