Skip to content

Commit a1a23da

Browse files
authored
Update empty state text (#2304)
* Update empty state text * add text balancing
1 parent b590b9b commit a1a23da

File tree

18 files changed

+20
-18
lines changed

18 files changed

+20
-18
lines changed

app/components/form/fields/SshKeysField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function SshKeysField({
131131
<EmptyMessage
132132
icon={<Key16Icon />}
133133
title="No SSH keys"
134-
body="You need to add a key to be able to see it here"
134+
body="Add a key to see it here"
135135
buttonText="Add SSH Key"
136136
onClick={() => setShowAddSshKey(true)}
137137
/>

app/pages/ProjectsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const EmptyState = () => (
3737
<EmptyMessage
3838
icon={<Folder24Icon />}
3939
title="No projects"
40-
body="You need to create a project to be able to see it here"
40+
body="Create a project to see it here"
4141
buttonText="New project"
4242
buttonTo={pb.projectsNew()}
4343
/>

app/pages/project/disks/DisksPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const EmptyState = () => (
4141
<EmptyMessage
4242
icon={<Storage24Icon />}
4343
title="No disks"
44-
body="You need to create a disk to be able to see it here"
44+
body="Create a disk to see it here"
4545
buttonText="New disk"
4646
buttonTo={pb.disksNew(useProjectSelector())}
4747
/>

app/pages/project/floating-ips/FloatingIpsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const EmptyState = () => (
4747
<EmptyMessage
4848
icon={<IpGlobal24Icon />}
4949
title="No floating IPs"
50-
body="You need to create a floating IP to be able to see it here"
50+
body="Create a floating IP to see it here"
5151
buttonText="New Floating IP"
5252
buttonTo={pb.floatingIpsNew(useProjectSelector())}
5353
/>

app/pages/project/images/ImagesPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const EmptyState = () => (
3333
<EmptyMessage
3434
icon={<Images24Icon />}
3535
title="No images"
36-
body="You need to create an image to be able to see it here"
36+
body="Create an image to see it here"
3737
// buttonText="New image"
3838
// buttonTo="new"
3939
/>

app/pages/project/instances/InstancesPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const EmptyState = () => (
3939
<EmptyMessage
4040
icon={<Instances24Icon />}
4141
title="No instances"
42-
body="You need to create an instance to be able to see it here"
42+
body="Create an instance to see it here"
4343
buttonText="New instance"
4444
buttonTo={pb.instancesNew(useProjectSelector())}
4545
/>

app/pages/project/instances/instance/tabs/StorageTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export function StorageTab() {
160160
<EmptyMessage
161161
icon={<Storage24Icon />}
162162
title="No disks"
163-
body="You need to attach a disk to this instance to be able to see it here"
163+
body="Attach a disk to this instance to see it here"
164164
/>
165165
)
166166

app/pages/project/snapshots/SnapshotsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const EmptyState = () => (
4646
<EmptyMessage
4747
icon={<Snapshots24Icon />}
4848
title="No snapshots"
49-
body="You need to create a snapshot to be able to see it here"
49+
body="Create a snapshot to see it here"
5050
buttonText="New snapshot"
5151
buttonTo={pb.snapshotsNew(useProjectSelector())}
5252
/>

app/pages/project/vpcs/VpcPage/tabs/VpcFirewallRulesTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export function VpcFirewallRulesTab() {
162162
<TableEmptyBox>
163163
<EmptyMessage
164164
title="No firewall rules"
165-
body="You need to create a rule to be able to see it here"
165+
body="Create a rule to see it here"
166166
buttonText="New rule"
167167
buttonTo={pb.vpcFirewallRulesNew(vpcSelector)}
168168
/>

app/pages/project/vpcs/VpcPage/tabs/VpcSubnetsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function VpcSubnetsTab() {
9090
const emptyState = (
9191
<EmptyMessage
9292
title="No VPC subnets"
93-
body="You need to create a subnet to be able to see it here"
93+
body="Create a subnet to see it here"
9494
buttonText="New subnet"
9595
buttonTo={pb.vpcSubnetsNew(vpcSelector)}
9696
/>

0 commit comments

Comments
 (0)