Commit graph

205 commits

Author SHA1 Message Date
5899e82cdc Enable button always if there is no AX value 2022-03-03 18:00:24 -08:00
25bf58da2b
Merge pull request #20 from jedmund/weapon-mods
Add the ability to add modifications to grid weapons
2022-03-03 16:58:15 -08:00
242c61c200 Fix typescript build errors 2022-03-03 16:58:04 -08:00
8fe270adb5 Added the last bit of client validation 2022-03-03 16:12:28 -08:00
e9546293dc Add form validation for AxSelect
We're not done yet, there's still some weird behaviors and a case we haven't properly checked (if second AX skill has a value but first AX skill doesn't)
2022-03-03 15:27:31 -08:00
9b39299a3a Update index.scss 2022-03-03 03:14:03 -08:00
47ff412c2b Change the weapon's image for null element weapons 2022-03-03 03:14:00 -08:00
a161a1b63a Modify which weapon series trigger the hover button 2022-03-03 03:13:48 -08:00
adebca255e Remove logs 2022-03-03 03:13:35 -08:00
4b2c354d53 Update segmented control for null weapons
This uses the GridWeapon element to modify the party's segmented control color, if possible
2022-03-03 03:13:20 -08:00
43cc0de232 Added WeaponModal component
This uses AxSelect, ElementToggle and WeaponKeyDropdown to let users modify their weapons.
2022-03-03 03:11:20 -08:00
657026e8b5 Remove cookies/headers
We don't make any auth'd calls here
2022-03-03 03:10:56 -08:00
1d0c242429 Add AxSelect component and API call 2022-03-03 03:10:37 -08:00
97fb9420db Add onValueChange hook to send data up 2022-03-03 03:10:25 -08:00
01db78c422 Add WeaponKeyDropdown component and API method 2022-03-03 03:09:12 -08:00
ff65b6e281 Fix party name and description not actually displaying 2022-03-01 19:54:39 -08:00
b46bafa5f7 Add a modal for modifying weapons 2022-03-01 19:53:54 -08:00
869547dc93 Add settings icon to Button 2022-03-01 19:53:40 -08:00
815f3c6b28 Added ElementToggle component
A segmented control for selecting an element
2022-03-01 19:53:23 -08:00
7cae5eebfe Display button on moddable weapons 2022-03-01 19:53:08 -08:00
538e61bc12 Remove ProfileHeader component 2022-03-01 13:03:14 -08:00
cd0ac1e01f Fix missing Edit info button on /new 2022-03-01 01:22:24 -08:00
1c34803578 Added a smooth loading transition + FilterBar on parties 2022-03-01 01:11:32 -08:00
953cd01f49 Fix unauth party creation
There was a bug where unauth users could not add more than one item to a grid before it went read-only. This fixes that bug and ensures that permissions are set properly so no one can edit other people's grids.
2022-03-01 00:19:35 -08:00
29f20ec33c Update CharacterResult
same shit
2022-02-28 18:24:54 -08:00
5c1d19aceb Small variable updates 2022-02-28 18:22:19 -08:00
57973c39cc Fix SummonResult
Fix styles and add UncapIndicator
2022-02-28 18:22:10 -08:00
44a92ef1aa Update WeaponResult
Update styling, add UncapIndicator
2022-02-28 18:17:30 -08:00
67bd3e8c73 Make some props optional for read-only 2022-02-28 18:17:04 -08:00
f16c53ed16 Further SearchModal styling 2022-02-28 18:16:53 -08:00
d66bdc07f6 Fix SearchModal styling
Brings it more in line with other modals
2022-02-28 17:44:27 -08:00
f3d2ff9662 Implement new LoginModal in HeaderMenu 2022-02-28 16:40:48 -08:00
1c7e602464 Refactor and redesign LoginModal 2022-02-28 16:40:16 -08:00
35cf0ee369 Rework signup method and open/close behavior 2022-02-28 16:03:34 -08:00
0e3aacfbb0 Refactor validation in SignupModal 2022-02-28 15:00:32 -08:00
829146f1bd Redesign Signup Modal 2022-02-28 14:16:04 -08:00
d656ba7eba Fix logout state bug
Logging out didn't reset state, so the HeaderMenu still displayed the logged in menu
2022-02-28 13:30:26 -08:00
ec7b080ad9 Remove logs 2022-02-28 12:59:37 -08:00
82c38705d1 Fix useEffect looping in Party 2022-02-28 12:58:38 -08:00
0fa993161b Remove flatRaids state 2022-02-28 12:52:11 -08:00
af7d40f6e3 Move organizeRaids into useCallback hook 2022-02-28 12:51:48 -08:00
13ddd2131a Fix useEffect looping in RaidDropdown 2022-02-28 11:57:02 -08:00
ad1472dfbb Fix (some) warnings and errors
I always forget to `npm run build` before pushing a PR
2022-02-28 01:09:43 -08:00
69aa0ec528 Update state when saving/unsaving 2022-02-28 01:02:28 -08:00
bf3007f85e Update GridRep to accommodate save button 2022-02-28 01:02:17 -08:00
4998072475 Implement IconOnly button type 2022-02-28 01:01:33 -08:00
7131f484a6 Fix styles 2022-02-28 01:01:17 -08:00
60ec49de1d Add page to display all saved parties 2022-02-27 22:32:35 -08:00
a2afcc6b4d Add button for saving and hook up to API 2022-02-27 22:32:14 -08:00
770a8c0ec2 Remove log 2022-02-27 22:31:53 -08:00