mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
- Restyle classic top menu bar into pill-chip items merged into the same row as the WebSpeak3 logo/server/status cluster, collapsed behind a hamburger button with an outside-click/Escape-aware dropdown panel (nested submenus flip to open leftward to avoid clipping at the viewport edge). - Make the Connect dialog the sole visible surface while disconnected in Nova: it auto-opens on load and after every disconnect, and the app chrome (menu/toolbar/body/log) is hidden behind it until a connection succeeds. - Rebuild the Connect dialog for Nova to match the TS6 Redesign mockup's dedicated Connect screen: centered hero (logo/title/ subtitle) above an elevated card, a chevron-toggle "Erweiterte Optionen" moved under the nickname field, reordered ghost/primary footer buttons, and a fixed settings-gear shortcut into Options. The 11 existing form fields/handlers are shared with the Standard dialog via one JSX tree, decorated only through small nova ternaries. - Nova starts with an empty server-address field instead of the Standard theme's "localhost" default. - All changes scoped under .ts-app.ts-design-nova (or nested classes); Standard theme verified pixel- and behavior-identical throughout via repeated live comparisons.
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.