Skip to content

Commit a51a51e

Browse files
authored
small fixes (#906)
1 parent 5c6274a commit a51a51e

File tree

8 files changed

+41
-31
lines changed

8 files changed

+41
-31
lines changed
-34.7 KB
Loading
-90.7 KB
Loading

crates/fig_desktop/icons/32x32.png

-3.03 KB
Loading

crates/fig_desktop/icons/icon.icns

-339 KB
Binary file not shown.

crates/fig_desktop/icons/icon.ico

187 KB
Binary file not shown.

crates/fig_desktop/icons/icon.png

-221 KB
Loading

crates/q_cli/src/cli/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pub enum Processes {
125125
App,
126126
}
127127

128-
/// The Amazon Q CLI
128+
/// The Kiro CLI
129129
#[deny(missing_docs)]
130130
#[derive(Debug, PartialEq, Subcommand)]
131131
pub enum CliRootCommands {
@@ -268,19 +268,19 @@ impl CliRootCommands {
268268

269269
const HELP_TEXT: &str = color_print::cstr! {"
270270
271-
<magenta,em>q</magenta,em> (Amazon Q CLI)
271+
<magenta,em>kiro-cli</magenta,em> (Kiro CLI)
272272
273-
<magenta,em>Popular Subcommands</magenta,em> <black!><em>Usage:</em> q [subcommand]</black!>
273+
<magenta,em>Popular Subcommands</magenta,em> <black!><em>Usage:</em> kiro-cli [subcommand]</black!>
274274
╭────────────────────────────────────────────────────╮
275-
│ <em>chat</em> <black!>Chat with Amazon Q</black!> │
275+
│ <em>chat</em> <black!>Chat with Kiro CLI</black!> │
276276
│ <em>translate</em> <black!>Natural Language to Shell translation</black!> │
277277
│ <em>doctor</em> <black!>Debug installation issues</black!> │
278278
│ <em>settings</em> <black!>Customize appearance & behavior</black!> │
279279
│ <em>quit</em> <black!>Quit the app</black!> │
280280
╰────────────────────────────────────────────────────╯
281281
282282
<black!>To see all subcommands, use:</black!>
283-
<black!>❯</black!> q --help-all
283+
<black!>❯</black!> kiro-cli --help-all
284284
285285
"};
286286

packages/dashboard-app/src/pages/onboarding.tsx

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,52 @@ import {
1010
PREVIOUS_PRODUCT_NAME,
1111
} from "@/lib/constants";
1212
import { Terminal } from "@/components/ui/terminal";
13+
import { useLocalStateZodDefault } from "@/hooks/store/useState";
14+
import { z } from "zod";
1315

1416
export default function Page() {
17+
const [completedOnboarding] = useLocalStateZodDefault(
18+
"desktop.completedOnboarding",
19+
z.boolean(),
20+
false,
21+
);
22+
1523
return (
1624
<div className="flex flex-col items-start gap-4">
1725
<div className="flex flex-col">
1826
<h1 className="text-2xl font-bold dark:text-zinc-400">
1927
Getting started
2028
</h1>
2129
</div>
22-
<section
23-
className="flex flex-col p-6 gap-4 w-full items-start text-white"
24-
style={{
25-
backgroundColor: "var(--banner-bg)",
26-
border: "1px solid var(--banner-border)",
27-
borderRadius: "var(--banner-radius)",
28-
}}
29-
>
30-
<div className="flex flex-row gap-4 w-full items-center">
31-
<Logo size={42} />
32-
<div className="flex flex-col gap-1">
33-
<h1 className="font-bold text-xl font-ember leading-none">
34-
{PREVIOUS_PRODUCT_NAME} CLI is now {PRODUCT_NAME} CLI
35-
</h1>
36-
<p className="text-base leading-tight">
37-
All existing features remain unchanged.{" "}
38-
<Link
39-
href={Q_MIGRATION_URL}
40-
className="font-medium"
41-
variant="primary"
42-
>
43-
Learn more
44-
</Link>
45-
</p>
30+
{completedOnboarding && (
31+
<section
32+
className="flex flex-col p-6 gap-4 w-full items-start text-white"
33+
style={{
34+
backgroundColor: "var(--banner-bg)",
35+
border: "1px solid var(--banner-border)",
36+
borderRadius: "var(--banner-radius)",
37+
}}
38+
>
39+
<div className="flex flex-row gap-4 w-full items-center">
40+
<Logo size={42} />
41+
<div className="flex flex-col gap-1">
42+
<h1 className="font-bold text-xl font-ember leading-none">
43+
{PREVIOUS_PRODUCT_NAME} CLI is now {PRODUCT_NAME} CLI
44+
</h1>
45+
<p className="text-base leading-tight">
46+
All existing features remain unchanged.{" "}
47+
<Link
48+
href={Q_MIGRATION_URL}
49+
className="font-medium"
50+
variant="primary"
51+
>
52+
Learn more
53+
</Link>
54+
</p>
55+
</div>
4656
</div>
47-
</div>
48-
</section>
57+
</section>
58+
)}
4959
<div className="flex flex-col gap-2 w-full border bg-zinc-50 border-zinc-200 dark:bg-zinc-900 dark:border-zinc-600 rounded-lg p-4 mb-4 overflow-x-auto">
5060
<h2 className="font-bold font-ember tracking-tight text-lg dark:text-zinc-300">
5161
Launch a new shell session to start using autocomplete!

0 commit comments

Comments
 (0)