Commit graph

13 commits

Author SHA1 Message Date
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
d1962a5cfa Fix incorrect references 2022-02-01 05:30:52 -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
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
ccb98de069 Update path for item images
So we can use a CDN on prod
2022-01-30 02:32:10 -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
1094922869 Revert to handling SVGs as components 2022-01-24 23:16:49 -08:00
67d93703d2 Remove next/Image declarations
We aren't using it
2022-01-24 22:26:12 -08:00
51a14a5a54 Fix alt text for items 2022-01-24 22:22:02 -08:00
728803d9c5 Migrate to Next.js 2022-01-24 21:54:50 -08:00
Renamed from src/components/WeaponUnit/index.tsx (Browse further)