Skip to content

Commit 61f02af

Browse files
committed
chore: update options and help menus
1 parent b7a6636 commit 61f02af

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

app/src/components/core/OptionsPanel/OptionsPanel.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const OptionsPanel = ({
104104
() => [
105105
{
106106
id: "expand-subgardens",
107-
label: expandSubgardens ? "Expanded" : "Condensed",
107+
label: expandSubgardens ? "Expand subgardens" : "Condense subgardens",
108108
onClick: () => {
109109
setExpandSubgardens(!expandSubgardens);
110110
// force re-layout
@@ -118,14 +118,14 @@ const OptionsPanel = ({
118118
},
119119
{
120120
id: "zoom-in",
121-
label: "Zoom In",
121+
label: "Zoom in",
122122
onClick: () => zoomIn(),
123123
icon: <PlusIcon size={14} />,
124124
disabled: maxZoomReached,
125125
},
126126
{
127127
id: "zoom-out",
128-
label: "Zoom Out",
128+
label: "Zoom out",
129129
onClick: () => zoomOut(),
130130
icon: <MinusIcon size={14} />,
131131
disabled: minZoomReached,

app/src/components/visualizer/GardenFlowHints/GardenFlowHints.tsx

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
LightbulbIcon,
77
LayersIcon,
88
GlobeIcon,
9+
Layers2Icon,
910
} from "lucide-react";
1011

1112
import {
@@ -43,7 +44,7 @@ const GardenFlowHints = () => {
4344
<div className="h-3 w-3 rounded-full border-2 border-primary border-dashed" />
4445

4546
<p className="text-muted-foreground">
46-
Click on dashed nodes to navigate between gardens
47+
Click on dashed nodes to navigate into that garden
4748
</p>
4849
</div>
4950

@@ -53,24 +54,11 @@ const GardenFlowHints = () => {
5354
</div>
5455

5556
<p className="text-muted-foreground">
56-
Use the <LayersIcon className="mx-1 inline h-3 w-3" /> toggle to
57-
expand or condense subgardens
57+
Use the <LayersIcon className="mx-1 inline h-3 w-3" /> /{" "}
58+
<Layers2Icon className="mx-1 inline h-3 w-3" /> toggle to expand
59+
or condense subgardens
5860
</p>
5961
</div>
60-
61-
<div className="flex items-center gap-2">
62-
<div className="flex h-3 w-3 items-center justify-center">
63-
<GlobeIcon className="h-3 w-3 text-primary" />
64-
</div>
65-
66-
<p className="text-muted-foreground">
67-
Navigate up to supergardens or down to subgardens
68-
</p>
69-
</div>
70-
71-
<div className="mt-1 text-muted-foreground text-xs italic">
72-
Note: Changes to garden names are reflected in navigation
73-
</div>
7462
</div>
7563
</CollapsibleContent>
7664
</Collapsible>

0 commit comments

Comments
 (0)