Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create HTML forms designer #49

Open
MrDoe opened this issue Jul 20, 2023 · 9 comments
Open

Create HTML forms designer #49

MrDoe opened this issue Jul 20, 2023 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@MrDoe
Copy link
Collaborator

MrDoe commented Jul 20, 2023

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 MrDoe added the enhancement New feature or request label Jul 20, 2023
@MrDoe MrDoe self-assigned this Jul 20, 2023
@MrDoe
Copy link
Collaborator Author

MrDoe commented Jul 21, 2023

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
Copy link
Owner

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
Copy link
Collaborator Author

MrDoe commented Aug 11, 2023

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

@mariuspopovici
Copy link
Owner

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
Copy link
Collaborator Author

MrDoe commented Aug 12, 2023

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
Copy link
Collaborator Author

MrDoe commented Nov 2, 2023

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
Copy link
Owner

Looks very cool :) I like the outline too.

@MrDoe
Copy link
Collaborator Author

MrDoe commented Nov 17, 2023

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:

  • RootTable designer for DataGrids
  • Edit items in ButtonBar, LinkBar, TreeView, TreeListView, ListBox, ListView
  • Select TabPage via mouse click (only from the outline works atm.)
  • Color picker for selecting colors
  • Font selector dialog
  • Select and load data sources for controls

@MrDoe
Copy link
Collaborator Author

MrDoe commented Jul 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants