mirror of
https://github.com/stablyai/orca.git
synced 2026-10-03 00:02:19 +00:00
fix(artifacts): clarify oversized request error
This commit is contained in:
@@ -97,7 +97,7 @@ describe('artifact publish flow', () => {
|
||||
await expect(publishArtifactFromSurface(createRequest)).resolves.toBeNull()
|
||||
expect(mocks.callRuntimeRpc).not.toHaveBeenCalled()
|
||||
expect(mocks.toastError).toHaveBeenCalledWith('Could not share artifact', {
|
||||
description: 'Artifacts shared from Orca must be 5 MB or smaller.'
|
||||
description: 'This artifact is too large to share.'
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ function artifactPreparationErrorDescription(code: ArtifactPublishPreparationErr
|
||||
case 'too-large':
|
||||
return translate(
|
||||
'auto.components.artifacts.artifact-publish-flow.6112db5a1c',
|
||||
'Artifacts shared from Orca must be 5 MB or smaller.'
|
||||
'This artifact is too large to share.'
|
||||
)
|
||||
case 'unreadable':
|
||||
return translate(
|
||||
|
||||
@@ -16415,7 +16415,7 @@
|
||||
"2fc727c831": "Artifact updated",
|
||||
"5cb4f5ec36": "Copy link",
|
||||
"fbb5018602": "This file is empty.",
|
||||
"6112db5a1c": "Artifacts shared from Orca must be 5 MB or smaller.",
|
||||
"6112db5a1c": "This artifact is too large to share.",
|
||||
"e2ed5acd8c": "Orca couldn't read this file. Open it from a workspace and try again.",
|
||||
"6d475e9b25": "Only local HTML and Markdown files can be shared as artifacts.",
|
||||
"29a406be09": "Artifacts must contain text."
|
||||
|
||||
Reference in New Issue
Block a user