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

Get locale from JWT or locale cookie #44

Closed
2 tasks done
cdcabrera opened this issue Jul 19, 2019 · 0 comments · Fixed by #55
Closed
2 tasks done

Get locale from JWT or locale cookie #44

cdcabrera opened this issue Jul 19, 2019 · 0 comments · Fixed by #55
Assignees
Labels
phase 1 platform Contains, or is, platform specific work and issues tech debt We've ignored it this long...

Comments

@cdcabrera
Copy link
Member

cdcabrera commented Jul 19, 2019

Description

As a developer it would be more helpful to an end user to not hardcode the loaded locale. Instead it should be loaded either from the available JWT or the locale cookie.

Acceptance Criteria

  • locale preferences should load from the available JWT or locale cookie
  • this update should be incorporated into userServices.js and make use of the js-cookie npm package

Assumptions and Questions

  • the JWT and/or locale cookie can be found by using the proxy interface, logging in, and using your browsers developer console around some flavor of storage settings
@cdcabrera cdcabrera added backlog Future work tech debt We've ignored it this long... phase 1 platform Contains, or is, platform specific work and issues and removed backlog Future work labels Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
phase 1 platform Contains, or is, platform specific work and issues tech debt We've ignored it this long...
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants