Skip to content

Commit a94cfed

Browse files
felixpycursoragent
authored andcommitted
Say the Self-Contained install will open a browser sign-in
The first screen now says the browser opens next so you can sign in and get a free license key. Account still opens the browser as soon as it appears. Co-authored-by: Felix Yang <felixpy@users.noreply.github.com>
1 parent 322fc47 commit a94cfed

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Newest first. `Unreleased` is what is on `main` and not yet tagged.
88

99
## Unreleased
1010

11+
- **OpenBot Desktop's Self-Contained install says the browser opens next.** Beside Install, the
12+
first screen now says your browser opens so you can sign in and get a free license key. The
13+
Account step still opens the browser as soon as it appears.
14+
1115
## 1.2.10
1216

1317
**Before upgrading.**

‎desktop/src/App.test.tsx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -883,8 +883,6 @@ test("the first screen offers OpenBot (Self-Contained), then OpenBot for Busines
883883
expect(
884884
view.getByRole("heading", { name: "What this computer needs" }),
885885
).toBeTruthy();
886-
// Beside Install, before this screen goes on to Account. Account opens the browser
887-
// the moment it appears, so the sign-in has to be said here.
888886
expect(
889887
[...view.container.querySelectorAll(".lede")].map((p) => p.textContent),
890888
).toEqual([
@@ -1962,7 +1960,6 @@ describe("with OpenBot Cloud on in this build (VITE_OPENBOT_CLOUD_ENABLED=true)"
19621960
expect(page.textContent).toContain(
19631961
"Setup takes 1 to 10 minutes, depending on your internet speed.",
19641962
);
1965-
// Beside Install, before this screen goes on to Account, which opens the browser.
19661963
expect(page.textContent).toContain(
19671964
"Next, your browser opens so you can sign in and get a free license key.",
19681965
);

‎desktop/src/Welcome.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ export { CloudMarks };
2424
export const SELF_CONTAINED_SUMMARY =
2525
"Everything runs on this computer, for trying it or personal use.";
2626

27+
export const SELF_CONTAINED_BROWSER_NEXT =
28+
"Next, your browser opens so you can sign in and get a free license key.";
29+
2730
/** The way to OpenBot (Self-Contained) at the foot of the first screen, with OpenBot Cloud on. */
2831
export const SELF_CONTAINED_ASIDE = "Want everything to run on this computer?";
2932

@@ -490,7 +493,8 @@ function Install({
490493
return (
491494
<>
492495
<p className="lede">
493-
Setup takes 1 to 10 minutes, depending on your internet speed.
496+
Setup takes 1 to 10 minutes, depending on your internet speed.{" "}
497+
{SELF_CONTAINED_BROWSER_NEXT}
494498
</p>
495499
<div className="row">
496500
<button

0 commit comments

Comments
 (0)