haxtheweb / issues

Issue queue for hax, haxcms, elmsln, lrnwebcomponents, wcfactory, websites and more.
Apache License 2.0
11 stars 1 forks source link

config style support in HAXcms / HAXiam for organizations to define their own components / themes to load #1896

Open btopro opened 8 months ago

btopro commented 8 months ago

We have some settings around this that can be hard coded like "hey let's only enable these 10 blocks" but not really a "keep the 20 you have given me but mix in these 5 that I made". This would allow an organization / user implementing HAX to...

To make this possible...

custom-blocks.json coming from config would allow for loading the known additional elements to auto turn on and be selectable in HAX editor without modifying the other file custom-themes.json coming from config would allow for loading the known additional themes discovered to auto turn on but also be available for selection in the system

This starts taking the customization / working with HAX to extend it into the territory of JS tooling person and another step away from PHP / manual configuration even if just a small one.