Skip to content

Remove undefined and scroll bar from output pane#1217

Merged
shepmaster merged 3 commits intomainfrom
last-second-fixin
May 6, 2026
Merged

Remove undefined and scroll bar from output pane#1217
shepmaster merged 3 commits intomainfrom
last-second-fixin

Conversation

@shepmaster
Copy link
Copy Markdown
Member

No description provided.

shepmaster added 3 commits May 6, 2026 11:11
See "Required object properties with z.undefined()" in the [Zod 4.4
release notes][notes] for further detail.

Practically speaking, this resulted in the `wsExecuteBegin` message
not being parsed, which meant that the stdout / stderr information
didn't get set back to the empty string, causing an `undefined` string
to show up in the UI.

[notes]: https://github.com/colinhacks/zod/releases/tag/v4.4.0
This was lost in the resizing refactor. Without it, the output can
cause a scrollbar to appear on the whole page.
@shepmaster shepmaster added bug The playground isn't doing what it was intended to maintenance Keeping the wheels turning labels May 6, 2026
@shepmaster shepmaster merged commit cd05b5f into main May 6, 2026
20 checks passed
@shepmaster shepmaster deleted the last-second-fixin branch May 6, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug The playground isn't doing what it was intended to maintenance Keeping the wheels turning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant