Commit Graph

22 Commits

Author SHA1 Message Date
projectmoon 5546576fa8 State-based logic routines for executing UI actions that need info from server. 2021-06-23 20:30:52 +00:00
projectmoon 08070ed8ad Wire up stateful logic handling, to be called from components.
Add username to state when logging in.
Ensure and refresh JWTs before making API calls if necessary.
2021-06-22 14:50:08 +00:00
projectmoon b9381eecf4 Begin creating logic layer in web UI. 2021-06-20 21:53:45 +00:00
projectmoon 9e0fd44448 Working login flow. 2021-06-17 14:31:18 +00:00
projectmoon 258f7f8b88 Clean up and document index.js file. 2021-06-12 23:00:58 +00:00
projectmoon 4c0d5ea2d8 Refactor auth API client. Implement proper error handling. 2021-06-12 22:55:51 +00:00
projectmoon da3874986f Use Rc instead of Arc for login, as Arc doesn't seem to be required. 2021-06-12 15:21:08 +00:00
projectmoon d082d10c7a Implement basic login component. With funny arc stuff. WTB functional yewdux matching release version of yew. 2021-06-12 15:14:18 +00:00
projectmoon 5986a3611a Implement JWT refreshing. 2021-06-11 22:37:30 +00:00
projectmoon 01e90ea0a1 Use jwt token when calling graphql 2021-06-11 14:24:49 +00:00
projectmoon eeacf01cbe Add login API call for web UI 2021-06-11 13:46:05 +00:00
projectmoon 1b57d128c0 Add bootstrap for styling. 2021-06-07 23:15:39 +00:00
projectmoon ab8bc0f25d Change page title. 2021-06-07 22:40:47 +00:00
projectmoon ddb8eae185 Move state to separate file. Fix double rendering problem. 2021-06-07 22:34:05 +00:00
projectmoon aeef9533ea Update to yew 0.18, but with git revs (because yewdux) 2021-06-07 21:53:35 +00:00
projectmoon 60cf7d406a Add proper error handling to web UI. Organize API client in web UI. 2021-06-06 22:32:48 +00:00
projectmoon 05157507aa Working graphql from web UI! 2021-06-06 15:51:46 +00:00
projectmoon e002c9e5c9 Implement get user variable in web ui client. 2021-06-06 14:48:29 +00:00
projectmoon a1a37d418a Add schema generating binary to API server, so we can then proceed with the UI client graphql calls. 2021-06-05 22:31:59 +00:00
projectmoon 6eca450346 Web UI with a functional async-await boundary! 2021-06-05 21:42:41 +00:00
projectmoon 4776b6f739 WIP on trying to get working graphql server 2021-06-05 14:34:22 +00:00
projectmoon f157c42768 Complete mess with yew, that does not compile! 2021-06-03 20:21:09 +00:00