mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-26 23:46:49 +09:00
Reuse epoch-verified record snapshots and avoid empty push payloads
This commit is contained in:
1 parent
74381e8b58
commit
bbee420097
9 files changed
+159
-21
No files matched your search
@@ -11,8 +11,9 @@
|
||||
|
||||
<div class="message__actions-menu border shadow" data-popup-target="menu">
|
||||
<div class="quick-boosts">
|
||||
<% boost_path = message_boosts_path(message) %>
|
||||
<% EmojiHelper::REACTIONS.each do |character, title| %>
|
||||
<%= form_with model: [ message, Boost.new ], data: { turbo_frame: dom_id(message, :boosting), action: "popup#close"} do |form| %>
|
||||
<%= form_with url: boost_path, data: { turbo_frame: dom_id(message, :boosting), action: "popup#close"} do |form| %>
|
||||
<%= hidden_field_tag "boost[content]", character %>
|
||||
<%= form.button type: "submit", title: title, class: "btn message__action-btn", data: { emoji: character } do %>
|
||||
<figure class="margin-none boost-character"><%= character %></figure>
|
||||
|
||||
Reference in new issue
Block a user