Skip to content

Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.

713 B
Raw Blame
<%# A style pill was clicked — re-render the pill row so the highlight moves to
    the newly picked step. Nothing else happens: setting a style triggers no
    answer (that is the separate regenerate action on the answer itself). %>
<%# replace_all over a class, not replace over an id: the pill row is rendered
    once per chat surface, and since the companion panel that can be two at a
    time. The preference is per user and per org, so both have to move. %>
<%= turbo_stream.replace_all ".#{Neo::Chat::StyleControlComponent::DOM_CLASS}" do %>
  <%= render Neo::Chat::StyleControlComponent.new(
        current_user: current_user,
        current_organisation: @current_organisation
      ) %>
<% end %>