Files
fizzy/app/views/cards/steps/update.turbo_stream.erb
T
Mike Dalessio 9c76002bc1 Completing a step removes stalled status from UI
Add `updatedAt` to stalled bubble options so JS can check if the card
was recently updated, matching the `Card::Stallable#stalled?`
logic. Refresh the bubble via Turbo Stream when a step is updated.

This should have been part of #1625

Fixes https://app.fizzy.do/5986089/cards/3668
2026-01-16 09:58:21 -05:00

8 lines
221 B
Plaintext

<%= turbo_stream.replace @step do %>
<%= render "cards/steps/step", step: @step %>
<% end %>
<%= turbo_stream.replace dom_id(@card, "bubble") do %>
<%= render "cards/display/preview/bubble", card: @card %>
<% end %>