Commit graph

38 commits

Author SHA1 Message Date
e8843699c7 Remove trailing semicolons 2022-12-05 17:54:46 -08:00
efa864fb80 Run prettier on src 2022-12-04 07:19:31 -08:00
73944becf4 Add type alias for searchable objects 2022-11-30 05:19:43 -08:00
9cb5a0e3cb Add changing elements to Class Champion Weapons 2022-03-22 00:09:59 -07:00
221033a1a1 Temporarily disable hovercards on editable teams
It conflicts with search and weapon modals and makes it impossible to use
2022-03-08 16:00:45 -08:00
c3186b2899 Add localizations for SearchModal 2022-03-05 14:50:56 -08:00
34bd98856a Add locale to object unit components 2022-03-04 18:46:32 -08:00
d89070156d Fix styling post-hovercard 2022-03-04 00:59:31 -08:00
f950543c96 Add and implement WeaponHovercard component 2022-03-04 00:16:58 -08:00
f384adcc09 Fix double scale bug 2022-03-03 21:06:52 -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
7cae5eebfe Display button on moddable weapons 2022-03-01 19:53:08 -08:00
d76c7fa03a Disable rendering of search modal in read-only mode 2022-02-26 19:03:46 -08:00
2909da98eb Rename unique canonical keys to generic object 2022-02-23 13:57:38 -08:00
b284bf1f81 Small syntax updates 2022-02-23 02:35:49 -08:00
bc93565dc5 Remove unused methods and props from WeaponGrid tree 2022-02-23 02:05:07 -08:00
9b505f5e20 Implement state management for Weapon grid
Summon and Character will be next. I didn't really pay attention to code cleanliness, so I'll try to do a pass before merging the PR
2022-02-23 01:51:58 -08:00
b6153a959c Change order of uncap indicators and weapon name 2022-02-03 19:44:55 -08:00
2384058674 Add new icons 2022-02-03 00:26:51 -08:00
8f77794262 Update index.tsx 2022-02-02 19:37:28 -08:00
827473ee5a Refactor object grids to handle business logic instead of Party 2022-02-02 16:54:14 -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
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)