Commit graph

55 commits

Author SHA1 Message Date
44966fe8fe Add interactive uncap indicators for summons 2022-02-01 15:50:06 -08:00
36ddc6e506 Breaking out the imageClickHandler was breaking things so I reverted 2022-02-01 14:32:13 -08:00
4f0844c378 Cleanup and refactoring 2022-02-01 14:19:44 -08:00
41f6dcb615 Fix uncap level display bug
This bug was caused primarily by us using the wrong key in the type definition.
2022-02-01 14:15:38 -08:00
39549f0b94 Move debounce to WeaponGrid 2022-02-01 11:40:06 -08:00
ca42f4b718 Add hover states for stars
These aren't quite right yet
2022-02-01 05:51:15 -08:00
d1962a5cfa Fix incorrect references 2022-02-01 05:30:52 -08:00
67d5ada594 Add variables for the hover scale effects 2022-02-01 05:29:03 -08:00
dd974fde2e WIP: Use debounce to intelligently send uncap level to server
We are using debounce to send the uncap level to the server without making a ton of requests if the user is feeling clicky.

This is a WIP because it doesn't send to the server yet. I'm having issues setting the correct initial state from the props.
2022-02-01 05:07:52 -08:00
7a50c4bce5 Pass down GridWeapon instead of Weapon
Previously, we stripped the Weapon out of the GridWeapon for simplicity. However, now that we need to display and manipulate data on the GridWeapon (unique data), we need to pass that down instead.
2022-02-01 05:06:27 -08:00
e70a7afab7 Pull weapon uncap level from server 2022-02-01 01:47:27 -08:00
a471a494bc Remove img so background-image works 2022-02-01 01:47:05 -08:00
c18c594d05 Allow user to set uncap level
doesn't save to server yet
2022-02-01 01:03:31 -08:00
928273a836 Adjust hover transforms
It was too aggressive
2022-02-01 01:03:31 -08:00
e2ff4fd432 Implement new stars 2022-02-01 01:03:31 -08:00
b2daead1d5 Update WeaponUnit
Flips text and uncap stars and makes the modal click target the image instead of the whole unit
2022-02-01 01:03:31 -08:00
de96600122 Add a new password rule
Password cannot contain username
2022-02-01 00:43:10 -08:00
f1b50fe051 Make new dictionary to make React render on setState 2022-02-01 00:42:49 -08:00
305f0e1f88 Refactor SignupModal 2022-02-01 00:20:04 -08:00
f81d8b46b8 Resolve warning about unauth state 2022-01-31 23:46:25 -08:00
df99c2fca7 Remove unused import 2022-01-31 23:43:59 -08:00
887b7db197 Remove App component
We don't need this anymore
2022-01-31 23:34:38 -08:00
48a8ebe3d8 Update index.tsx 2022-01-31 23:34:38 -08:00
df33b02e1a Use context to determine which navigation to show 2022-01-31 23:34:38 -08:00
1e8a72028d Re-enable some links 2022-01-31 23:34:38 -08:00
77a3b1b8ad Add context when logging in 2022-01-31 23:34:38 -08:00
2d4302c0cb Only show Extra toggle when editable 2022-01-31 23:34:38 -08:00
06f698d1e1 Update Header scss 2022-01-31 23:34:38 -08:00
dcfa961a3f Fix logout and add context support 2022-01-31 23:34:38 -08:00
b0fca8138c Use context to conditionally show Delete button in Header 2022-01-31 23:34:38 -08:00
e02c55665e Convert to Next Router 2022-01-31 23:34:38 -08:00
fcd544536d Create app-wide layout with Header 2022-01-31 23:34:38 -08:00
5f5c6a98e0 Move label directory to add them to repo 2022-01-31 23:34:20 -08:00
e046b0ef42 Fix bug with saving unauth grids 2022-01-30 03:09:29 -08:00
d56bdb58f8 Fix bug with mainhand position 2022-01-30 03:09:20 -08:00
9b81706902 Update index.tsx 2022-01-30 02:47:08 -08:00
ccb98de069 Update path for item images
So we can use a CDN on prod
2022-01-30 02:32:10 -08:00
9073f4262f Fix fieldset fixes 2022-01-29 18:27:29 -08:00
f2085c8344 Fix more ESLint warnings 2022-01-29 18:22:22 -08:00
97a55e843c Add empty alt tags for decorative images 2022-01-29 18:13:49 -08:00
cc34cfff7c Units only fire onClick if editable 2022-01-28 23:12:37 -08:00
3bdb048f28 Move SearchModal to WeaponGrid 2022-01-28 23:10:21 -08:00
df9a91cf96 Move SearchModal to SummonGrid 2022-01-28 22:58:00 -08:00
b08ac89f9b Fix reference to user ID 2022-01-28 21:27:29 -08:00
9e0a1219d5 Add exclusion for Characters
Users should not be able to add multiple characters of the same name to multiple positions.
2022-01-25 16:49:14 -08:00
907d9f05e4 Lift SearchModal out of CharacterUnit 2022-01-25 14:27:48 -08:00
e95f45caa6 Fix character images URL 2022-01-25 14:27:01 -08:00
7a649f0fae Refactor SearchModal 2022-01-25 12:18:27 -08:00
1122abcab4 Fix broken images on GridRep 2022-01-25 12:17:57 -08:00
307c2ecbb6 Clean up modal structure 2022-01-25 01:35:56 -08:00