OpenEnergyPlatform / OpenEnergyPlatform/oeplatform
Scenario Bundles: Enhance frontend form by generating input fields from SHACL shape
@jh-RLI is already working on this.
Since Oct 24, 2025.
- Dominant language
- Python
- Stars
- 65
- Forks
- 29
- Avg merge
- 15h 25m
- Merged PRs (30d)
- 32
Description
Description of the issue
Currently, we maintain the scenario bundles as REACT app and we have to add or remove input fields while carefully reading the OEKG structure to make sure the Frontend and KG structure are in line to produce the correct output. This comes with a high maintenance effort if the OEKG changes and also introduces some errors in the past.
On CORDI i heard about https://github.com/ULB-Darmstadt/shacl-form which can generate a Web form from a SHACL shape. This would lift of a lot of maintenance efforts. We would first have to test out and make sure this can be integrated and produce a user-friendly frontend and can be integrated with our autocomplete options and more ...
Ideas of solution
We can use the SHACL shape we have here to generate a Web form as Frontend of the OEKG fully automated.
Workflow checklist
- I am aware of the workflow in CONTRIBUTING.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.