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
0ea675d18a
Fix purple color for Dark Mode and ExtraWeapons
...
Also made 13th slot uneditable for now
2022-12-05 21:45:23 -08:00
0f99cd878c
Dark mode and CSS refactors for inputs
2022-12-05 19:47:23 -08:00
2ee8060c63
Remove moved code
...
This method was moved to [party].tsx
2022-12-05 19:47:00 -08:00
c37f0754fb
Implement radix select
2022-12-05 18:04:12 -08:00
e155aa72dd
Remove semicolons and #Content wrapper
2022-12-05 17:55:19 -08:00
e8843699c7
Remove trailing semicolons
2022-12-05 17:54:46 -08:00
6d6eaf59ee
Create .prettierrc
2022-12-05 17:53:11 -08:00
95fc9b142a
white → $grey-100
2022-12-05 17:51:56 -08:00
04b354defd
Install @radix-ui/react-select
2022-12-04 14:27:08 -08:00
3760cf3d4c
Update select styles
2022-12-04 14:26:54 -08:00
2f95e8a8e6
Tweak secondary colors
2022-12-04 10:01:41 -08:00
a350d0a3da
Fix ToggleSwitch colors
2022-12-04 09:55:33 -08:00
1244a99a6a
Update FilterBar background
2022-12-04 09:55:27 -08:00
5962e0c301
Update core files
2022-12-04 09:55:10 -08:00
d2caf088e8
Fix text colors
2022-12-04 09:54:55 -08:00
f2ba1139a1
Add 00 scale to element colors and update pills
2022-12-04 09:46:19 -08:00
cdc82e5348
Rename element colors to use numeric scale
2022-12-04 09:45:58 -08:00
3fc5c9a6a7
Modify element colors
2022-12-04 09:21:59 -08:00
b36b6b747c
Rename greys
2022-12-04 09:12:40 -08:00