mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
The old dialog was a flat list with an inline rename field and a radio button per row - visually and structurally nothing like the native myTeamSpeak-style Identitäten window. Reworked to the same list + detail panel layout: pick an identity on the left, edit its Name/Nickname/ Phonetischer Nickname on the right, see its Eindeutige ID (once known) and creation status, Standard/Löschen/Exportieren buttons per identity. Also added what was actually missing functionally, not just visually: - Import/Export: an identity's opaque tsclientlib blob can be downloaded as a JSON file and re-imported later (backup/transfer between browsers). - Per-identity nickname: each identity now remembers its own nickname (like native TS3), applied when switching identities in the connect dialog and saved back after a successful connect - previously there was only one global nickname shared by every identity. Deliberately left out of scope (documented inline in the component): myTeamSpeak cloud-synced identities (a whole separate account system this self-hosted client has no equivalent of) and the manual "Sicherheitsstufe erhöhen" button (tsclientlib already runs that proof-of-work step automatically during connect whenever a server demands a higher level, so a manual trigger wouldn't add functionality, only let you pre-compute it before connecting). Verified interactively in demo mode: dialog renders in the new layout, fields are all editable, Standard/Löschen/Export honor their expected enabled/disabled states.
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the Oxlint configuration
If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["react", "typescript", "oxc"],
"options": {
"typeAware": true
},
"rules": {
"react/rules-of-hooks": "error",
"react/only-export-components": ["warn", { "allowConstantExport": true }]
}
}
See the Oxlint rules documentation for the full list of rules and categories.