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

StorageManager #74

Open
skynethubio opened this issue May 10, 2021 · 0 comments
Open

StorageManager #74

skynethubio opened this issue May 10, 2021 · 0 comments

Comments

@skynethubio
Copy link
Collaborator

skynethubio commented May 10, 2021

portalJSON
version :1
portalName
portalUrl
portalType: free, paid

Actions: add storage, edit, delete

Need to create get/set method in SnSkappService.js

currently JSON will be stored in local storage. Later I will add backend logic.
Main portalObject -- > {portalName1: portalJSON1, portalname2: portalJSON2.....]

validation: can't add existing portalName. (if portalName: ABC already exist, user can't add it and it needs to show as validation error next to portal name field on model )

Main portalObject needs to be maintained in redux store so that other pages can also user it

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

No branches or pull requests

3 participants