Skip to content

Commit

Permalink
editing store license PR to fix typos and style consistency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Oct 16, 2024
1 parent 8686af1 commit a18f271
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 37 deletions.
2 changes: 1 addition & 1 deletion src/packages/next/components/landing/pricing-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function Line(props: Line) {
let unit = "";
if (typeof desc === "string") {
if (desc?.includes("RAM") || desc?.includes("Disk")) {
unit = "G";
unit = " GB";
} else if (desc?.includes("CPU")) {
unit = amount == 1 ? "core" : "cores";
} else if (desc == "Projects") {
Expand Down
61 changes: 27 additions & 34 deletions src/packages/next/components/store/quota-config-presets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,25 @@ export const PRESETS: PresetEntries = {
descr:
"is a good choice for most users to get started and students in a course",
expect: [
"Run 2 or 3 Jupyter Notebooks at the same time,",
"Edit LaTeX, Markdown, and R Documents,",
"Run 5-10 Jupyter Notebooks at once,",
"Edit LaTeX, Markdown, R Documents, and use VS Code,",
`${STANDARD_DISK} GB disk space is sufficient to store many files and small datasets.`,
],
note: (
<Paragraph type="secondary">
You can start small with just a "Run Limit" of one and small quotas.
Later, if your usage incrases, you can edit your license to change the
"Run Limit" and/or the quotas. Read more about{" "}
You can start with a "Run Limit" of one project. Later, when your usage
increases, you can easily edit your license at any time to change the
"Run Limit" or the quotas. Read more about{" "}
<A href={"https://doc.cocalc.com/licenses.html"}>Managing Licenses</A>{" "}
in our documentation.
</Paragraph>
),
details: (
<>
You can run two or three Jupyter Notebooks in the same project at the
same time, given they do not require a large amount of memory. This
quota is fine for editing LaTeX documents, working with Sage Worksheets,
and all other document types. Also, {STANDARD_DISK} GB of disk space is
You can run 5-10 Jupyter Notebooks in a project at once, depending on
the kernel and memory usage. This quota is fine for editing LaTeX
documents, working with Sage Worksheets, using VS Code, and editing all
other document types. Also, {STANDARD_DISK} GB of disk space is
sufficient to store many files and a few small datasets.
</>
),
Expand All @@ -84,10 +84,10 @@ export const PRESETS: PresetEntries = {
instructor: {
icon: "slides",
name: "Instructor",
descr: "for your instructor project when teaching a course",
descr: "is good for your instructor project when teaching a course",
expect: [
"Grade the work of students,",
"Run several Jupyter Notebooks at the same time¹,",
"Run 10-20 Jupyter Notebooks at once¹,",
"Store the files of all students,",
"Make longer breaks without your project being shut down.",
],
Expand All @@ -111,7 +111,7 @@ export const PRESETS: PresetEntries = {
.
</Paragraph>
<Paragraph type="secondary">
¹ Still, make sure to use the{" "}
¹ Depends on the kernel; also, make sure to use the{" "}
<A
href={
"https://doc.cocalc.com/jupyter.html?highlight=halt%20button#use-the-halt-button-to-conserve-memory"
Expand Down Expand Up @@ -156,44 +156,37 @@ export const PRESETS: PresetEntries = {
research: {
icon: "users",
name: "Researcher",
descr: "is a good choice for intesse usage or a research group",
descr:
"is a good choice for intense professional usage or a research group",
expect: [
"Run many Jupyter Notebooks at once,",
"Run memory-intensive computations,",
"1 day idle-timeout is sufficient to not interrupt your work,",
"and to execute long-running calculations.",
"1 day idle-timeout is sufficient to not interrupt your work, and to execute long-running calculations.",
"More disk space also allows you to store larger datasets.",
],
note: (
<>
<Paragraph type="secondary">
If you need <b>vastly more dedicated disk space, CPU or RAM</b>, you
should instead{" "}
If you need{" "}
<b>much more dedicated disk space, a GPU, more CPU or RAM</b>, you
should also{" "}
<b>
rent a{" "}
<A href="https://doc.cocalc.com/compute_server.html">
compute server
</A>
.
use <A href="/features/compute-server">compute servers</A>.
</b>
</Paragraph>
</>
),
details: (
<>
This configuration allows the project to run many Jupyter Notebooks and
Worksheets at once or to run memory-intensive computations. An
idle-timeout of one day is sufficient to not interrupt your work; you
can also execute long-running calculations with this configuration.
Increasing the disk space quota also allows you to store larger
datasets. If you need{" "}
<b>vastly more dedicated disk space, CPU or RAM</b>, you should instead{" "}
This configuration allows the project to run many Jupyter Notebooks at
once and run memory-intensive computations. An idle-timeout of one day
is sufficient to not interrupt your work; you can also execute
long-running calculations with this configuration. Increasing the disk
space quota also allows you to store larger datasets. If you need{" "}
<b>much more dedicated disk space, a GPU, more CPU or RAM</b>, you
should also{" "}
<b>
rent a{" "}
<A href="https://doc.cocalc.com/compute_server.html">
compute server
</A>
.
use a <A href="/features/compute-server">compute server</A>.
</b>
</>
),
Expand Down
4 changes: 2 additions & 2 deletions src/packages/next/components/store/quota-config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const QuotaConfig: React.FC<Props> = (props: Props) => {
if (boost) {
return "Booster";
} else {
return "Quota upgrades";
return "Quota Upgrades";
}
}

Expand Down Expand Up @@ -557,7 +557,7 @@ export const QuotaConfig: React.FC<Props> = (props: Props) => {
<Col xs={16} offset={6} style={{ marginBottom: "20px" }}>
<Text type="secondary">
Configure the quotas you want to add on top of your existing
license. E.g. if your license provides a limit of 2G of RAM and
license. E.g. if your license provides a limit of 2 GB of RAM and
you add a matching boost license with 3 GB of RAM, you'll end up
with a total quota limit of 5 GB of RAM.
</Text>
Expand Down

0 comments on commit a18f271

Please sign in to comment.