Changeset 151a72c in Klonkt for src/services


Ignore:
Timestamp:
06/16/2026 06:46:10 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
eef691e
Parents:
4fee228
Message:

Circle UI: reason on its own line + clean word wrapping; message without duplicate URL

The outdated reason was pressed against the badge in a <small> with
word-break:break-all (intended for the URL) → broke in the middle of words.
Now a separate .circ-reason line with normal wrapping, and the proto message
no longer repeats the URL (the card already shows it).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/CircleService.js

    r4fee228 r151a72c  
    104104  if (remoteProto > KLONKT_PROTO) {
    105105    return markOutdated(link,
    106       `Jouw Klonkt (proto ${KLONKT_PROTO}) is ouder dan ${base} (proto ${remoteProto}). Werk je eigen instance bij om te blijven federeren.`);
     106      `Deze site draait een nieuwere Klonkt (proto ${remoteProto}); jouw instance is proto ${KLONKT_PROTO}. Werk je eigen Klonkt bij om te blijven federeren.`);
    107107  }
    108108  if (remoteProto < MIN_PROTO) {
    109109    return markOutdated(link,
    110       `${base} draait een oudere Klonkt (proto ${remoteProto}; minimaal ${MIN_PROTO} vereist). Vraag ze te updaten.`);
     110      `Draait een oudere Klonkt (proto ${remoteProto}; minimaal ${MIN_PROTO} vereist). Vraag ze te updaten.`);
    111111  }
    112112
Note: See TracChangeset for help on using the changeset viewer.