b3ec6a5d08
Fix job dropdown not showing jobs
...
This was happening due to a combination of the useEffect not being updated properly in the New route and the state being completely reset when cleaned in the new route, including values that should persist.
2023-01-29 16:20:14 -08:00
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
01af39fdfe
Refactor saved and extract SavedHead
2023-01-28 18:07:26 -08:00
73de22cbbc
Refactor teams and extract TeamsHead
2023-01-28 18:00:34 -08:00
9e3f15c286
Refactor [username] and extract ProfileHead
2023-01-28 17:58:12 -08:00
5cf6d3fff3
Refactor [party] page
...
This is a blueprint for all the other pages
2023-01-28 17:20:44 -08:00
93755dfda4
Update avatar implementation
2023-01-28 03:37:00 -08:00
0613f75c7f
Add TooltipProvider
2023-01-28 00:44:43 -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
6da5a4f320
Add toast on copy link
...
It animates in and out too
2023-01-27 21:35:08 -08:00
c75e5052ad
Save current page to use for translations
2023-01-25 23:22:29 -08:00
b519372566
Fix dependencies
2023-01-25 22:30:41 -08:00
6aba8d29ea
Set content based on URL
2023-01-25 22:29:57 -08:00
0d924a1226
Remove unused dependencies
2023-01-25 22:18:59 -08:00
fa4c4c5085
Fetch latest version on all pages
2023-01-25 22:18:53 -08:00
7d98b0a003
Rename "Changelog" to "Updates"
2023-01-25 14:51:07 -08:00
2718942321
Move static page modals to a standalone page
...
This will make it easier to whisk people here in notices
2023-01-25 14:33:53 -08:00
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