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
82c38705d1
Fix useEffect looping in Party
2022-02-28 12:58:38 -08:00
99f2a65cf8
Save favorited/user when fetching party data
2022-02-27 22:31:16 -08:00
bf85f9d99c
Reset the state when a new party is loaded
2022-02-27 00:39:04 -08:00
47ba267d5b
Fix errors in building
2022-02-26 18:15:42 -08:00
aae67b08af
Add hooks to send data back to the server
2022-02-26 15:55:45 -08:00
32f864baa6
Implement read-only and editable views for party details
2022-02-24 18:19:15 -08:00
e00a07d10c
Various styling fixes and adjustments
2022-02-24 18:15:08 -08:00
45c133f450
Change the sent param for the extra toggle
2022-02-23 19:23:19 -08:00
bbe78566ad
Update existing instances of state to use appState
2022-02-23 14:52:35 -08:00
1a52439150
Extra toggle should be switchable on empty grids
2022-02-23 14:28:48 -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
194b1c5ff3
Remove GridType definitions in favor of the shared one
2022-02-04 18:21:37 -08:00
cface6a107
Save extra state to server
2022-02-04 14:47:34 -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
a21a66c8ae
Move PartyContext to Party component
2022-02-03 19:46:26 -08:00
11e1a81ada
Fix extra switch
2022-02-02 19:28:47 -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
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
48a8ebe3d8
Update index.tsx
2022-01-31 23:34:38 -08:00
e046b0ef42
Fix bug with saving unauth grids
2022-01-30 03:09:29 -08:00
b08ac89f9b
Fix reference to user ID
2022-01-28 21:27:29 -08:00
728803d9c5
Migrate to Next.js
2022-01-24 21:54:50 -08:00