Changeset 92a2c46 in Klonkt for src/routes/posts.js


Ignore:
Timestamp:
07/17/2026 01:11:58 AM (8 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
7d19465
Parents:
67c1f24
git-author:
Robin <roboburr@…> (07/17/2026 01:11:44 AM)
git-committer:
Robin <roboburr@…> (07/17/2026 01:11:58 AM)
Message:

Fix: three UI nits (interact page title i18n, Apple icon, stats columns)

  1. authorize_interaction page title was hardcoded Dutch ('Interacteer via de fediverse'); both renders now use pageTitleKey (fedi.remote_interact / fedi.manage_title) so the tab title follows the interface language. Verified: an English UI now titles 'Interact via the fediverse'.
  2. The Apple Music platform icon was a garbled path that did not read as the Apple logo; replaced with the classic Apple mark. Verified visually at 96px.
  3. Stats chart columns jumped in the 30/90-day views: unlabeled .sc-day spans collapsed to 0 height. Unlabeled columns now hold an NBSP (Bart's suggestion) so every column keeps its label line. Verified: 30-day view has one unique bar baseline and uniform label heights; 90-day has 0 empty spans.

Reported by Bart.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/routes/posts.js

    r67c1f24 r92a2c46  
    619619  }
    620620  renderPage(req, res, 'pages/authorize-interaction', {
    621     pageTitle: 'Interacteer via de fediverse',
     621    pageTitleKey: 'fedi.remote_interact', // i18n: was hardcoded Dutch on non-NL sites
    622622    bodyClass: 'on-special',
    623623    uri,
     
    726726  const items = site ? ActivityPubService.listOutbox(site.slug) : [];
    727727  renderPage(req, res, 'pages/authorize-interaction', {
    728     pageTitle: 'Mijn fediverse-reacties', bodyClass: 'on-special',
     728    pageTitleKey: 'fedi.manage_title', bodyClass: 'on-special', // i18n: was hardcoded Dutch
    729729    manage: items, uri: '', target: null, sent: false, siteTitle: site ? site.title : '',
    730730  });
Note: See TracChangeset for help on using the changeset viewer.