Changeset 41a7637 in Klonkt for src/views


Ignore:
Timestamp:
06/24/2026 01:04:50 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
cc24fa1
Parents:
7f46112b
Message:

fix(activitypub): instant Send + confirmation on remote reply

Send now resolves+delivers in the background and immediately shows a 'Sent ✅'
confirmation, instead of awaiting delivery and redirecting to a raw AP-JSON URL
(which felt like nothing happened).

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/authorize-interaction.ejs

    r7f46112b r41a7637  
    11<div class="auth-interact">
     2  <% if (typeof sent !== 'undefined' && sent) { %>
     3    <h1 class="auth-interact-title"><%= t('fedi.remote_sent_title') %></h1>
     4    <p class="auth-interact-note"><%= t('fedi.remote_sent') %></p>
     5    <p class="auth-interact-actions">
     6      <% if (uri) { %><a class="btn" href="<%= uri %>" target="_blank" rel="nofollow noopener"><%= t('fedi.remote_view_original') %></a><% } %>
     7      <a class="btn btn-primary" href="/"><%= t('fedi.remote_back') %></a>
     8    </p>
     9  <% } else { %>
    210  <h1 class="auth-interact-title"><%= t('fedi.remote_title') %></h1>
    311
     
    3442    <p class="auth-interact-note"><%= t('fedi.remote_as', { site: siteTitle }) %></p>
    3543  <% } %>
     44  <% } %>
    3645</div>
    3746
Note: See TracChangeset for help on using the changeset viewer.