From ff950efb0c045805292f654172ccad9813a57829 Mon Sep 17 00:00:00 2001 From: Psychotoxical Date: Mon, 6 Apr 2026 22:54:27 +0200 Subject: [PATCH] feat(settings): add nisrael to contributors, update cucadmuh/kilyabin, move logout button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add nisrael (Nightfox themes PR #114, rustls-tls fix PR #112) - Update cucadmuh with gapless manual skip fix (PR #119) - Update kilyabin with RU locale improvements (PR #120) and auto-install script (PR #121) - Move logout button from System tab to Server tab — styled as btn-danger (outlined red) - Add .btn-danger CSS class to theme.css Co-Authored-By: Claude Sonnet 4.6 --- src/pages/Settings.tsx | 36 ++++++++++++++++++++++++++++-------- src/styles/theme.css | 17 +++++++++++++++++ 2 files changed, 45 insertions(+), 8 deletions(-) diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index 7589a218..5a478ffe 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -87,13 +87,23 @@ const CONTRIBUTORS = [ since: '1.33.0', contributions: [ 'Russian translation & i18n locale split (PR #106)', + 'Gapless manual skip: honor user-initiated play over pre-chained track (PR #119)', ], }, { github: 'kilyabin', since: '1.34.0', contributions: [ - 'Alternative Russian translation (PR #107)', + 'Russian locale improvements (PR #107, PR #120)', + 'Auto-install script for Debian / RHEL (PR #121)', + ], + }, + { + github: 'nisrael', + since: '1.34.0', + contributions: [ + 'Nightfox.nvim theme group in Open Source Classics (PR #114)', + 'Switch reqwest to rustls-tls for cross-platform TLS (PR #112)', ], }, ] as const; @@ -577,6 +587,17 @@ export default function Settings() { +
+
+
+
{t('settings.lyricsServerFirst')}
+
{t('settings.lyricsServerFirstDesc')}
+
+ +
@@ -825,7 +846,6 @@ export default function Settings() { { value: 'nl', label: t('settings.languageNl') }, { value: 'nb', label: t('settings.languageNb') }, { value: 'ru', label: t('settings.languageRu') }, - { value: 'ru2', label: t('settings.languageRu2') }, { value: 'zh', label: t('settings.languageZh') }, ]} /> @@ -1206,6 +1226,12 @@ export default function Settings() { +
+ +
+ )} @@ -1335,12 +1361,6 @@ export default function Settings() { - -
- -
)} diff --git a/src/styles/theme.css b/src/styles/theme.css index e9e0d1e2..49c598b1 100644 --- a/src/styles/theme.css +++ b/src/styles/theme.css @@ -3678,6 +3678,23 @@ body.psy-dragging * { border-color: var(--ctp-overlay0); } +.btn-danger { + background: transparent; + color: var(--danger); + border: 1px solid var(--danger); +} + +.btn-danger:hover { + background: var(--danger); + color: #fff; + transform: translateY(-1px); + box-shadow: 0 4px 12px color-mix(in srgb, var(--danger) 35%, transparent); +} + +.btn-danger:active { + transform: translateY(0); +} + /* ─── Input ─── */ .input { width: 100%;