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

File diff suppressed because it is too large Load Diff

View File

@@ -418,8 +418,8 @@
<% @current_tab.type == :chat -> %>
<.live_component module={ChatEditor} id={"chat-editor-#{@current_tab.id}"} current_tab={@current_tab} offline_mode={@offline_mode} project_id={@projects.active_project_id} />
<% @current_tab.type == :import and @import_editor -> %>
<ImportEditor.import_editor import_editor={@import_editor} />
<% @current_tab.type == :import -> %>
<.live_component module={ImportEditor} id={"import-editor-#{@current_tab.id}"} current_tab={@current_tab} offline_mode={@offline_mode} project_id={@projects.active_project_id} />
<% @current_tab.type in [:site_validation, :metadata_diff, :translation_validation, :find_duplicates, :git_diff] and @misc_editor -> %>
<MiscEditor.misc_editor misc_editor={@misc_editor} />