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
6af2ace6b0
Use SearchableObject type
2022-11-30 09:01:33 -08:00
b61885a86d
Fix even more linter errors
2022-11-19 21:06:06 -08:00
a3d1c1ee56
Fix cookie usage in Party and grid tabs
2022-11-15 05:12:18 -08:00
258f9cf899
Persist timestamp state in grid API calls
2022-03-14 16:45:49 -07:00
8f8138950c
Remove logs
2022-03-04 09:34:30 -08:00
0f0c99e8bf
Fix issues with storing access token after signup
2022-03-04 09:09:52 -08:00
242c61c200
Fix typescript build errors
2022-03-03 16:58:04 -08:00
953cd01f49
Fix unauth party creation
...
There was a bug where unauth users could not add more than one item to a grid before it went read-only. This fixes that bug and ensures that permissions are set properly so no one can edit other people's grids.
2022-03-01 00:19:35 -08:00
99f2a65cf8
Save favorited/user when fetching party data
2022-02-27 22:31:16 -08:00
5f1bee26cf
Refactor some endpoints
2022-02-27 22:30:00 -08:00
23ff979e83
Add typing to the object grids and match new API
2022-02-27 00:35:41 -08:00
0c19d9c929
Remove log
2022-02-26 20:38:51 -08:00
0aee5d30d0
Fixed a dumb editable bug
2022-02-26 20:37:53 -08:00
f66063b273
Grids shouldn't send API calls if a grid isn't editable
2022-02-26 18:58:16 -08:00
2a4fcfa957
Remove logs
2022-02-26 18:34:02 -08:00
68a6e037f2
Cleanup
2022-02-26 15:53:46 -08:00
f0cf09dc31
Remove user-generated details
...
This goes somewhere else
2022-02-24 18:14:32 -08:00
0a096e9dc0
Store party details in state when data is fetched
2022-02-23 19:23:31 -08:00
a6b222000c
Remove references to React context and replace with state where necessary
2022-02-23 15:59:46 -08:00
bbe78566ad
Update existing instances of state to use appState
2022-02-23 14:52:35 -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
b42bef99fe
Fix bug with uncap levels on Summons and Characters
2022-02-04 02:11:05 -08:00
be90172fad
We have to pass around the slug as well
2022-02-04 00:55:58 -08:00
2bf1c75364
Add id to context so state can be shared across tabs
2022-02-04 00:46:17 -08:00
be6656f9e9
Final cleanup, removing old methods and moving Context around
2022-02-04 00:15:27 -08:00
46feb6895d
Refactored WeaponGrid to pull its own data
2022-02-03 23:51:04 -08:00
5d27509148
Update the element when the weapon swaps
...
This is still broken, we have to rewrite some API calls to fix it.
2022-02-03 19:50:06 -08:00
db642371b7
Add support for tinting segmented control with party element
2022-02-03 01:58:36 -08:00
d5332ccee5
Make WeaponGrid responsive
2022-02-02 23:39:06 -08:00
4fb2fd16b8
Fix optimistic UI and prevent saving identical uncap values
2022-02-02 20:36:22 -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
827473ee5a
Refactor object grids to handle business logic instead of Party
2022-02-02 16:54:14 -08:00
4f0844c378
Cleanup and refactoring
2022-02-01 14:19:44 -08:00
39549f0b94
Move debounce to WeaponGrid
2022-02-01 11:40:06 -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
d56bdb58f8
Fix bug with mainhand position
2022-01-30 03:09:20 -08:00
3bdb048f28
Move SearchModal to WeaponGrid
2022-01-28 23:10:21 -08:00
728803d9c5
Migrate to Next.js
2022-01-24 21:54:50 -08:00