A simple declarative debug interface for JS/TS
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Tried making a website and did some fixes to the library, now being at 1.1.0. I also made a comprehensive readme at https://github.com/HydrogenMacro/dbgui/tree/master
Finished making all the widgets, did a ton of refinement, started making the showcase/docs website, forgot to make devlogs, all the usual stuff. Anyways, how has your day been?
After days of absolute pain from failed attempts, I have finally made all handles resizable. It still is quite jank, but I have removed the edge buffers visible in the last devlog in favor of not having edge cases.
Scrapped and redid resizing and covered all edge cases.
Turns out making a plan for what you want to implement can be pretty useful for things that have a ton of edge cases/failure possibilities. For example, I documented all the cases that needed to be considered for my resizing function:
// factors to consider:
// is dragging up or down?
// if dragging down, is box at minHeight?
// if dragging up, is box at maxHeight?
// if dragging down, is box at bottom side?
// if dragging up, is box at top side?
I didn't realize that devlogs were required, so I did a ton of work without making one. Anyways, after some work, I now have a working UI, 2 widgets, and the basic API done.