@@ -574,19 +579,45 @@ defmodule ClaperWeb.EventLive.ManageInteractionListComponent do
end
defp popup_item(assigns) do
+ assigns =
+ assigns
+ |> assign_new(:disabled, fn -> false end)
+ |> assign_new(:badge, fn -> nil end)
+
~H"""
- <.link
- patch={@patch}
- class="flex items-center gap-3 p-2 rounded-xl transition-colors hover:bg-primary-50"
- >
-
- {render_slot(@inner_block)}
+ <%= if @disabled do %>
+
+
+ {render_slot(@inner_block)}
+
+
-
-
{@title}
-
{@description}
-
-
+ <% else %>
+ <.link
+ patch={@patch}
+ class="flex items-center gap-3 p-2 rounded-xl transition-colors hover:bg-primary-50"
+ >
+
+ {render_slot(@inner_block)}
+
+
+
+ <% end %>
"""
end
end
diff --git a/lib/claper_web/live/event_live/show.html.heex b/lib/claper_web/live/event_live/show.html.heex
index 26549dc..12f115f 100644
--- a/lib/claper_web/live/event_live/show.html.heex
+++ b/lib/claper_web/live/event_live/show.html.heex
@@ -256,7 +256,19 @@
if @state.message_reaction_enabled, do: "bottom-12", else: "bottom-3"}>
+
if @state.message_reaction_enabled, do: "bottom-12", else: "bottom-3"}>
+
+
+
{@transcription_text}
+
+
+
<%= if @state.chat_enabled do %>
<%= if !@state.anonymous_chat_enabled && (@nickname && @nickname == "") do %>
<.form
@@ -414,18 +426,6 @@
-
-
diff --git a/lib/claper_web/live/transcription_live/form_component.html.heex b/lib/claper_web/live/transcription_live/form_component.html.heex
index 3f5d501..db7135c 100644
--- a/lib/claper_web/live/transcription_live/form_component.html.heex
+++ b/lib/claper_web/live/transcription_live/form_component.html.heex
@@ -52,7 +52,7 @@