-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
109 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add language to workspace environment sections to help users distinguish between environments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...components/workspaces/WorkspaceEnvironmentDescription/WorkspaceEnvironmentDescription.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React, { PropsWithChildren } from 'react'; | ||
import Typography from '@mui/material/Typography'; | ||
import Stack from '@mui/material/Stack'; | ||
|
||
import HighEmphasis from 'js/shared-styles/text/HighEmphasis'; | ||
import ContactUsLink from 'js/shared-styles/Links/ContactUsLink'; | ||
|
||
function WorkspaceEnvironmentDescription({ children }: PropsWithChildren) { | ||
return ( | ||
<Stack spacing={2}> | ||
<Typography> | ||
All workspaces environments have built-in Python support, with the option to include R or pre-installed packages | ||
as needed. To view the full list of packages, use the <HighEmphasis>help('modules')</HighEmphasis>{' '} | ||
command for Python or <HighEmphasis>install.packages()</HighEmphasis> for R in your workspace. | ||
</Typography> | ||
{children} | ||
<Typography> | ||
Please note that selecting environments with extra features may result in longer loading times. For environments | ||
with GPU packages, it is strongly recommended to enable GPU support in the advanced configurations section. | ||
Since GPU resources are limited, please select this option only if it is essential for your workspace. | ||
</Typography> | ||
<Typography> | ||
If you have questions about these environments and their respective packages or suggestions for improvements, | ||
please <ContactUsLink />. | ||
</Typography> | ||
</Stack> | ||
); | ||
} | ||
|
||
export default WorkspaceEnvironmentDescription; |
3 changes: 3 additions & 0 deletions
3
context/app/static/js/components/workspaces/WorkspaceEnvironmentDescription/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import WorkspaceEnvironmentDescription from './WorkspaceEnvironmentDescription'; | ||
|
||
export default WorkspaceEnvironmentDescription; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React, { PropsWithChildren } from 'react'; | ||
import Typography, { TypographyProps } from '@mui/material/Typography'; | ||
|
||
function HighEmphasis({ children, ...rest }: PropsWithChildren & TypographyProps) { | ||
return ( | ||
<Typography variant="subtitle2" color="textPrimary" component="span" {...rest}> | ||
{children} | ||
</Typography> | ||
); | ||
} | ||
|
||
export default HighEmphasis; |