Commit graph

49 commits

Author SHA1 Message Date
c7e0836202
February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
bd1f6ccb98 Refactor createParty to allow creating anything first 2023-01-08 01:32:09 -08:00
562d52a626 Small fixes to Character CSS
* Constrain to $grid-width
* Fix spacing between breakpoints
2023-01-02 05:14:03 -08:00
3e32871107 Also prevent updating uncap stars on Character/Summon grids 2023-01-02 02:08:01 -08:00
18a998b1ed Remove logs and unused dependencies 2022-12-30 05:18:40 -08:00
52b314e35e Use updated generic conflict API method 2022-12-24 23:30:48 -08:00
2d2497b8da Allow setting job to "No job" after it has been set 2022-12-23 15:34:13 -08:00
10981a2496 Remove headers from API calls 2022-12-23 15:18:05 -08:00
c401804e7b Revise response format due to Blueprinter 2022-12-22 23:33:38 -08:00
7c36aac130 Fix saving objects and jobs
There's still bugs with jobs though
2022-12-22 01:48:21 -08:00
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
c6f6a6ca99 Update API calls and display errors 2022-12-03 16:43:18 -08:00
7e3c6a9463 Update job skills from server response 2022-12-02 11:21:32 -08:00
cfc8e149fb Remove logs 2022-12-02 11:21:14 -08:00
fdebea27ae Populate skills from props instead of state
We're essentially ensuring consistency between the backend by frontend by using the backend as more of a source of truth.
2022-12-01 05:36:57 -08:00
c307fcb18f Remove logs 2022-12-01 02:00:58 -08:00
6070164150 Save job and job skill to party 2022-12-01 01:46:11 -08:00
6af2ace6b0 Use SearchableObject type 2022-11-30 09:01:33 -08:00
6ef73583df Implement job skill search 2022-11-30 05:20:22 -08:00
b61885a86d Fix even more linter errors 2022-11-19 21:06:06 -08:00
b71bb09723 Fix linting errors 2022-11-19 20:48:05 -08:00
44efa3e490 Revert "Try to fix object error"
This reverts commit c39b66bce2.
2022-11-19 18:57:21 -08:00
56fb881edd Revert "Fix object is possibly undefined error"
This reverts commit 90dcb54bba.
2022-11-19 18:57:10 -08:00
c39b66bce2 Try to fix object error 2022-11-19 18:49:21 -08:00
90dcb54bba Fix object is possibly undefined error 2022-11-19 18:40:32 -08:00
19a9fa3da2 Implementation of character conflict modal 2022-11-19 06:37:28 -08:00
a3d1c1ee56 Fix cookie usage in Party and grid tabs 2022-11-15 05:12:18 -08:00
745c873e36 Implement JobSection 2022-04-04 23:43:13 -07:00
258f9cf899 Persist timestamp state in grid API calls 2022-03-14 16:45:49 -07: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
f66063b273 Grids shouldn't send API calls if a grid isn't editable 2022-02-26 18:58:16 -08:00
c88e9be025 Final updates removing context and replacing with state 2022-02-23 16:13:28 -08:00
bbe78566ad Update existing instances of state to use appState 2022-02-23 14:52:35 -08:00
36f4766620 Update CharacterGrid tree to use state management and new keys 2022-02-23 13:57: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
a5f64b6dbe Refactored CharacterGrid to pull its own data 2022-02-03 23:51:23 -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
907d9f05e4 Lift SearchModal out of CharacterUnit 2022-01-25 14:27:48 -08:00
728803d9c5 Migrate to Next.js 2022-01-24 21:54:50 -08:00
Renamed from src/components/CharacterGrid/index.tsx (Browse further)