Add About dialog with a permanent memorial for Akimo

Help → About now opens a small dialog instead of linking out. It
carries a dedication to Akimo, the project owner's dog, who crossed
the rainbow bridge on 2026-10-21. This part stays in for good.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-10-21 12:40:01 +00:00
1 parent 5a639628a9
commit b5a5ec5236
8 files changed
+99 -11

No files matched your search

+27
View File
@@ -2675,6 +2675,33 @@
width: 520px;
}
.ts-about-dialog {
width: 440px;
}
.ts-about-memorial {
display: flex;
align-items: center;
gap: 16px;
margin: 16px 0 0;
padding-top: 16px;
border-top: 1px solid var(--border-soft);
}
.ts-about-memorial img {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.ts-about-memorial figcaption {
display: flex;
flex-direction: column;
gap: 4px;
}
.ts-client-log-dialog {
width: 760px;
}
+47 -6
View File
@@ -148,6 +148,7 @@ import {
} from "./themes/greenteaspeak";
import { BARE_URL_REGEX, renderBbcode, wrapUrls } from "./lib/bbcode";
import { parseChannelName, spacerDisplayName } from "./lib/spacer";
import akimoPhoto from "./assets/akimo.jpg";
import {
applyParkedGatewayEvent,
emptyParkedState,
@@ -1917,6 +1918,43 @@ function ConnectDialog({
// restart warning). Deliberately no backdrop-click-to-close - the point is
// the user actually reads it before the connection drops, not that it's
// invisible-easy to swipe away like a cookie banner.
// In memory of Akimo, the project owner's dog (†21.10.2026). Permanent:
// never remove or hide this, no matter what else changes in the dialog.
function AboutDialog({ onClose }: { onClose: () => void }) {
const t = useT();
return (
<div className="ts-dialog-backdrop" onClick={onClose}>
<div className="ts-dialog ts-about-dialog" onClick={(e) => e.stopPropagation()}>
<div className="ts-dialog-titlebar">
<span>{t("menu.help.about")}</span>
</div>
<div className="ts-dialog-body">
<p>{t("about.text")}</p>
<p>
<a href="https://webspeak3.de" target="_blank" rel="noreferrer">webspeak3.de</a>
{" · "}
<a href="https://github.com/WebSpeak3/webspeak3" target="_blank" rel="noreferrer">GitHub</a>
</p>
<figure className="ts-about-memorial">
<img src={akimoPhoto} alt="Akimo" width={120} height={120} />
<figcaption>
<strong>{t("about.memorial.title")}</strong>
<span>{t("about.memorial.text")}</span>
</figcaption>
</figure>
</div>
<div className="ts-dialog-buttons">
<div className="ts-dialog-buttons-right">
<button type="button" onClick={onClose}>
{t("about.close")}
</button>
</div>
</div>
</div>
</div>
);
}
function RestartNoticeDialog({ message, onAck }: { message: string; onAck: () => void }) {
const t = useT();
return (
@@ -6860,6 +6898,7 @@ function AppInner() {
// Terms of use, own-hosted instance only (see IS_OWN_HOSTED_INSTANCE): shown
// mandatorily on first visit, reopenable any time from the menu afterwards.
const [tosOpen, setTosOpen] = useState(false);
const [aboutOpen, setAboutOpen] = useState(false);
const [tosMandatory, setTosMandatory] = useState(false);
useEffect(() => {
if (IS_OWN_HOSTED_INSTANCE && !hasAcceptedToS()) {
@@ -10682,16 +10721,16 @@ function AppInner() {
</button>
{helpMenuOpen && (
<div className="ts-menu" ref={focusFirstItem} onKeyDown={handleMenuKeyDown}>
<a
<button
className="ts-menu-item"
href="https://webspeak3.de"
target="_blank"
rel="noreferrer"
onClick={() => setHelpMenuOpen(false)}
onClick={() => {
setAboutOpen(true);
setHelpMenuOpen(false);
}}
>
<span className="ts-menu-item-icon">ℹ️</span>
<span className="ts-menu-item-label">{t("menu.help.about")}</span>
</a>
</button>
<a
className="ts-menu-item"
href="https://github.com/WebSpeak3/webspeak3"
@@ -11083,6 +11122,8 @@ function AppInner() {
{restartNotice && <RestartNoticeDialog message={restartNotice} onAck={() => setRestartNotice(null)} />}
{aboutOpen && <AboutDialog onClose={() => setAboutOpen(false)} />}
{tosOpen && (
<ToSDialog
mandatory={tosMandatory}
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

+5 -1
View File
@@ -685,5 +685,9 @@
"log.fileTransferInvalidAddress": "Přenos souboru selhal (neplatná adresa)",
"sounds.importFailed": "Balíček zvuků se nepodařilo načíst – je to platný soubor .ts3soundpack/ZIP?",
"tabs.connections": "Připojení k serverům",
"shortcut.ctrl": "Ctrl"
"shortcut.ctrl": "Ctrl",
"about.text": "WebSpeak3 je TeamSpeak klient pro prohlížeč, open source a bez instalace.",
"about.memorial.title": "Na památku Akima",
"about.memorial.text": "Odešel přes duhový most 21. 10. 2026. 🌈🐾",
"about.close": "Zavřít"
}
+5 -1
View File
@@ -685,5 +685,9 @@
"log.fileTransferInvalidAddress": "Dateiübertragung fehlgeschlagen (ungültige Adresse)",
"sounds.importFailed": "Das Soundpack konnte nicht gelesen werden – ist es eine gültige .ts3soundpack-/ZIP-Datei?",
"tabs.connections": "Server-Verbindungen",
"shortcut.ctrl": "Strg"
"shortcut.ctrl": "Strg",
"about.text": "WebSpeak3 ist ein TeamSpeak-Client für den Browser, quelloffen und ohne Installation.",
"about.memorial.title": "In Erinnerung an Akimo",
"about.memorial.text": "Am 21.10.2026 über die Regenbogenbrücke gegangen. 🌈🐾",
"about.close": "Schließen"
}
+5 -1
View File
@@ -685,5 +685,9 @@
"log.fileTransferInvalidAddress": "File transfer failed (invalid address)",
"sounds.importFailed": "Could not read this soundpack - is it a valid .ts3soundpack/ZIP file?",
"tabs.connections": "Server connections",
"shortcut.ctrl": "Ctrl"
"shortcut.ctrl": "Ctrl",
"about.text": "WebSpeak3 is a TeamSpeak client for the browser, open source and with nothing to install.",
"about.memorial.title": "In memory of Akimo",
"about.memorial.text": "Crossed the rainbow bridge on October 21, 2026. 🌈🐾",
"about.close": "Close"
}
+5 -1
View File
@@ -684,5 +684,9 @@
"log.fileTransferInvalidAddress": "انتقال فایل ناموفق بود (نشانی نامعتبر)",
"sounds.importFailed": "این بسته صدا خوانده نشد - آیا یک فایل ‎.ts3soundpack/ZIP معتبر است؟",
"tabs.connections": "اتصال‌های سرور",
"shortcut.ctrl": "Ctrl"
"shortcut.ctrl": "Ctrl",
"about.text": "WebSpeak3 یک کلاینت TeamSpeak برای مرورگر است، متن‌باز و بدون نیاز به نصب.",
"about.memorial.title": "به یاد Akimo",
"about.memorial.text": "در ۲۱ اکتبر ۲۰۲۶ از پل رنگین‌کمان گذشت. 🌈🐾",
"about.close": "بستن"
}
+5 -1
View File
@@ -684,5 +684,9 @@
"log.fileTransferInvalidAddress": "文件传输失败(地址无效)",
"sounds.importFailed": "无法读取此音效包——它是有效的 .ts3soundpack/ZIP 文件吗?",
"tabs.connections": "服务器连接",
"shortcut.ctrl": "Ctrl"
"shortcut.ctrl": "Ctrl",
"about.text": "WebSpeak3 是一款浏览器 TeamSpeak 客户端,开源且无需安装。",
"about.memorial.title": "纪念 Akimo",
"about.memorial.text": "于 2026 年 10 月 21 日走过彩虹桥。🌈🐾",
"about.close": "关闭"
}