* Studio: keep grouped Python scripts visible and save them natively
* Studio: render the executed Python script outside the card collapsible
Ungrouping the aggregate tool group was not enough on its own. Each Python
card still mounts with defaultOpen={isRunning}, so on a reopened turn the
script and its Copy/Download controls stayed hidden behind the card's own
chevron and the reported issue persisted.
Render ToolCodeCell outside ToolFallbackContent for Python, restoring the
behaviour from #7240 that #7455 folded back inside when it unified the code
cell. Status, output and images still collapse. Terminal keeps its command
inside the collapsible: a one-line command is not the artifact a user reopens
a thread to retrieve, a script is.
Verified against a running Studio: reopening a persisted turn with two
adjacent Python calls now shows both scripts and both Download controls with
no clicks, and Download still saves byte-exact script.py.
---------
Co-authored-by: Daniel Han <danielhanchen@gmail.com>
|
||
|---|---|---|
| .. | ||
| diagnostics | ||
| preflight | ||
| app_layout.rs | ||
| commands.rs | ||
| desktop_auth.rs | ||
| desktop_backend_owner.rs | ||
| desktop_update_policy.rs | ||
| install.rs | ||
| main.rs | ||
| native_backend_lease.rs | ||
| native_clipboard.rs | ||
| native_file_dialogs.rs | ||
| native_intents.rs | ||
| native_path_policy.rs | ||
| preflight.rs | ||
| process.rs | ||
| update.rs | ||
| windows_job.rs | ||