Commit graph

30 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
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
159110a807 Add translations for SummonGrid 2022-03-04 19:11:17 -08:00
ea24777eb7 Missed some cookies references 2022-03-04 06:34:05 -08:00
0ff255d71e Changed how cookies are stored
We now have an account object and user object. Account stores critical information, where User is cosmetic/settings.
2022-03-04 06:31:21 -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
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
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
99a2474cbb Update SummonGrid tree to use state management goodness 2022-02-23 02:50:17 -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
ef13369550 Refactored SummonGrid to pull its own data 2022-02-03 23:51:13 -08:00
d3da38b6c4 Small refactoring 2022-02-03 00:15:42 -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
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
df9a91cf96 Move SearchModal to SummonGrid 2022-01-28 22:58:00 -08:00
728803d9c5 Migrate to Next.js 2022-01-24 21:54:50 -08:00
Renamed from src/components/SummonGrid/index.tsx (Browse further)