Gone too wild playing with Workbench and Blueprint.
@sonny Thank you! Workbench has been a very fun playground. Would it be possible to write multiple files, so user can like to write templates? Kind of like usual gtk gnome-builder project way.
@waimus can you describe a bit more precisely what problem it would solve?
I have to be careful not to re-implement GNOME Builder 😅
@sonny Basically working with multiple UI/blueprint files, I mean like I can define templates, then reuse them in other UI/blueprint file to avoid long repetition.
And I have planned https://github.com/sonnyp/Workbench/issues/62
Both should help, but ideally, once your prototype has reached a certain size – you would move it to GNOME Builder and use Workbench to build smaller parts of your app.
@sonny oh I see. The issue #62 is pretty good. I did think about if it's possible to do that while using Workbench.
@waimus one issue I've encountered while building the Icon Browser is that GTK Builder only support a single template per UI definition.
Supporting multiple UI files could solve it, but it's low on my todo list.
@waimus looks surprisingly like a website, but I don’t think it should be surprising, considering how close layouts and styling are to the web stuff…
@xerz I specifically tried to imitated Mastodon homepage UI. But yes it's somewhat similar to writing HTML files. Blueprints are compiled to XML defining the GTK UI layout and I also use CSS to style a lot of stuff.
@waimus did you end up publishing this somewhere? I might be interested in making a GNOME Mastodon client.
A newer server operated by the Mastodon gGmbH non-profit