Commit graph

39 commits

Author SHA1 Message Date
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
999b3a3e91 Renamed grey-10 to grey-40 2022-02-26 19:51:22 -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
8df60c0e1d Fix some bugs with SCSS nesting 2022-02-03 19:50:26 -08:00
b6153a959c Change order of uncap indicators and weapon name 2022-02-03 19:44:55 -08:00
1344b43bee Update size/color of plus icons in grids; replace values with vars 2022-02-03 00:42:33 -08:00
adf450f612 Fix WeaponUnit hover bug 2022-02-03 00:28:33 -08:00
2384058674 Add new icons 2022-02-03 00:26:51 -08:00
d5332ccee5 Make WeaponGrid responsive 2022-02-02 23:39:06 -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
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
928273a836 Adjust hover transforms
It was too aggressive
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
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
471b61b2c0 Clean up font-size
We'll have to change this to rems in the future, but at least we're just changing variables
2022-01-25 01:35:39 -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