5c2c61eeda
Add ToastProvider and ToastViewport
2023-01-24 21:22:34 -08:00
82f1bef0dc
Fix build error
2023-01-23 14:47:31 -08:00
0c8102c66f
Basic error handling for API errors in SSR
2023-01-23 14:43:01 -08:00
559f18764b
Merge branch 'party-url-query' into character-mods
2023-01-14 12:40:52 -08:00
f0d6f1f8a4
Implement query param switching
...
Adding /characters, /weapons, or /summons will direct you to that tab by default, with /weapons as the default.
Clicking the segmented controller replaces the URL with the corresponding path, but doesn't push the navigation stack
2023-01-14 12:23:03 -08:00
7532455364
Merge branch 'main' into character-mods
2023-01-08 05:53:48 -08:00
ce2c775f36
Include roadmap translation in serverSideTranslations
2023-01-06 04:24:48 -08:00
5b6c6b4521
Move various files from /utils to /data
2023-01-05 02:13:51 -08:00
56c4842e82
Add full auto tag to GridRep
2023-01-03 19:24:37 -08:00
1e820f184e
Force reload after logout
...
This is a much easier and foolproof way to ensure that people can't edit their grid after logging out.
2022-12-30 05:23:44 -08:00
a725dd7274
Mobile Hotfix
...
Mobile is hella broken, this makes it one notch less broken but still hella broken
2022-12-26 13:54:23 -08:00
ccd6829fc6
Quick fixes
2022-12-26 12:45:54 -08:00
57359333e7
Add title/description to new page
2022-12-26 05:55:19 -08:00
0c76866b56
Add titles/description and translations
2022-12-26 05:04:27 -08:00
61a02649cf
Fix themes
2022-12-25 20:11:50 -08:00
a69ae169fa
Tell ThemeProvider whether to use system theme
2022-12-25 19:34:06 -08:00
0bc0251dad
Refactor cookie setting in _app
2022-12-25 16:04:16 -08:00
7d248cf91b
Remove headers
2022-12-25 16:03:32 -08:00
802705a812
Pre-fetch weapon keys on grids
2022-12-24 01:07:26 -08:00
c35fdf5f5c
Update allSkills to allJobSkills
2022-12-23 00:52:31 -08:00
f9c7c8f568
Update api function name
2022-12-22 23:34:57 -08:00
c43bd5c8f1
Use utils/organizeRaids
2022-12-22 23:34:47 -08:00
247d2a466a
Clean up setServerSideProps
...
Here we extracted the common methods used in pages into utils and included them, getting rid of a lot of duplicate code in the process.
2022-12-22 21:43:09 -08:00
a98585a334
Implement setUserToken util function
...
This function sets axios's default headers to be included before all queries.
We need to call `setUserToken` in _app.tsx so that the defaults are set before every client-side call, and we also need to call it in every instance of `setServerSideProps`.
As a result, wherever we use `getCookies` and construct a `headers` object, we can remove it. Right now, we've only removed it on the top-level pages.
2022-12-22 21:41:38 -08:00
9de459b958
Update useQueryState to use history and shallow routing
2022-12-22 21:32:57 -08:00
55a292529f
Update saved teams
2022-12-22 00:57:18 -08:00
45aa8c38ab
Update all teams
2022-12-22 00:55:36 -08:00
adc987201e
Update profile and filter bar
2022-12-22 00:46:13 -08:00
caf2bca38f
List of raids no longer has root keys
2022-12-22 00:09:50 -08:00
0b021629d7
Fix select colors in FilterBar
2022-12-06 15:54:39 -08:00
e155aa72dd
Remove semicolons and #Content wrapper
2022-12-05 17:55:19 -08:00
e8843699c7
Remove trailing semicolons
2022-12-05 17:54:46 -08:00
846df09e46
Add ThemeProvider
2022-12-04 08:26:48 -08:00
efa864fb80
Run prettier on src
2022-12-04 07:19:31 -08:00
c307fcb18f
Remove logs
2022-12-01 02:00:58 -08:00
cbbad53e09
Fix typo that broke job persistence
2022-11-30 09:00:50 -08:00
c599a8352a
Fetch and store the jobs and skills in app state
2022-11-27 20:24:47 -08:00
4f11f88c0f
Fix more linter errors
2022-11-19 20:50:39 -08:00
21b86e4239
Fix various API and rendering bugs
2022-11-16 07:04:39 -08:00
c05f86d012
Merge branch 'main' of github.com:jedmund/hensei-web
2022-11-16 06:15:23 -08:00
14d34ff4df
Add SSR fetching of raids to new page
2022-11-16 06:15:19 -08:00
602c883edd
Add explicit type
2022-11-16 05:16:07 -08:00
0257b99007
Unify API call with other collectioin pages
2022-11-16 05:15:55 -08:00
86656e1bff
Move to use useDidMountEffect
2022-11-16 05:15:39 -08:00
513dc8d847
Updated saved to use SSR
2022-11-16 05:15:12 -08:00
9674a56ccc
Update teams to use SSR
2022-11-16 03:55:13 -08:00
bb8f28a05d
Update user profile to use SSR
...
Filters and scrolling work, as well as navigating directly to filtered results
2022-11-16 02:34:49 -08:00
cdf25a42bf
Update party page for SSR
2022-11-15 04:44:45 -08:00
5d274a8336
Add typing to cookieData
2022-11-15 04:43:26 -08:00
84a7ca7733
Update to store authorized state in _app
2022-11-15 04:16:02 -08:00