mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
fix(cloud-api): API keys empty state doesn't mention routines while they are parked
This commit is contained in:
@@ -27,6 +27,7 @@ import type { CloudLoadState } from './cloud-load-state'
|
||||
import { CreateApiKeyDialog } from './CreateApiKeyDialog'
|
||||
import { formatKeyPrefix } from './cloud-api-format'
|
||||
import { PersonSentence } from './PersonName'
|
||||
import { CLOUD_ROUTINES_UI_ENABLED } from '../../../../../shared/cloud-api/cloud-routines-ui'
|
||||
import { CloudApiEmptyState, CloudApiSkeletonRows } from './cloud-api-parts'
|
||||
import { KeyRow } from './ApiKeyRow'
|
||||
|
||||
@@ -192,10 +193,17 @@ export function CloudApiKeysView(props: CloudApiKeysViewProps): React.JSX.Elemen
|
||||
<CloudApiEmptyState
|
||||
icon={KeyRound}
|
||||
title={t('auto.components.settings.cloudApi.keys.emptyTitle', 'No Orca API keys yet')}
|
||||
description={t(
|
||||
'auto.components.settings.cloudApi.keys.emptyBody',
|
||||
'Create a key to start workspaces, message agents and run routines from scripts, CI or any MCP client.'
|
||||
)}
|
||||
description={
|
||||
CLOUD_ROUTINES_UI_ENABLED
|
||||
? t(
|
||||
'auto.components.settings.cloudApi.keys.emptyBody',
|
||||
'Create a key to start workspaces, message agents and run routines from scripts, CI or any MCP client.'
|
||||
)
|
||||
: t(
|
||||
'auto.components.settings.cloudApi.keys.emptyBodyNoRoutines',
|
||||
'Create a key to start workspaces and message agents from scripts, CI or any MCP client.'
|
||||
)
|
||||
}
|
||||
action={createButton}
|
||||
/>
|
||||
) : (
|
||||
|
||||
@@ -14424,6 +14424,7 @@
|
||||
"unavailable": "Your keys appear here once Orca Cloud is reachable.",
|
||||
"emptyTitle": "No Orca API keys yet",
|
||||
"emptyBody": "Create a key to start workspaces, message agents and run routines from scripts, CI or any MCP client.",
|
||||
"emptyBodyNoRoutines": "Create a key to start workspaces and message agents from scripts, CI or any MCP client.",
|
||||
"listLabel": "Orca API keys",
|
||||
"customScopeCount_one": "Custom · {{count}} scope",
|
||||
"customScopeCount_other": "Custom · {{count}} scopes",
|
||||
|
||||
Reference in New Issue
Block a user