mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-01 08:10:13 +00:00
feat: load a large result on request, ten render_all elements at a time (#12664)
* feat: show a large result as one placeholder that loads it on request Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep other json trees as on main, explain results drawn as json, and drop render_all cards in narrow panes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: draw loaded images over 5 MB, load a non-list render_all whole, restart Load after reselecting a run Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: say a large render_all lists up to 100 elements Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8064fa8fb6
commit
d1abc75fa6
Generated
+9
@@ -8763,6 +8763,15 @@ of the shapes below is shown as JSON.
|
||||
Each shape is an object with that one key (plus \`filename\` for a file, and an optional \`storage\` for
|
||||
\`s3\`). A result carrying any other key beside it is shown as JSON.
|
||||
|
||||
## Large results
|
||||
|
||||
A result stored above about 90 KB is not sent with the run: the run page and the editors offer it
|
||||
as a JSON download, with a Load button that draws it on request. A \`render_all\` lists up to 100 of
|
||||
its elements with their type and size, counts the rest, and loads them ten at a time. To have a large result previewed without a
|
||||
click, write the content to the workspace storage and return \`{ "s3": "path/to/key" }\`, which is
|
||||
previewed by type; for a generated image, also keep it small (a JPEG, or fewer pixels) when it only
|
||||
needs to be looked at.
|
||||
|
||||
## Choosing one
|
||||
|
||||
A chart answers a question at a glance: a trend over time (line), a comparison across categories
|
||||
|
||||
Reference in New Issue
Block a user