e356c36053
Fix tabs not sticking on new route
...
This was occurring because the new path wasn't sending the Party component the current tab from the URL like the party path was.
2023-01-29 00:23:51 -08:00
71c9d5a744
Replace native JS redirect with useRouter
2023-01-28 23:15:44 -08:00
c930bc348b
Refactor new and extract NewHead
2023-01-28 18:15:25 -08:00
c224184dee
Fix how we handle state
...
- New route will reset state instead of it happening when the "New" button is clicked
- Added key to <React.Fragment> in party and new pages to force it to rerun getServerSideProps
2023-01-27 23:11:25 -08:00
fa4c4c5085
Fetch latest version on all pages
2023-01-25 22:18:53 -08:00
0c8102c66f
Basic error handling for API errors in SSR
2023-01-23 14:43:01 -08:00
ce2c775f36
Include roadmap translation in serverSideTranslations
2023-01-06 04:24:48 -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
57359333e7
Add title/description to new page
2022-12-26 05:55:19 -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
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
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
e8843699c7
Remove trailing semicolons
2022-12-05 17:54:46 -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
c599a8352a
Fetch and store the jobs and skills in app state
2022-11-27 20:24:47 -08:00
21b86e4239
Fix various API and rendering bugs
2022-11-16 07:04:39 -08:00
14d34ff4df
Add SSR fetching of raids to new page
2022-11-16 06:15:19 -08:00
62edc6ca5c
Add appWithTranslation HOC to pages
2022-03-04 17:56:17 -08:00
1da152cbcc
Fix title for new teams
2022-03-04 07:31:02 -08:00
102be62a7f
Hacky first pass at titles
...
Hacky because the titles for some pages don't load until the data comes in, which takes a second. There's gotta be a better way.
2022-03-04 05:54:16 -08:00
953cd01f49
Fix unauth party creation
...
There was a bug where unauth users could not add more than one item to a grid before it went read-only. This fixes that bug and ensures that permissions are set properly so no one can edit other people's grids.
2022-03-01 00:19:35 -08:00
789104cb76
Update index.tsx
2022-02-04 00:17:33 -08:00
50d2d814eb
Fixing bugs
2022-02-02 20:57:51 -08:00
f9874c270e
Move NewRoute to a Next.js page
2022-01-31 23:34:38 -08:00