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

User can save a map to Azure storage #11

Open
mikefab opened this issue Oct 2, 2018 · 1 comment
Open

User can save a map to Azure storage #11

mikefab opened this issue Oct 2, 2018 · 1 comment
Labels
hard RedHat Hackathon difficulty level 3 priority:high Needs immediate attention redhat RedHat's Tech Exchange Hackathon

Comments

@mikefab
Copy link
Collaborator

mikefab commented Oct 2, 2018

What type of data to be saved?

Maps - kepler exports maps into a file called config.json. It has three nodes:

  • datasets: an array of datasets
  • config: the layer configurations which contain dataset names (dataId to be exact, which references the id value inside the datasets node. See Kepler.gl docs here and here).
  • info: metadata about the file itself.

Where should the data be stored?

UNICEF uses Azure, so many static files are in Azure blob or file storage. Here is an npm module to interact with Azure.

What functionality should the feature have?

When a user logs in to create a map, a function should check to see if they have a storage folder already in Azure storage. If not, one should be created with their username. The user should be able to create a visualization and then name and save the map to this folder when it is completed.

As a bonus, create an autosave feature that saves an untitled map upon creation and periodically throughout (every x seconds or minutes, for example) and/or create an alert that would remind user to save before closing out the browser window.

Test datasets and sample maps will be made available on Azure storage or via a drive

@mikefab mikefab added redhat RedHat's Tech Exchange Hackathon priority:high Needs immediate attention labels Oct 2, 2018
@marcellamaki marcellamaki changed the title User can create, save, and manage multiple maps User can save a map to Azure storage Oct 9, 2018
@mikefab mikefab added the hard RedHat Hackathon difficulty level 3 label Oct 11, 2018
@cpitman
Copy link
Contributor

cpitman commented Oct 11, 2018

Depends on #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hard RedHat Hackathon difficulty level 3 priority:high Needs immediate attention redhat RedHat's Tech Exchange Hackathon
Projects
None yet
Development

No branches or pull requests

2 participants