• " style="--bubble-color: <%= bubble.color %>; <%= bubble_rotation(bubble) %>" data-controller="animation" data-animation-play-class="bubble--wobble" data-animation-play-on-load-value="true" data-action="mouseover->animation#play"> <%= link_to bucket_bubble_path(bubble.bucket, bubble), class: "flex-item-no-shrink", aria: { hidden: true }, tabindex: -1 do %>
    <% end %>
    <%= link_to bucket_bubble_path(bubble.bucket, bubble), class: "bubble__title-link flex-item-grow max-width overflow-ellipsis" do %> <%= bubble.title %> <% end %> <% if bubble.messages.comments.many? %>
    <%= pluralize(bubble.messages.comments.count, "comment") %>
    <% end %> <% bubble.assignees.each do |assignee| %> <%= link_to bubbles_path(@filter.as_params.merge(assignee_ids: [ assignee.id ])), class: "btn avatar", style: "font-size: 0.4em;", aria: { label: assignee.name } do %> <%= avatar_image_tag assignee, loading: :lazy, aria: { hidden: true } %> <% end %> <% end %>
    <%= "Added to #{bubble.bucket.name} by #{bubble.creator.name}" %> <%= days = (Date.current - bubble.created_at.to_date).to_i case days when 0 then "today" when 1 then "yesterday" else "#{days} days ago".html_safe end %> <% if bubble.tags.any? %>
    # <% bubble.tags.each_with_index do |tag, index| %> <%= link_to bubbles_path(bucket_ids: [ bubble.bucket ], tag_ids: [ tag.id ]), class: "bubble__tag btn btn--plain fill-transparent min-width", style: "font-weight: 700;", data: { turbo_frame: "_top" } do %> <%= tag.title %> <% end %><%= ", " unless index == bubble.tags.size - 1 %> <% end %>
    <% end %> <% if bubble.stage %>
    <% workflow = Current.account.workflows.first %>
    <% workflow.stages.each do |stage| %> <%= button_to_set_stage bubble, stage %> <% end %>
    <% end %>