SketchUp traditionally ships not a huge API for OS-native user interfaces (see the UI module,
UI.messagebox). This would always have limitations in regard to what UI ideas developers can realize and distract focus and effort away from SketchUp’s core expertise, 3D.
Frameworks have been suggested, like jQuery UI, Angular, React.js and Vue.js (recommended by several of SketchUp’s own projects). In contrast to jQuery UI, the latter require more developer setup (like npm, typescript or transpiling/building). They have some downsides like
- big library size (Angular), whereas most HtmlDialogs (like a messagebox alternative) are single-page web apps with often exactly one page (no routing)
- higher barrier of entry: When building steps are necessary, the dialog does not run from the raw source code and users or potential contributers might be less likely to join. But from experience, most open-source efforts for SketchUp extensions didn’t grow a community. Typically the main developer is the only developer.
Does anyone have experience with svelte?