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

Add remote layout management to UI #27

Closed
pling-scottlogic opened this issue Aug 25, 2023 · 0 comments · Fixed by #74
Closed

Add remote layout management to UI #27

pling-scottlogic opened this issue Aug 25, 2023 · 0 comments · Fixed by #74
Assignees
Labels

Comments

@pling-scottlogic
Copy link

pling-scottlogic commented Aug 25, 2023

Background

In #20, we create a front-end interface to handle all layout persistence. We need to make an implementation of this interface to communicate with the REST service created in #25 to handle remote layout storage.

Base on #20 branch

Work Required

  • add environment variable to pick local or remote
  • Make a "remote storage" implementation of the layout persistence interface
  • Have the load/save/update/delete methods call through to the appropriate GET/POST/PUT/DELETE endpoints
  • Handle potential HTTP 500 errors (and any other non-2xx) appropriately

Testing

We will need to mock the API response.

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

Successfully merging a pull request may close this issue.

3 participants