Changeset 2902320 in Klonkt for src/views/pages


Ignore:
Timestamp:
06/25/2026 10:14:26 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
e91849c
Parents:
33c1999
Message:

ux(fedi): make clear a remote reply lands on the source post, not this page

A layperson read the reply-via-fediverse page as a comment box and didn't see
their reply appear. Added an accent note in the composer ('your reply shows up
on the original post, not here'), reworded the Sent confirmation to say the same,
and made the 'view on the source' button the primary action. nl/en/de.

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

File:
1 edited

Legend:

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

    r33c1999 r2902320  
    3838    <p class="auth-interact-note"><%= t('fedi.remote_sent') %></p>
    3939    <p class="auth-interact-actions">
    40       <% if (uri) { %><a class="btn" href="<%= uri %>" rel="nofollow noopener"><%= t('fedi.remote_view_original') %></a><% } %>
    41       <a class="btn btn-primary" href="/"><%= t('fedi.remote_back') %></a>
     40      <% if (uri) { %><a class="btn btn-primary" href="<%= uri %>" rel="nofollow noopener"><%= t('fedi.remote_view_original') %></a><% } %>
     41      <a class="btn" href="/"><%= t('fedi.remote_back') %></a>
    4242    </p>
    4343  <% } else if (typeof followTarget !== 'undefined' && followTarget) { %>
     
    8686    </form>
    8787    <p class="auth-interact-or"><%= t('fedi.or_reply') %></p>
     88    <p class="auth-interact-where">💬 <%= t('fedi.reply_where') %></p>
    8889    <form method="post" action="/authorize_interaction" class="auth-interact-form">
    8990      <input type="hidden" name="uri" value="<%= uri %>">
     
    116117  .auth-interact-actions { display: flex; gap: .5rem; align-items: center; }
    117118  .auth-interact-note { color: var(--ink-soft, #999); font-size: .85rem; margin-top: 1rem; }
     119  .auth-interact-where { margin: .25rem 0 .85rem; padding: .6rem .8rem; font-size: .85rem; line-height: 1.5; border-radius: 10px; background: color-mix(in srgb, var(--accent, #888) 12%, transparent); color: var(--ink, inherit); }
    118120  .auth-interact-content { line-height: 1.55; }
    119121  .auth-interact-content p { margin: .35rem 0; }
Note: See TracChangeset for help on using the changeset viewer.