diff --git a/src/packages/frontend/projects/create-project.tsx b/src/packages/frontend/projects/create-project.tsx index 08ca14120d..dee3ae9d4a 100644 --- a/src/packages/frontend/projects/create-project.tsx +++ b/src/packages/frontend/projects/create-project.tsx @@ -48,9 +48,10 @@ interface Props { type EditState = "edit" | "view" | "saving"; -export const NewProjectCreator: React.FC = (props: Props) => { - const { start_in_edit_mode, default_value } = props; - +export const NewProjectCreator: React.FC = ({ + start_in_edit_mode, + default_value, +}: Props) => { const managed_licenses = useTypedRedux("billing", "managed_licenses"); // view --> edit --> saving --> view @@ -79,6 +80,8 @@ export const NewProjectCreator: React.FC = (props: Props) => { [customize_kucalc], ); + //const requireLicense = customize_kucalc == KUCALC_COCALC_COM; + const [form] = Form.useForm(); useEffect(() => { @@ -227,7 +230,7 @@ export const NewProjectCreator: React.FC = (props: Props) => { function create_disabled() { return ( // no name of new project - title_text === "" || + !title_text?.trim() || // currently saving (?) state === "saving" || // user wants a non-default image, but hasn't selected one yet @@ -381,36 +384,48 @@ export const NewProjectCreator: React.FC = (props: Props) => { /> +
+ You can change the title at any time. +
- A project is an - isolated private computational workspace that you can share with - others. You can easily change the project's title at any time in - project settings. + A project is a + private computational workspace that you can use with + collaborators that you explicitly invite. You can attach powerful{" "} + + GPUs, CPUs + {" "} + and{" "} + + storage + {" "} + to a project.
- {render_advanced_toggle()} - {render_advanced()} {render_add_license_toggle()} {render_add_license()} {render_license()} + {render_advanced_toggle()} + {render_advanced()} - - - - + +