Changeset 92a2c46 in Klonkt


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@…>

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.de.md

    r67c1f24 r92a2c46  
    2121
    2222### Behoben
     23- **Der Titel der Interaktionsseite folgt deiner Sprache.** "Interacteer via de
     24  fediverse" stand fest auf Niederländisch im Browser-Tab, auch auf einer
     25  englischsprachigen Seite.
     26- **Das Apple-Music-Icon sieht wieder wie das Apple-Logo aus.** Das alte Icon
     27  war eine entstellte Form.
     28- **Statistik-Spalten springen in der 30- und 90-Tage-Ansicht nicht mehr.**
     29  Spalten ohne Datumslabel klappten leicht ein; jede Spalte behält jetzt ihre
     30  Labelzeile.
    2331- **Private Antworten erscheinen nicht mehr auf der öffentlichen Beitragsseite.**
    2432  Eine Nur-Follower- oder Direkt-(DM-)Antwort auf deinen Beitrag wurde für alle
  • CHANGELOG.md

    r67c1f24 r92a2c46  
    2020
    2121### Fixed
     22- **The interact page title follows your language.** "Interacteer via de
     23  fediverse" was hardcoded Dutch in the browser tab, even on an English site.
     24- **The Apple Music icon looks like the Apple logo again.** The old icon was a
     25  garbled shape.
     26- **Statistics columns no longer jump around in the 30 and 90 day views.**
     27  Columns without a date label collapsed slightly; every column now keeps its
     28  label line.
    2229- **Private replies no longer show on the public post page.** A followers-only
    2330  or direct (DM) reply to your post was rendered in the public thread for
  • CHANGELOG.nl.md

    r67c1f24 r92a2c46  
    2020
    2121### Opgelost
     22- **De titel van de interactiepagina volgt je taal.** "Interacteer via de
     23  fediverse" stond hardcoded in het Nederlands in het browsertabblad, ook op een
     24  Engelstalige site.
     25- **Het Apple Music-icoon lijkt weer op het Apple-logo.** Het oude icoon was een
     26  verminkte vorm.
     27- **Statistiekkolommen verspringen niet meer in de 30- en 90-dagenweergave.**
     28  Kolommen zonder datumlabel klapten iets in; elke kolom houdt nu zijn
     29  labelregel.
    2230- **Privéreacties staan niet meer op de publieke postpagina.** Een followers-only
    2331  of directe (DM-)reactie op je post werd voor iedereen in de publieke thread
  • 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  });
  • src/services/PlatformIcons.js

    r67c1f24 r92a2c46  
    3535    brand: '#FC3C44',
    3636    host: 'music.apple.com',
    37     svg: '<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M23.997 6.124c0-.738-.065-1.47-.24-2.19-.317-1.31-1.062-2.31-2.18-3.043C21.003.517 20.373.285 19.7.164c-.517-.093-1.038-.135-1.564-.15-.04-.003-.083-.01-.124-.013H5.988c-.152.01-.303.017-.455.026C4.786.07 4.043.15 3.34.428 2.004.958 1.04 1.88.475 3.208c-.192.448-.292.925-.363 1.408-.056.392-.088.785-.1 1.18 0 .032-.007.062-.01.093v12.223c.01.14.017.283.027.424.05.815.154 1.624.497 2.373.65 1.42 1.738 2.353 3.234 2.802.42.127.856.187 1.293.228.555.053 1.11.06 1.667.06h11.03c.525 0 1.048-.034 1.57-.1.823-.106 1.597-.35 2.296-.81 1.36-.89 2.193-2.13 2.515-3.728.057-.32.084-.65.104-.978.046-.78.06-1.54.06-2.323-.013-.05-.013-.1-.013-.146 0-.13 0-.26.013-.39 0-.026 0-.04-.013-.067V7.197c0-.35-.023-.7-.05-1.05M17.875 14.7c-.166.48-.37.94-.624 1.38-.504.866-1.197 1.57-2.078 2.057-.36.198-.738.358-1.13.477-.96.292-1.962.353-2.96.158-.978-.193-1.876-.602-2.69-1.184-.83-.595-1.526-1.327-2.09-2.176-.512-.77-.91-1.604-1.196-2.49-.286-.886-.46-1.81-.504-2.74-.044-.94.043-1.87.27-2.78.226-.91.59-1.78 1.085-2.6.494-.82 1.114-1.55 1.85-2.18.736-.628 1.586-1.13 2.522-1.5.936-.37 1.94-.555 2.967-.55.7.003 1.4.094 2.08.27.68.176 1.34.44 1.952.78.04.022.08.043.122.064-.005.046-.012.09-.018.135-.063.514-.158 1.02-.29 1.516-.06.226-.13.45-.21.668-.11.28-.236.555-.376.82-.1.19-.21.376-.327.557-.16.247-.336.482-.524.706-.187.224-.39.435-.598.638-.115.111-.234.218-.355.323-.04.034-.08.066-.118.1-.205.176-.42.337-.642.488-.27.183-.554.346-.852.488l-.044.022c-.003-.005-.005-.01-.008-.013-.002-.005-.005-.01-.008-.014v-.013z"/></svg>',
     37    // The classic Apple mark (bitten apple + leaf). The previous path was a garbled
     38    // app-tile outline that didn't read as the Apple logo at icon size.
     39    svg: '<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.03 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.56-1.702"/></svg>',
    3840  },
    3941  youtube: {
  • src/views/pages/admin-stats.ejs

    r67c1f24 r92a2c46  
    6464            <span class="sc-vis" style="height: <%= visPct %>%"></span>
    6565          </div>
    66           <span class="sc-day"><%= (i % _step === 0) ? d.day.slice(8) : '' %></span>
     66          <%# Unlabeled columns get an NBSP so every .sc-day keeps its text line: an empty
     67              span collapses to 0 height and made the 30/90-day columns jump around. %>
     68          <span class="sc-day"><%= (i % _step === 0) ? d.day.slice(8) : ' ' %></span>
    6769        </div>
    6870      <% }); %>
Note: See TracChangeset for help on using the changeset viewer.