OpenEnergyPlatform / OpenEnergyPlatform/oeplatform

Improve usage of oep javaScript functionality

Open
#1,307 0 comments 0 reactions 1 assignee View on GitHub

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.