impulse
impulse copied to clipboard
[feature request] resizable window / mount on different size
Hi! Love Impulse, very good 10/10
Could be 11/10 though if I was able to resize the window or mount it to the side of the window like you can do the devtools.
On my MacBook I often find that the Impulse dev takes up juuuuuuuust too much space and I'd want it to be slightly smaller.
Hey,
Thanks for your request!
It will take a while to implement a bullet-proof draggable experience, let alone mount it on the side.
However, I've just shipped a config option you can use to control the height of that bottom panel. Available in 0.3.0.
if (process.env.NODE_ENV === 'development') {
- import('@impulse.dev/runtime').then((impulse) => impulse.run())
+ import('@impulse.dev/runtime').then((impulse) => impulse.run({
+ config: { panel: { height: 300 } }
+ }))
}
^^^ doesn't work as of 0.4.5
Sorry to hear that!
Unfortunately, I kind of abandoned working on this project even though I still use it when working on front-end stuff.
If you decide to fix it, I'd be happy to accept a PR.