- Timestamp:
- 07/19/2026 10:48:15 PM (7 weeks ago)
- Branches:
- main
- Children:
- ff3b8ce
- Parents:
- 5190152
- git-author:
- Robin <roboburr@…> (07/19/2026 10:47:10 PM)
- git-committer:
- Robin <roboburr@…> (07/19/2026 10:48:15 PM)
- Location:
- src/views
- Files:
-
- 3 edited
-
pages/authorize-interaction.ejs (modified) (1 diff)
-
partials/fedi-node.ejs (modified) (1 diff)
-
partials/reply-editor.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/authorize-interaction.ejs
r5190152 re9c9ae1 204 204 submitLabel: t('fedi.send'), 205 205 rows: 4, 206 participants: (target && target.actor_uri) ? [{ 207 uri: target.actor_uri, 208 url: target.actor_url || target.actor_uri, 209 handle: target.actor_handle || '', 210 }] : [], 206 211 }) %> 207 212 <div class="auth-interact-actions"><a href="<%= uri %>" class="btn"><%= t('comments.cancel') %></a></div> -
src/views/partials/fedi-node.ejs
r5190152 re9c9ae1 54 54 submitLabel: t('fedi.send'), 55 55 rows: 2, 56 participants: n.participants || [], 56 57 }) %> 57 58 </details> -
src/views/partials/reply-editor.ejs
r5190152 re9c9ae1 19 19 initialText plain-text prefill for the no-JS textarea (optional) 20 20 noAttach true hides the media button (edits do not touch attachments) 21 participants [{uri, url, handle}] conversation partners → the mentions bar 22 (u02): implicit mentions live here as removable chips, not in 23 the text. Absent = no bar, legacy addressing. 21 24 %> 22 25 <% var _reInitHtml = (typeof initialHtml !== 'undefined' && initialHtml) || ''; %> 23 26 <% var _reInitText = (typeof initialText !== 'undefined' && initialText) || ''; %> 24 27 <% var _reNoAttach = (typeof noAttach !== 'undefined' && noAttach); %> 28 <% var _reParts = (typeof participants !== 'undefined' && participants && participants.length) ? participants : null; %> 25 29 <% var _reLang = (typeof defaultLang !== 'undefined' && defaultLang) || (typeof lang !== 'undefined' ? lang : 'en'); %> 26 30 <form method="post" action="<%= action %>" class="re-form" data-re … … 30 34 <% }); %> 31 35 <input type="hidden" name="content" value=""> 36 <%# Mentions bar (u02): the conversation partners as removable chips. The 37 hidden field always carries the CURRENT kept list (server-rendered full, 38 so the no-JS path addresses everyone). %> 39 <% if (_reParts) { %> 40 <input type="hidden" name="mentions" value="<%= JSON.stringify(_reParts) %>"> 41 <div class="re-mentions"> 42 <span class="re-mentions-label"><%= t('re.to') %></span> 43 <% _reParts.forEach(function (p) { %> 44 <span class="re-mention" data-uri="<%= p.uri %>"><%= p.handle && p.handle[0] === '@' ? p.handle : '@' + p.handle %><button type="button" class="re-mention-del" title="<%= t('re.mention_del') %>" aria-label="<%= t('re.mention_del') %>">×</button></span> 45 <% }); %> 46 </div> 47 <% } %> 32 48 <%# Full-screen top bar (mobile compose). Hidden until JS + fullscreen. %> 33 49 <div class="re-head" hidden>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)