mariuspopovici / starlimsvscode

STARLIMS VS Code Extension
MIT License
15 stars 3 forks source link

Create HTML forms designer #49

Open MrDoe opened 1 year ago

MrDoe commented 1 year ago

I've just started to create a new Starlims application called "FormDesigner" for being able to create and edit HTML forms without Starlims Designer.

It's in a very early state and not functional at the moment, but I will keep you up to date when I make some progress.

My vision is to integrate it someday into the VS Code extension for being able to design HTML forms visually like in the Starlims Designer.

MrDoe commented 1 year ago

A first screenshot of the WIP: image

Currently you can add new controls and move them with the mouse by holding down the shift key and modify their single valued properties (e. g. Text, Width, Height, etc.). Saving is not implemented yet.

@mariuspopovici: Do you know if we can use the icons in an open source project or are they licensed somehow? If not, I'd replace them with free icons.

mariuspopovici commented 1 year ago

Looks awesome! I'll try and find out about the icons but I believe the icons are open source, just need to confirm but the person who would know for sure is on vacation.

MrDoe commented 1 year ago

I plan to continue this project in September as I will be on vacation starting tomorrow.

mariuspopovici commented 1 year ago

Enjoy and thanks for your work on this project! I'm at a campground in Norway, getting ready for another 5h drive to the next place :)

MrDoe commented 1 year ago

Thanks, I'm happy to do that! It also makes my job easier because it allows me to use Github Copilot for my Starlims customizations. 🙂

Cool, Norway is a country I'd also like to visit someday.

We've rented a beach house in Netherlands. I hope the weather cooperates.

MrDoe commented 1 year ago

Since last week, I've continued to work on the form designer. There are still some bugs and a few things missing, but I hope to finish my first preliminary version next week so that I can include it in my next pull request.

image

mariuspopovici commented 1 year ago

Looks very cool :) I like the outline too.

MrDoe commented 12 months ago

Okay, the first version is out! 🥳 Use with caution, there may still be bugs that I have not yet discovered!

I provides only basic functionality right now and I still haven't tested all controls. Functionalities that are still missing:

MrDoe commented 3 months ago

I've made some major improvements on this project. I decided to use the outline tree for managing RootTables, BarItems and Groups via the context menu and fixed many bugs. The most common controls are now supported by FormDesigner, but systematic testing with all controls is still needed.