OpenEnergyPlatform / OpenEnergyPlatform/oeplatform
Improve usage of oep javaScript functionality
Open
Nobody has claimed this yet.
type: enhancement :gear:
- Dominant language
- Python
- Stars
- 65
- Forks
- 29
- Avg merge
- 15h 25m
- Merged PRs (30d)
- 32
Description
Description of the issue
Idea by @wingechr
eventually, it would be nice to consolidate all the various javascripts that use the api into one api frontend object.
For instance, currently, there are 7 javascript files that define a getCookie function.
Ideas of solution
- Create a structure for javaScript functionality to comply with DRY principle
- Reorganize duplicated functionality
- Import reorganized functionality in relevant JS files
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.