zed/crates/skill_creator
MartinYe1234 a718a2bde6
skill_creator: Make window resizable and form scrollable (#57754)
The Skill Creator window previously couldn't be resized — its minimum
size was set to the same dimensions as its initial size, so users
couldn't make it smaller or shorter. Its contents also didn't scroll, so
on smaller windows the Skill Content editor would be squeezed below its
usable size.

This change:

- Lowers the window's minimum size to 500×420 so it can be resized in
both directions.
- Wraps the form body in a scrollable container with a vertical
scrollbar.
- Replaces `flex_1 + min_h_0` on the form fields and Skill Content
wrapper with `flex_grow + flex_shrink_0`. Combined with the existing
`min_h(160)` on the body editor, this means:
- When there's extra vertical space, the Skill Content editor grows to
fill it.
- When the window is short, the form keeps its content at natural size
and the outer container scrolls instead of crushing the editor.

Closes AI-315
Release Notes:

- Made the Skill Creator window resizable and its contents scrollable
when the window is smaller than the form.
2026-05-27 13:27:07 +00:00
..
src skill_creator: Make window resizable and form scrollable (#57754) 2026-05-27 13:27:07 +00:00
Cargo.toml Add skill import from GitHub URL (#57458) 2026-05-26 02:04:08 +00:00
LICENSE-GPL Replace Rules UI with Skills creation UI (#56924) 2026-05-20 02:40:57 +00:00