tech(clean): drop drag and drop champs in editor, ux not ok

This commit is contained in:
Martin 2024-01-12 10:04:18 +01:00
parent 69346ad41f
commit 68e9d3513d
11 changed files with 1 additions and 106 deletions

View file

@ -43,8 +43,6 @@
= turbo_stream.replace dom_id(@coordinate.revision, :estimated_fill_duration) do
- render TypesDeChampEditor::EstimatedFillDurationComponent.new(revision: @coordinate.revision, is_annotation: @coordinate.private?)
= turbo_stream.dispatch 'sortable:sort'
- if @created&.coordinate&.child?
= turbo_stream.hide dom_id(@created.coordinate.parent, :type_de_champ_add_button)
- elsif @destroyed&.child? && @destroyed.parent.empty?