Commit graph

835 commits

Author SHA1 Message Date
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
46034e6aad slight Dark Mode fixes for WeaponModal 2022-12-06 19:48:07 -08:00
8ccdcdf5b4 Fix TS errors
We didn't touch these files and they needed to be updated for Fieldset → Input
2022-12-06 19:41:20 -08:00
362301a4a5 Further fix TS error 2022-12-06 19:36:54 -08:00
600f3c2ec7 Fix TS typing error 2022-12-06 19:34:43 -08:00
f3255e1381
Merge pull request #47 from jedmund/frontend-refactor
Frontend refactor
2022-12-06 19:28:43 -08:00
1621d53afa Fix SelectItem bug and lint warnings 2022-12-06 19:27:26 -08:00
dac1ed917d Hover background in search, other fixes 2022-12-06 19:03:00 -08:00
a2b30133d4 Add Dark Mode for dialogs 2022-12-06 18:38:36 -08:00
0b021629d7 Fix select colors in FilterBar 2022-12-06 15:54:39 -08:00
1b13f8d51e Fix styles for favorite buttons in GridRep 2022-12-06 14:45:38 -08:00
d8d864a5fe Implement new Select in FilterBar 2022-12-06 13:50:13 -08:00
1e3480e3c0 Update Button and implementations 2022-12-06 13:16:11 -08:00
3376aa7b75 Fix spacing at top 2022-12-06 12:55:57 -08:00
e836241edf Add new themed colors 2022-12-06 12:55:49 -08:00
3ee7c0b4b2 Shuffled greyscale, fixed dark mode for select/input 2022-12-06 09:31:56 -08:00
0660f98550 Fix ExtraSummons for dark mode 2022-12-05 22:21:17 -08:00