Commit graph

288 commits

Author SHA1 Message Date
d5332ccee5 Make WeaponGrid responsive 2022-02-02 23:39:06 -08:00
061e510b44 Update variables 2022-02-02 23:34:38 -08:00
f9eba3d857 Fix Menu authenticated status 2022-02-02 21:42:36 -08:00
50d2d814eb Fixing bugs 2022-02-02 20:57:51 -08:00
7ff4ee0a8f Update index.tsx 2022-02-02 20:54:03 -08:00
e06e2c7f23 Update api.tsx 2022-02-02 20:44:06 -08:00
30d5e68fe5
Merge pull request #4 from jedmund/uncap-indicator
Implement interactive uncap indicators
2022-02-02 20:39:45 -08:00
4fb2fd16b8 Fix optimistic UI and prevent saving identical uncap values 2022-02-02 20:36:22 -08:00
8f77794262 Update index.tsx 2022-02-02 19:37:28 -08:00
11e1a81ada Fix extra switch 2022-02-02 19:28:47 -08:00
8192f1d0ce Update index.tsx 2022-02-02 19:08:48 -08:00
ecfc62900d Trading working uncap indicators for working party creation
We start storing the party ID here so that we know (and can come to know) when we are working with an existing party.

Updating the weapon grid based on `weapons` the state vs `props.weapons` makes saving items to a party work properly.

Unfortunately, it sends us back to square one with debouncing the uncap indicators.
2022-02-02 19:07:10 -08:00
065c198e67 Fix uncap indicator optimistic ui update bug 2022-02-02 18:43:55 -08:00
f482b34429 Remove extra prop 2022-02-02 18:41:44 -08:00
827473ee5a Refactor object grids to handle business logic instead of Party 2022-02-02 16:54:14 -08:00
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
0dbcc7854b Update api.tsx 2022-02-01 11:42:29 -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
b01b4c55a2 Don't send a request if the shortcode is still undefined 2022-02-01 05:10:16 -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
3b252f99ed Removed uncap_level from Weapon type 2022-02-01 05:03:40 -08:00
7f96b4c9a9 Added lodash debounce dep 2022-02-01 05:03:26 -08:00
86657e133a Add endpoint for updating uncap levels 2022-02-01 05:03:12 -08:00
8944c461a9 Merge branch 'uncap-indicator' of github.com:jedmund/hensei-web into uncap-indicator 2022-02-01 01:47:38 -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
ae857c19a1 Add new uncap icons 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
47c51b97f7 Update [username].tsx 2022-01-31 23:56:54 -08:00
d2fbc0ab9c Delete history.tsx 2022-01-31 23:54:49 -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
fd428e8af7
Merge pull request #3 from jedmund/routing-refactor
Refactor routing to use Next.js routing instead of react-router-dom
2022-01-31 23:41:38 -08:00
ad4c67411e Remove old routing deps 2022-01-31 23:40:57 -08:00
7e45533dbb Remove old routes 2022-01-31 23:40:10 -08:00
e45aa5cb24 Fix routing for profiles 2022-01-31 23:39:32 -08:00
09c543a089 Rename [slug] to [party]
Less ambiguous
2022-01-31 23:34:38 -08:00