From e0d539c9b4cdfc7810deb5062dda88b95d0426bc Mon Sep 17 00:00:00 2001 From: peterschmidt85 Date: Sun, 25 May 2025 10:55:35 +0200 Subject: [PATCH] [UI] Minor update of help messages; plus removed TensorDock from the reference page --- docs/docs/reference/server/config.yml.md | 6 +++--- .../pages/Project/Backends/Table/constants.tsx | 15 +++++++++++---- .../pages/Project/Backends/YAMLForm/constants.tsx | 6 +++--- .../pages/Project/Details/Settings/constants.tsx | 10 +++++++++- .../pages/Project/Gateways/Table/constants.tsx | 3 ++- 5 files changed, 28 insertions(+), 12 deletions(-) diff --git a/docs/docs/reference/server/config.yml.md b/docs/docs/reference/server/config.yml.md index fdf6e5bcdd..a021c138a0 100644 --- a/docs/docs/reference/server/config.yml.md +++ b/docs/docs/reference/server/config.yml.md @@ -15,7 +15,7 @@ to configure [backends](../../concepts/backends.md) and other [sever-level setti overrides: show_root_heading: false backends: - type: 'Union[AWSBackendConfigWithCreds, AzureBackendConfigWithCreds, GCPBackendConfigWithCreds, LambdaBackendConfigWithCreds, NebiusBackendConfigWithCreds, RunpodBackendConfigWithCreds, TensorDockBackendConfigWithCreds, VastAIBackendConfigWithCreds, KubernetesConfig]' + type: 'Union[AWSBackendConfigWithCreds, AzureBackendConfigWithCreds, GCPBackendConfigWithCreds, LambdaBackendConfigWithCreds, NebiusBackendConfigWithCreds, RunpodBackendConfigWithCreds, VastAIBackendConfigWithCreds, KubernetesConfig]' #### `projects[n].backends` { #backends data-toc-label="backends" } @@ -194,7 +194,7 @@ to configure [backends](../../concepts/backends.md) and other [sever-level setti type: required: true -##### `projects[n].backends[type=tensordock]` { #tensordock data-toc-label="tensordock" } + ##### `projects[n].backends[type=oci]` { #oci data-toc-label="oci" } diff --git a/frontend/src/pages/Project/Backends/Table/constants.tsx b/frontend/src/pages/Project/Backends/Table/constants.tsx index 509ba2dc0c..ac23a6881c 100644 --- a/frontend/src/pages/Project/Backends/Table/constants.tsx +++ b/frontend/src/pages/Project/Backends/Table/constants.tsx @@ -1,19 +1,26 @@ import React from 'react'; export const BACKENDS_HELP_SKY = { - header:

SKy Backends

, + header:

Backends

, body: ( <> -

Some text

+

To use dstack with cloud providers, you have to configure backends.

+

Marketplace

+

By default, dstack Sky includes a preset of backends that let you access compute from the {' '} + dstack marketplace and pay through your dstack Sky user billing.

+

Your own cloud accounts

+

You can also configure custom backends to use your own cloud providers, either instead of or in addition to the default ones.

+

See the documentation for the list of supported backends.

), }; export const BACKENDS_HELP_ENTERPRISE = { - header:

Enterprise Backends

, + header:

Backends

, body: ( <> -

Some text

+

To use dstack with cloud providers, you have to configure backends.

+

See the documentation for the list of supported backends.

), }; diff --git a/frontend/src/pages/Project/Backends/YAMLForm/constants.tsx b/frontend/src/pages/Project/Backends/YAMLForm/constants.tsx index 1117521af2..9d47cfc830 100644 --- a/frontend/src/pages/Project/Backends/YAMLForm/constants.tsx +++ b/frontend/src/pages/Project/Backends/YAMLForm/constants.tsx @@ -22,7 +22,7 @@ export const CONFIG_YAML_HELP_SKY = {

You can see all supported backend types at the{' '} - + documentation . @@ -30,7 +30,7 @@ export const CONFIG_YAML_HELP_SKY = {

Your own cloud account

If you want to use your own cloud account, configure creds and other settings according to the{' '} - + documentation . Example: @@ -68,7 +68,7 @@ export const CONFIG_YAML_HELP_ENTERPRISE = {

Each backend type may support different properties. See the{' '} - reference page for more examples. + documentaiton for more examples.

), diff --git a/frontend/src/pages/Project/Details/Settings/constants.tsx b/frontend/src/pages/Project/Details/Settings/constants.tsx index 9352250312..8963724323 100644 --- a/frontend/src/pages/Project/Details/Settings/constants.tsx +++ b/frontend/src/pages/Project/Details/Settings/constants.tsx @@ -4,7 +4,15 @@ export const CLI_INFO = { header:

CLI

, body: ( <> -

Some text

+

+ To use this project with your CLI, add it using the + + dstack project add command. +

+

+ To learn how to install the CLI, refer to the{' '} + installation guide. +

), }; diff --git a/frontend/src/pages/Project/Gateways/Table/constants.tsx b/frontend/src/pages/Project/Gateways/Table/constants.tsx index 716f3572d1..9b03b807b8 100644 --- a/frontend/src/pages/Project/Gateways/Table/constants.tsx +++ b/frontend/src/pages/Project/Gateways/Table/constants.tsx @@ -4,7 +4,8 @@ export const GATEWAYS_INFO = { header:

Gateways

, body: ( <> -

Some text

+

Gateways manage the ingress traffic for running services.

+

To learn more about gateways, see the documentation.

), };