6170f844c4
The unified Gateways settings page (from the recent settings merge) still carried the legacy per-profile gateway-override machinery: an "Applies to" profile-chip scope switcher, a scope state machine threaded through load/ save/test/sign-in paths, inherit-mode ModeCard variants, and an SSH remote-profile mapping row. The page is machine-level gateway management: it decides which gateway backends this desktop can connect to, and profiles are discovered FROM the connected gateways. It must not be profile-scoped. - Delete the scope chips section, ScopeChip component, and the scope/setScope state; every scope-conditional collapses to its global (scope === null) branch. getConnectionConfig/save/apply/test/sign-in are all unscoped now. - ModeCard local card always renders the local title/desc (inherit variants gone); SSH remote-profile mapping row removed. - i18n: drop now-unused gateway keys (appliesTo, allProfiles, defaultConnection, profileConnection, inheritTitle, inheritDesc, sshRemoteProfileTitle, sshRemoteProfileDesc) from types.ts and en/zh/ zh-hant/ja/ar in sync; rewrite the gateway intro in each locale to say connections are machine-level and profiles come from gateways. - Tests: replace the scope-switching component tests with a machine-level assertion (loads getConnectionConfig(null), never a profile scope, no scope UI rendered). - Docs: update desktop.md and multi-connection-desktop.md wording — gateway connections are machine-level; per-profile backend routing continues via the profile rail / session source surfaces, not the settings page. The electron main-process per-profile override mechanism (getConnectionConfig(profileName), route map) and the profile-rail connect flows are intentionally untouched; only the settings page loses the affordance.
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.