Commit graph

1258 commits

Author SHA1 Message Date
cc1879b0bb Add 14x unit 2022-12-23 21:02:26 -08:00
60aae7b598 Remove log 2022-12-23 21:02:16 -08:00
51e67f69c1 Update control to make changeable 2022-12-23 20:00:51 -08:00
a7705707ce Add disabled state to Button 2022-12-23 20:00:39 -08:00
3983d5411c Update validity checking 2022-12-23 20:00:22 -08:00
feba0271a8 Make inputs controlled 2022-12-23 20:00:09 -08:00
05c8cf2c38 Disallow not whole numbers 2022-12-23 18:55:19 -08:00
26021f75ab Add awakening localizations 2022-12-23 18:52:40 -08:00
c74ff41479 Implement AwakeningSelect
* Has modes for weapons and characters
* Shows input when awakening is selected
* Saves type and level to server
* Redisplays type but level is broken
2022-12-23 18:40:50 -08:00
cf58e64caf Add awakening dictionaries 2022-12-23 18:39:54 -08:00
f7d233cd4d Add awakening fields to types 2022-12-23 18:39:48 -08:00
28f6d8fd73 Merge branch 'main' into weapon-mods 2022-12-23 16:42:05 -08:00
221f60c48c Fix build errors 2022-12-23 16:27:11 -08:00
c44651015e
Merge pull request #48 from jedmund/blueprinter
Support for Blueprinter migration
2022-12-23 16:21:25 -08:00
b1d7802e43 Small fix to Settings modal
We need a PR to fix this
2022-12-23 16:17:24 -08:00
d5d404abde Fix input padding 2022-12-23 16:12:08 -08:00
bf3331d1c5 Reset detailsVisible when new party loaded 2022-12-23 16:11:45 -08:00
c51c16de09 Fix select not resetting on new views 2022-12-23 16:10:42 -08:00
dc86e712cb Fix canEditSkill 2022-12-23 15:47:39 -08:00
2d2497b8da Allow setting job to "No job" after it has been set 2022-12-23 15:34:13 -08:00
b329d2b27a Updates to Select component
Use `value` instead of `defaultValue` and properly control it
2022-12-23 15:19:14 -08:00
b04965ae03 Fix buttons 2022-12-23 15:18:53 -08:00
10981a2496 Remove headers from API calls 2022-12-23 15:18:05 -08:00
c35fdf5f5c Update allSkills to allJobSkills 2022-12-23 00:52:31 -08:00
64070b17b6 Remove unused imports and vars 2022-12-23 00:34:25 -08:00
3862db55a9 Use utils/organizeRaids 2022-12-23 00:33:55 -08:00
90a0447787 Fix updating raid in party details 2022-12-23 00:33:28 -08:00
cc3e14a8c4 Remove include 2022-12-22 23:51:48 -08:00
455b31d1c2 Use showAllRaidsOption to determine defaultValue 2022-12-22 23:51:41 -08:00
1bfd62627d Fix alignment 2022-12-22 23:48:33 -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
2a87ad0701 Fixed display of dropdown and defaultValue 2022-12-22 23:34:32 -08:00
653dd3d493 Add current job to defaultValue and properly sort groups 2022-12-22 23:33:58 -08:00
c401804e7b Revise response format due to Blueprinter 2022-12-22 23:33:38 -08:00
0c89300664 Fix Alert buttons
Text was not being flowed into the prop
2022-12-22 23:33:24 -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
908e807f00 Fix defaultValue in FilterBar 2022-12-22 21:28:57 -08:00
94f5f69412 Update SignupModal and LoginModal to use Dialog 2022-12-22 21:28:30 -08:00
7c36aac130 Fix saving objects and jobs
There's still bugs with jobs though
2022-12-22 01:48:21 -08:00
bbcdb74ade Update PartyDetails 2022-12-22 01:39:51 -08:00
700a4d653c Tentatively fix Login and Signup
There's probably more here, but I can at least log in right now
2022-12-22 01:36:32 -08:00
e9b4f44fd6 Update searching 2022-12-22 01:07:27 -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
17affb29f1 Map default colors in SegmentedControl to vars 2022-12-20 23:32:08 -08:00