Commit graph

138 commits

Author SHA1 Message Date
ade64446dc Unset edit key on page load
Just in case, we're unsetting the edit key on page load, so that we can re-set it after clearing our logic checks
2023-01-31 02:56:42 -08:00
cd28629389 Add setEditKey
This method lets us set the edit key in a default header much like we do with user tokens
2023-01-31 02:53:29 -08:00
d32293995b Refactor setUserToken into two methods
This refactors `setUserToken` into `accountCookie`, which just returns a cookie if it exists, and `setHeaders`, which sets the Axios header defaults.

Then, we update the calls in all the required files.
2023-01-31 00:18:54 -08:00
f0ba0d5eb3 Don't switch tabs when creating a party
We changed the method in the New route to use the Next.js Router, which is causing us to navigate to the Party route and causing issues. This change makes it so that users stay on the same tab when they reach their destination.
2023-01-30 23:09:37 -08:00
4f0a49b114 Add support for R characters 2023-01-30 01:34:09 -08:00
5cf6d3fff3 Refactor [party] page
This is a blueprint for all the other pages
2023-01-28 17:20:44 -08:00
9476f592f0 Add status to appState and new types 2023-01-28 16:46:32 -08:00
03a06bd849 Restructure avatar in User definitions 2023-01-28 03:36:38 -08:00
86b48f52c1 Add source party to Party definition 2023-01-28 00:26:23 -08:00
0b3861e03e Update Party type and state 2023-01-27 23:47:31 -08:00
f450c87e42 Add remix endpoint 2023-01-27 23:08:53 -08:00
f68785fa3a Add shortcode to party state object 2023-01-27 23:08:46 -08:00
2534728785 Extract capitalizeFirstLetter into util 2023-01-27 20:28:44 -08:00
f795c6fad7
Merge pull request #170 from jedmund/update-empty-job
Fix empty job
2023-01-27 11:46:05 -08:00
12fdf00efa Fix empty job 2023-01-27 11:44:54 -08:00
749ed4a7c3 Merge branch 'staging' into shields-manabelly 2023-01-25 23:56:47 -08:00
37d242b2cf Fix build error from type change in appState 2023-01-25 23:11:14 -08:00
31f2bd075a Add endpoint and util to fetch latest version 2023-01-25 22:18:23 -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
cefec18880 Fix cookies expiring after browser restarts
We never added expirations :)
2023-01-24 21:42:14 -08:00
a6bc538007 Add Manadiver to accessory job IDs 2023-01-24 19:20:41 -08:00
9a3d833092 Persist and recall accessory from server 2023-01-24 02:39:04 -08:00
1d1a941364 Add type and convenience constant 2023-01-24 02:06:15 -08:00
13d15c9eb8 Added api endpoint 2023-01-23 22:08:17 -08:00
0c8102c66f Basic error handling for API errors in SSR 2023-01-23 14:43:01 -08:00
a3cb1ff7b6 Fix build errors 2023-01-22 23:30:11 -08:00
ae09f2434d Update uncap endpoint sets transcendence step to 0
Any uncap level update without transcendence will be 0, so this is fine since we update transcendence through the `update` API
2023-01-22 16:09:59 -08:00
b912a7ae8f Implement deleting summons 2023-01-21 15:40:42 -08:00
2372f6f2b1 Add endpoint for grid characters 2023-01-19 10:25:25 -08:00
e53237d94a Update elementalizeAetherialMastery.tsx
Making the opposite element strings was not working
2023-01-06 00:45:32 -08:00
5fd5411bc4 Create elementalizeAetherialMastery.tsx
This method elementalizes aetherial mastery strings based on a GridCharacter. Also add the opposite element's ID to TeamElement.
2023-01-05 20:47:48 -08:00
5b6c6b4521 Move various files from /utils to /data 2023-01-05 02:13:51 -08:00
573deaa2c2 Different approach to getting locale cookie 2023-01-03 23:19:13 -08:00
dd062aff8d Fix language switch in logged-out menu 2023-01-03 22:55:36 -08:00
54dd3feba7 Add new fields to parties
I forgot to commit
2023-01-03 18:06:27 -08:00
0fb30e0ac5 Implement retrieveCookie
retrieveCookie fetches and parses cookies. This util should help us further reduce places where we're extracting and parsing with cookies in the business logic
2022-12-27 17:16:21 -08:00
f7bc57ee5f Fix division by 0
This was causing Safari to scream, but unsure why Chrome was fine
2022-12-27 10:40:09 -08:00
d7b7e7c5e2 I'm double dumb 2022-12-26 09:53:25 -08:00
bfd73ec044 I'm dumb 2022-12-26 09:51:36 -08:00
49ff10ab98 Add helper method to auth Youtube once 2022-12-26 09:47:48 -08:00
57359333e7 Add title/description to new page 2022-12-26 05:55:19 -08:00
ef0aff5685 Fix weapon states filter in search 2022-12-26 01:34:59 -08:00
57a0ce62c2 Fix party details when new 2022-12-26 00:22:30 -08:00
dfc4e5dfd6 Change theme wasnt necessary 2022-12-25 20:12:07 -08:00
61a02649cf Fix themes 2022-12-25 20:11:50 -08:00
6d8786e370 Add changeTheme util 2022-12-25 19:35:17 -08:00
4765349b6b Update changeLanguage
It needs the router
2022-12-25 19:33:10 -08:00
d737310b2c Update LoginModal and SignupModal
And adds a new changeLanguage util
2022-12-25 16:14:35 -08:00
c49e930861 Add theme to state and cookies 2022-12-25 16:04:01 -08:00