Commit graph

48 commits

Author SHA1 Message Date
bd838305e6
Bug fixes and content updates (#270)
* Fix character hovercard z-index

* Allow unauth users to edit their remixed parties

* Adds ultimate_mastery and renamed master_level to defs

* Add granblue_id to weapon keys

* Add granblue_id to AX skills

* Add granblue_id to data-granblue-id

* Added bugfixes to update notes

* Fix types where ItemSelect is used

These need an empty `granblue_id`
2023-03-17 01:35:49 -07:00
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
5de556b367 Create teams when arbitrary details are changed
These teams have no weapons and won't show up anywhere but the user's profile. We should probably clean out completely empty teams every once in a while with a CRON job.
2023-01-07 23:25:55 -08:00
54dd3feba7 Add new fields to parties
I forgot to commit
2023-01-03 18:06:27 -08:00
8c952a57f5 Condense createParty into one method call 2022-12-30 05:18:14 -08:00
57a0ce62c2 Fix party details when new 2022-12-26 00:22:30 -08:00
60aae7b598 Remove log 2022-12-23 21:02:16 -08:00
bf3331d1c5 Reset detailsVisible when new party loaded 2022-12-23 16:11:45 -08:00
b329d2b27a Updates to Select component
Use `value` instead of `defaultValue` and properly control it
2022-12-23 15:19:14 -08:00
c37f0754fb Implement radix select 2022-12-05 18:04:12 -08:00
efa864fb80 Run prettier on src 2022-12-04 07:19:31 -08:00
944bfa3d17 Update index.tsx 2022-12-01 04:00:48 -08:00
c307fcb18f Remove logs 2022-12-01 02:00:58 -08:00
5a797f0d14 Fix party details
* Populate from SSR
* Hide button to edit empty anonymous grids
2022-11-16 05:47:30 -08:00
fd45241466 Update Party to not try to update job if not editable 2022-11-16 03:49:37 -08:00
a3d1c1ee56 Fix cookie usage in Party and grid tabs 2022-11-15 05:12:18 -08:00
47f41a19a0 Fix memory leak 2022-04-10 13:06:44 -07:00
eb8e8ab4cf Save and receive job from backend 2022-04-04 23:43:28 -07:00
9291e5501a Add deleteTeam method 2022-03-14 16:46:58 -07:00
83bb782476 Remove extra spacing below Party 2022-03-14 16:46:43 -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
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