Skip to content

Releases: joris-gallot/gpui-devtools

v0.5.1

Choose a tag to compare

@joris-gallot joris-gallot released this 29 Sep 16:55

Fixes

  • Fix the Computed panel values not rendering in the inspector.

gpui-devtools 0.5.1 targets gpui-pre 0.3.

v0.5.0

Choose a tag to compare

@joris-gallot joris-gallot released this 29 Sep 16:39

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

Choose a tag to compare

@joris-gallot joris-gallot released this 22 Sep 21:21

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

Choose a tag to compare

@joris-gallot joris-gallot released this 21 Sep 14:55

Fixes

  • Support the register_inspector_element signature introduced in gpui-pre 0.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

Choose a tag to compare

@joris-gallot joris-gallot released this 19 Sep 18:42

What's new

  • GPUI DevTools now targets gpui-pre 0.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

Choose a tag to compare

@joris-gallot joris-gallot released this 16 Aug 19:35

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

Choose a tag to compare

@joris-gallot joris-gallot released this 16 Aug 17:37

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