Commit graph

112 commits

Author SHA1 Message Date
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
a3246efd4a Remove logs 2022-12-25 02:53:13 -08:00
d78545c198 Add utils for weaponSeries and mapping them from IDs 2022-12-24 23:31:13 -08:00
52b314e35e Use updated generic conflict API method 2022-12-24 23:30:48 -08:00
a50804a33b Add groupWeaponKeys and weaponKeyGroups 2022-12-24 01:07:10 -08:00
da07db0a83 Add grouped weapon keys to appState 2022-12-24 01:06:59 -08:00
79ec308366 Add slugs to axData 2022-12-23 22:26:25 -08:00
cf58e64caf Add awakening dictionaries 2022-12-23 18:39:54 -08:00
90a0447787 Fix updating raid in party details 2022-12-23 00:33:28 -08:00
f9c7c8f568 Update api function name 2022-12-22 23:34:57 -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
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
c6f6a6ca99 Update API calls and display errors 2022-12-03 16:43:18 -08:00
ca4b2e9149 Add JobSkillObject and 0th index 2022-12-01 05:35:27 -08:00
0096a49a07 Added jobSkills to data structures 2022-12-01 01:45:31 -08:00
ee7dc0bc4a Update API 2022-11-30 05:19:51 -08:00
5d6ca05143 Add different groupings of skills
`skillClassification` is for pills shown in results
`skillGroups` is for the dropdown that filters all skills
2022-11-29 00:59:28 -08:00
1d571f1a21 Register jobs and skills in app state 2022-11-27 20:19:18 -08:00
5d4ca78dda Add endpoint for fetching skills 2022-11-27 20:18:38 -08:00
b71bb09723 Fix linting errors 2022-11-19 20:48:05 -08:00
3e0529a46d Add endpoint for resolving character conflicts 2022-11-19 06:36:36 -08:00
4d8a7d4007 Allow characters to be undefined in state 2022-11-19 06:36:26 -08:00
1f54aa6dbc Add Disaster raid group 2022-11-16 05:17:32 -08:00
8ff8212469 Create useDidMountEffect.tsx 2022-11-16 05:15:28 -08:00
8ecc54fb63 Revert "Update raidGroups.tsx"
This reverts commit b77b043b35.
2022-06-29 00:54:25 -07:00