Skip to content

Commit 271967c

Browse files
committed
shared resources --> home base
1 parent a7952d5 commit 271967c

File tree

3 files changed

+27
-24
lines changed

3 files changed

+27
-24
lines changed

src/packages/frontend/compute/inline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function ComputeServer({
5959
}
6060
if (!id) {
6161
setServer({
62-
title: "Default Shared Resources",
62+
title: "Home Base",
6363
color: PROJECT_COLOR,
6464
project_specific_id: 0,
6565
});

src/packages/frontend/compute/select-server.tsx

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -167,29 +167,34 @@ export default function SelectServer({
167167
sort: "project",
168168
state: "",
169169
label: (
170-
<div
171-
style={{
172-
background: PROJECT_COLOR,
173-
color: avatar_fontcolor(PROJECT_COLOR),
174-
padding: "0 5px",
175-
borderRadius: "3px",
176-
}}
170+
<Tooltip
171+
title="The Home Base is the core of your project; it contains your primary files and has limited compute resources to work with them. You can upgrade it using a license. For GPUs, high end CPUs, and root access use a compute server."
172+
placement="right"
177173
>
178-
{value != 0 ? (
179-
<div>
174+
<div
175+
style={{
176+
background: PROJECT_COLOR,
177+
color: avatar_fontcolor(PROJECT_COLOR),
178+
padding: "0 5px",
179+
borderRadius: "3px",
180+
}}
181+
>
182+
{value != 0 ? (
180183
<div>
181-
<Icon name="edit" /> Shared Resources
184+
<div>
185+
<Icon name="edit" /> Home Base
186+
</div>
187+
<div style={{ marginLeft: "15px" }}>
188+
<Icon name="users" /> Standard image
189+
</div>
182190
</div>
183-
<div style={{ marginLeft: "15px" }}>
184-
<Icon name="users" /> Standard image
191+
) : (
192+
<div style={{ padding: "5px 15px" }}>
193+
<Icon name="edit" /> Home Base
185194
</div>
186-
</div>
187-
) : (
188-
<div>
189-
<Icon name="edit" /> Shared Resources
190-
</div>
191-
)}
192-
</div>
195+
)}
196+
</div>
197+
</Tooltip>
193198
),
194199
},
195200
],
@@ -267,9 +272,7 @@ export default function SelectServer({
267272
title={
268273
title ??
269274
`This is open ${
270-
!value
271-
? "on the default shared resources"
272-
: `on compute server ${value}`
275+
!value ? "in your home base" : `on compute server ${value}`
273276
}.`
274277
}
275278
>

src/packages/next/lib/api/schema/compute/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const ComputeServerIdSchema = z
44
.number()
55
.int()
66
.min(0)
7-
.describe("Compute server id (or 0 for the shared resources)");
7+
.describe("Compute server id (or 0 for your home base)");
88

99
export const ComputeServerStateSchema = z
1010
.enum([

0 commit comments

Comments
 (0)