1.8.0 (26 March 2023): "this has been a long time coming" update. I'm pleased to bring you this fairly big update, which includes the following changes:
- New feature (beta): Colour picker, using ace-colorpicker by easylogic. Huge thank you to Venfaaniik for bringing the extension to my attention and working with me to integrate it! There are still some little bugs that I'll iron out...eventually.
- New feature: Mobile view toggle. This was requested a lot and I'm still ironing it out across various devices (the flex sizing can be finicky).
- New feature: Undo and redo buttons. This was also requested a lot and the poll indicated that most people would find this useful. Hopefully makes for easier mobile coding.
- New feature: Show/hide UI panel button. Now you can hide the entire UI and preview your code at the full screen size. It's the little pink button in the bottom right corner of the preview area.
- New layouts: Bulletin, world page, literature chapter
- Updated feature: Code import now imports both HTML and CSS from the chosen page (if the "allow-thcj-import" line is found on the page) and should also be a little less buggy.
- Under the hood: PHP backend now imports Toyhouse pages with cURL instead of include (the janky and kinda insecure old-fashioned way of doing it).
- Housekeeping/debug: Tooltips should now appear on mouse over. There may be some layouts where I haven't caught non-functional tooltips—let me know if you find any.
- Housekeeping/debug: Reorganised layout menu into an order that makes a bit more sense.
- Housekeeping/debug: Cleaned up and deidentified the layouts because I found some story IDs here and there.
By the way, the Github repo is also way, way tidier now, and now has a readme that will hopefully make it much easier to start edited and previewing in a local dev environment. I moved the manual versioning out of the dev environment (as I should have done long ago). You're always welcome to help me out if you wish. I'm just one person and there's a lot of feature requests and bug reports!
Because of the size of this update, I'm expecting there to be some bugs that I haven't caught. As always, if you run into any issues, you can report the bug here and use the previous version. And of course, if you like the work I'm doing, I'm always happy for donations to my Ko-fi!