chore: converted import editor to LiveComponent

This commit is contained in:
2026-05-03 17:57:43 +02:00
parent fa76cdf11d
commit 0f193929da
6 changed files with 806 additions and 375 deletions

View File

@@ -70,11 +70,9 @@ defmodule BDS.Desktop.ImportShellLiveTest do
refute html =~ "Desktop workbench content routed through the Elixir shell."
_html =
render_change(view, "change_import_conflict_resolution", %{
"item_type" => "post",
"item_name" => "conflict-me",
"resolution" => "overwrite"
})
view
|> element("form:has(input[value='conflict-me'])")
|> render_change(%{"resolution" => "overwrite"})
updated_definition = ImportDefinitions.get_definition(definition.id)
updated_report = ImportDefinitions.decode_analysis_result(updated_definition)