Changeset 92a2c46 in Klonkt for src/views/pages/admin-stats.ejs


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/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.