From 8336f01be78793eaed4b0a816d7e25756c485242 Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 2 Nov 2026 10:18:20 +0300 Subject: [PATCH] feat: match identity and transfer settings with real category controls --- CHANGELOG.md | 8 + DESIGN.md | 11 +- app/renderer/index.html | 92 ++-- app/renderer/js/file-settings.js | 433 ++++++++++++++--- app/renderer/js/identities.js | 452 ++++++++++++++---- app/renderer/js/notifications.js | 38 +- app/renderer/js/settings.js | 11 +- app/renderer/shared/en.js | 75 +-- app/renderer/shared/ru.js | 75 +-- app/renderer/styles/file-settings.css | 68 +++ app/renderer/styles/settings.css | 96 +++- .../official-parity/qa-parity-harness.md | 54 +++ scripts/smoke-file-settings-offscreen.mjs | 203 ++++++++ scripts/smoke-identity-offscreen.mjs | 158 ++++-- .../smoke-notification-groups-offscreen.mjs | 58 +++ scripts/smoke-server-icons-offscreen.mjs | 115 +++++ scripts/smoke-ui-shell.mjs | 50 +- test/recording-notifications.test.mjs | 15 + 18 files changed, 1645 insertions(+), 367 deletions(-) create mode 100644 app/renderer/styles/file-settings.css create mode 100644 scripts/smoke-file-settings-offscreen.mjs create mode 100644 scripts/smoke-notification-groups-offscreen.mjs create mode 100644 scripts/smoke-server-icons-offscreen.mjs diff --git a/CHANGELOG.md b/CHANGELOG.md index f906ebd..a7dc5b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## Unreleased +- Rebuilt Identities around the original selector, inline creation/rename, selected-identity Details, + security-level controls and related bookmarks. Fixed default-profile UID leakage into selected Details, + selector popup initialization and the final improvement level briefly reverting during a list refresh. + Export and the explicit current-server nickname action remain available. +- Replaced raw File Transfer number fields with source-style keyboard/step controls that retain focus + and drafts through serialized saves. Native folder/copy restrictions, shared limits and safe defaults remain. +- Added notification category switches with real sound-policy gating, preserved per-event states and + independent event logs; concurrent state edits are serialized. - Added nested bookmark folders with inline creation, rename, ordering, move/duplicate menus and confirmed subtree deletion, using validated local preferences rather than a separate bookmark store. - Extended bookmarks with a per-connection nickname, initial channel, session-bound channel drops, diff --git a/DESIGN.md b/DESIGN.md index e7868ac..bc6e327 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -190,8 +190,10 @@ notifications), pill (toolbar, filled buttons, segmented controls). rgb(255,130,130), min width 170, max 260. Client group/volume subpages replace the same popup contents; Back or Left/Escape restores the original items and focus, not a second flyout. - **Dynamic settings:** Audio follows Microphone, Output and Processing sections; device controls move - without being recreated. Identity selection/editing, creation and security controls are separate - sections. Whisper receive/list/editor and key binding controls use actual labelled rows, not an + without being recreated. Identities use the source selector/Details/Bookmarks order; creation and rename + use the inline selector editor, and Details always represent the selected identity. Export/private-key + guidance and the separately labelled Current Server Nickname action remain functional product additions. + Whisper receive/list/editor and key binding controls use actual labelled rows, not an unstyled vertical list. Toggle labels remain left with 40×20 switches right; numeric controls stay compact and faders include their real live output. All fields, including inputs with implicit text type, receive the shared source control styling. These changes address the first packaged capture @@ -231,6 +233,11 @@ notifications opaque; forced colours use system tokens. whisper manager bind real local/server operations. They do not emulate a myTeamSpeak account. The whisper overlay shares the settings controls and list reset; its tree preview derives only from current-session snapshots, and received-whisper history distinguishes departed identities. +- File Transfer uses source-style icon actions and keyboard-operable minus/value/plus controls. Existing + always-ask and 2/2 concurrency defaults remain; folder captions expose only the basename and concurrency + subtitles truthfully describe the shared app-wide pool, not the original's per-server wording. +- Notification category switches suppress all sounds in that category without erasing per-event choices + or event logs. The disabled-category message and system notification subtitles use the original strings. - The refreshed actual-frontend matrix remains a strict visual failure: 168 evaluated pairs, none blocked and none fully passing. A later focused 32-pair confirmation also failed; it measures a newer build and is not substituted for the full matrix. Native/account/branding exceptions remain diff --git a/app/renderer/index.html b/app/renderer/index.html index 20e09ea..43a66c3 100644 --- a/app/renderer/index.html +++ b/app/renderer/index.html @@ -10,6 +10,7 @@ + @@ -549,48 +550,85 @@