Commit graph

114 commits

Author SHA1 Message Date
e13c07d57f Implement advanced filters on Teams page 2023-03-21 19:20:05 -07:00
12bc8f1f0f Fix #234
This makes sure we fetch profiles when the username changes in the router, and also update the fetchProfile callback as well
2023-02-05 13:22:23 -08:00
c7e0836202
February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
ce2c775f36 Include roadmap translation in serverSideTranslations 2023-01-06 04:24:48 -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
752e468c4b Remove unused cookie code from _app 2022-11-15 03:46:25 -08:00
364481e3ac Fix various type errors from npm build 2022-04-10 13:31:13 -07:00
34c93af273 Add infinite scrolling to collections 2022-03-21 03:53:03 -07:00
fa73a4bd7d Query params work on Saved and Profile pages 2022-03-07 18:14:05 -08:00