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

Restructuring I #34

Merged
merged 4 commits into from Feb 26, 2020
Merged

Restructuring I #34

merged 4 commits into from Feb 26, 2020

Conversation

ricoberger
Copy link
Member

First part of the restructuring:

  • Splitting the utils file into multiple files. Adding a central place for API calls and localStorage operations.
  • Add comments to the code.
  • Enable tslint rule max-line-length and set the maximum length of a line to 120 characters.

Splitting the utils file into multiple files:

- api: Contains all methods for API requests. This includes requests
against the AWS and Google API and requests against the Kubernetes API
server.

- constants: Contains now also the keys for items whiche are saved into
the localStorage.

- storage: Contains all operations whiche are executed against
localStorage.

- helpers: Contains all other helper functions.
Instead of get and set we are using read and save for the functions for
localStorage, because some of the function names are also used for API
functions.
Add more comments to the context component and enable the tslint rule
for max line length.
@ricoberger ricoberger merged commit 649dead into master Feb 26, 2020
@ricoberger ricoberger deleted the restructuring branch February 26, 2020 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant