Repository navigation
Releases: joris-gallot/gpui-devtools
Releases · joris-gallot/gpui-devtools
Release list
v0.5.1
v0.5.0
What's new
- Add temporary style editing controls for the selected
Div, including size, spacing, border, opacity, background and visibility overrides - Add active override chips with diff labels and per-override reset actions
- Add incremental controls for width, height, padding, margin, border and opacity
- Add a computed values panel with measured bounds, content size, explicit dimensions, spacing, opacity, visibility and background
- Add copy/export actions for style summaries and Rust snippets, including active override diffs
Improvements
- Improve copied Rust snippets for non-uniform sides and border colors
- Split the inspector internals into smaller modules for box model, styles, copy helpers, UI helpers and style exports
gpui-devtools 0.5 targets gpui-pre 0.3.
v0.4.0
What's new
- Add a box model view with element bounds, content size, margin, border and padding
- Refresh the basic example with a richer layout for visual inspection
Fixes
- Prevent the picker highlight from drawing over the DevTools panel
- Clear the picker highlight immediately after selecting an element
- Remove the trailing separator from the last style row
gpui-devtools 0.4 targets gpui-pre 0.3.
v0.3.1
Fixes
- Support the
register_inspector_elementsignature introduced ingpui-pre0.3.6, which takes a factory returning the render closure. gpui-devtools 0.3.0 no longer compiles against it.
gpui-devtools 0.3.1 requires gpui-pre 0.3.6 or later.
v0.3.0
What's new
- GPUI DevTools now targets
gpui-pre0.3, the crates.io snapshot of Zed's GPUI also used by gpui-kit - CI on Linux, macOS and Windows, with a weekly run against the latest compatible
gpui-pre - Dependency license and advisory checks with
cargo deny - Smaller published crate containing only the library sources and assets
Breaking changes
gpui-devtools 0.3 requires gpui-pre 0.3. Applications on gpui 0.2 should stay on gpui-devtools 0.2.
To migrate, depend on GPUI through gpui-pre:
[dependencies]
gpui = { package = "gpui-pre", version = "0.3" }
gpui-devtools = { version = "0.3", optional = true }v0.2.0
What's new
- Structured style inspector grouped by layout, spacing, appearance and typography
- Compact spacing, border and radius values
- Color previews with hexadecimal values
- Copy actions for source locations and global element IDs
- Refined picker, layout panel and header controls
- Compatibility with current GPUI text refinements
v0.1.0
First public release of gpui-devtools.
Features
- Element picker and inspector
- Source locations and GPUI element IDs
- Element bounds and content size
- Raw Div style refinements
- Global toggle action with an optional default keybinding