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

Create User Preferences API in JS side #275

Closed
hdsdi3g opened this Issue Jun 6, 2017 · 0 comments

Comments

@hdsdi3g
Owner

hdsdi3g commented Jun 6, 2017

Server side was previously implemented.

  • Create API for User Preferences, outside React scope (in plain JS vanilla)
    • Get key by name (eg. aaa.bbb.ccc)
    • Get if key exists
    • Get current value for key or create default value for missing key
    • Get last User Preferences json datas in main page load,
    • Set key value: push data (simple var, array, object), with async server push update
  • Create page for current user configuration
    • Display some informations for it like name, lang and mail addr, last login
    • Add a button for self test mail
    • Let user change its user password (only for not-AD users)
    • Let user change its user mail addr (only for not-AD users)
    • Display raw-json for current user preferences in an editor (with crud)

Data item is stored like:

"aaa.bbb.ccc" : {
   val: value/json array/json tree
   crd: <created, unixtime>
   upd: <updated, unixtime>
},
  • Create an onChange callback manager for each item ?

@hdsdi3g hdsdi3g added the enhancement label Jun 6, 2017

@hdsdi3g hdsdi3g added this to the v0 Beta version milestone Jun 6, 2017

@hdsdi3g hdsdi3g self-assigned this Jun 6, 2017

hdsdi3g added a commit that referenced this issue Jun 6, 2017

@hdsdi3g hdsdi3g moved this from Planned to In progress in Refactoring and consolidate alpha version Jun 6, 2017

hdsdi3g added a commit that referenced this issue Jun 7, 2017

hdsdi3g added a commit that referenced this issue Jun 11, 2017

@hdsdi3g hdsdi3g closed this Jun 11, 2017

@hdsdi3g hdsdi3g moved this from In progress to Staged in dvl in Refactoring and consolidate alpha version Jun 11, 2017

@hdsdi3g hdsdi3g moved this from Staged in dvl to Done in Master in Refactoring and consolidate alpha version Jun 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment