fix(webui): support WSL browser launch and clearer startup output (#6150)
* feat(webui): add local first-run access setup * feat(webui): defer password setup until network access Keep generated local credentials and provide the full browser login link in every launch mode. Require a chosen password when enabling network access, preserve existing authentication, and show pending listener changes until restart. Remove mandatory first-run initialization gates and simplify startup output while retaining gateway warnings and errors. * fix(webui): align access settings with channel contracts * fix(webui): clarify startup guidance and spacing * fix(webui): keep setup guidance readable in narrow terminals * fix(webui): clarify startup and preserve remote password access * fix(webui): move access explanations into settings hints * fix(webui): require strong ASCII passwords and reject malformed auth * fix(webui): simplify access password character rules * test(webui): reflect pending restart after password save * fix(webui): open Windows browser from WSL * fix(webui): clarify public access copy * refactor(webui): focus on WSL launch and startup output * fix(webui): preserve platform browser fallback
This commit is contained in:
1 parent
a27f294f52
commit
41f2eeb7ba
12 files changed
+693
-374
No files matched your search
@@ -93,14 +93,13 @@ def test_start_webui_dev_server_uses_vite_directly_and_sets_proxy_target(
|
||||
|
||||
assert server.process is process
|
||||
command, kwargs = popen_calls[0]
|
||||
assert command == ["node", str(vite_cli)]
|
||||
assert command == ["node", str(vite_cli), "--logLevel", "warn", "--clearScreen", "false"]
|
||||
assert kwargs["cwd"] == source
|
||||
assert kwargs["env"] == {
|
||||
"EXISTING": "value",
|
||||
"NANOBOT_API_URL": "http://127.0.0.1:8899",
|
||||
}
|
||||
assert output == ["WebUI dev server: http://127.0.0.1:5173/"]
|
||||
assert "secret" not in output[0]
|
||||
assert output == []
|
||||
|
||||
|
||||
def test_dev_server_installs_locked_dependencies_when_vite_is_missing(tmp_path: Path) -> None:
|
||||
|
||||
Reference in new issue
Block a user