Changeset 9e5438e in Klonkt for src/views/pages


Ignore:
Timestamp:
06/26/2026 01:50:51 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
5e3be97
Parents:
8334d27
Message:

feat(fedi): unify Timeline/Following/Replies/Notifications/Blocking under one tabbed Fediverse section

Shared responsive fedi-tabs bar (5 tabs + back-to-site) on all fediverse pages, with
htmx nav so switching tabs swaps #pcms-main (feels like one page; URL stays bookmarkable
per tab; tab bar scrolls horizontally on narrow screens). Added a 'Fediverse' entry to
the user dropdown + mobile sheet (-> /tijdlijn), removed the separate Timeline nav icon
(kept the notification bell). Replaced the old 2-tab tl-tabs (removed). i18n nav.fediverse
+ tl.tab_replies (nl/en/de).

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

Location:
src/views/pages
Files:
5 edited

Legend:

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

    r8334d27 r9e5438e  
    11<div class="auth-interact">
    22  <% if (typeof manage !== 'undefined' && manage) { %>
     3    <%- include('../partials/fedi-tabs', { active: 'reacties' }) %>
    34    <h1 class="auth-interact-title"><%= t('fedi.manage_title') %></h1>
    45    <% if (!manage.length) { %>
  • src/views/pages/blocks.ejs

    r8334d27 r9e5438e  
    11<div class="bl-wrap">
     2  <%- include('../partials/fedi-tabs', { active: 'blokkeren' }) %>
    23  <h1 class="bl-title"><%= t('blk.title') %></h1>
    34  <p class="bl-lead"><%= t('blk.lead') %></p>
  • src/views/pages/fedi-notifications.ejs

    r8334d27 r9e5438e  
    11<div class="nt-wrap">
    2   <p class="fedi-back"><a class="btn btn-primary" href="/"><%= t('nav.back_to_site') %></a></p>
     2  <%- include('../partials/fedi-tabs', { active: 'meldingen' }) %>
    33  <h1 class="nt-title"><%= t('notif.title') %></h1>
    44  <% if (!items || !items.length) { %>
  • src/views/pages/timeline.ejs

    r8334d27 r9e5438e  
    11<div class="tl-wrap">
    2   <p class="fedi-back"><a class="btn btn-primary" href="/"><%= t('nav.back_to_site') %></a></p>
     2  <%- include('../partials/fedi-tabs', { active: 'feed' }) %>
    33  <h1 class="tl-title"><%= t('tl.title') %></h1>
    44  <p class="tl-lead"><%= t('tl.lead') %></p>
    5   <%- include('../partials/tl-tabs', { active: 'feed' }) %>
    65  <% if (typeof success !== 'undefined' && success) { %><div class="alert alert-success"><%= success %></div><% } %>
    76  <% if (typeof error !== 'undefined' && error) { %><div class="alert alert-error"><%= error %></div><% } %>
  • src/views/pages/volgend.ejs

    r8334d27 r9e5438e  
    11<div class="tl-wrap">
     2  <%- include('../partials/fedi-tabs', { active: 'following' }) %>
    23  <h1 class="tl-title"><%= t('tl.title') %></h1>
    34  <p class="tl-lead"><%= t('tl.lead') %></p>
    4   <%- include('../partials/tl-tabs', { active: 'following' }) %>
    55  <% if (typeof success !== 'undefined' && success) { %><div class="alert alert-success"><%= success %></div><% } %>
    66  <% if (typeof error !== 'undefined' && error) { %><div class="alert alert-error"><%= error %></div><% } %>
Note: See TracChangeset for help on using the changeset viewer.