From 44f04b55e8d348ca6e37c4435001dc87a6328b8f Mon Sep 17 00:00:00 2001 From: Siavash Sameni Date: Tue, 7 Apr 2026 17:50:46 +0400 Subject: [PATCH] feat: quality slider in settings with color gradient MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the quality dropdown with a range slider in the settings panel. The slider goes from Auto (green) through Opus 24k, Opus 6k (yellow), Codec2 3.2k (orange) to Codec2 1.2k (dark red). The track uses a green-to-red gradient and the label color updates to match the selected level. Removed the quality dropdown from the connect screen — quality is now settings-only. Co-Authored-By: Claude Opus 4.6 (1M context) --- desktop/index.html | 32 +++++++--------- desktop/src/main.ts | 41 ++++++++++++++++---- desktop/src/style.css | 87 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+), 26 deletions(-) diff --git a/desktop/index.html b/desktop/index.html index 9034e1f..40be90c 100644 --- a/desktop/index.html +++ b/desktop/index.html @@ -26,15 +26,6 @@ -

Audio

- +
+
+ QUALITY + Auto +
+ +
+ Auto + Opus 24k + Opus 6k + C2 3.2k + C2 1.2k +
+