thread view and compose fixes

This commit is contained in:
Paul Lützner committed 2026-07-26 17:53:59 +02:00
1 parent 9b9846633f
commit a1da945283
1 file changed
+17
@@ -0,0 +1,17 @@
{#
compose/_discard.stream.html.twig
─────────────────────────────────────────────────────────────────────────────
The draft is gone: drop its row from the conversation and empty the window's
frame. For an in-place draft the frame lives inside the row, so the remove
already takes it with it.
Variables: messageId, frame, inline
#}
{% if inline %}
<turbo-stream action="remove" target="thread_message_{{ messageId }}">
</turbo-stream>
{% endif %}
<turbo-stream action="update" target="{{ frame }}">
<template></template>
</turbo-stream>