feat(gui): the web half of the Connect page and the first run (P15 B3)
The Connect page gets "On the web": a switch "Allow web assistants" per company, off by default; three lines of progress in plain words (getting an address, getting a certificate, connected) with a spinner on the one under way; once it works, the address for the company with Copy; the three steps for Claude on the web that the plan stands behind (Settings, Connectors, Add custom connector, paste, sign in and match the code); and, for ChatGPT and any other assistant, "we haven't tested this yet" rather than steps nobody tried. What goes wrong is in words and says whether the window and the assistants on this computer are affected. A new address is asked for twice. The first time a company is open and the server says no assistant was ever connected, the Connect page opens by itself, once, remembered per installation. The owner trait gains web_state, web_turn_on, web_turn_off and web_new_address; an owner that does not offer them shows no switch. The tabs tests start with the first run already done, since they are about tabs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
861ed57d82
commit
13a3f1b519
7 files changed
+1026
-12
No files matched your search
@@ -228,6 +228,11 @@ impl CompanyView {
|
||||
self.assist = status;
|
||||
}
|
||||
|
||||
/// Open the Connect page (the first run does, once: app.rs).
|
||||
pub fn open_connect(&mut self) {
|
||||
self.nav.go(Route::Connect);
|
||||
}
|
||||
|
||||
/// What this view was last given of its assistants (tests).
|
||||
pub fn assist(&self) -> &crate::connections::Status {
|
||||
&self.assist
|
||||
|
||||
Reference in new issue
Block a user