Commit graph

1465 commits

Author SHA1 Message Date
20dc1f72f9 Merge branch 'staging' into remove-title-button-new 2023-01-31 03:21:09 -08:00
72ac1b8a02
Merge pull request #212 from jedmund/unauth-teams
Allow editing of unauth teams
2023-01-31 03:13:19 -08:00
ade64446dc Unset edit key on page load
Just in case, we're unsetting the edit key on page load, so that we can re-set it after clearing our logic checks
2023-01-31 02:56:42 -08:00
37181d898b Use props instead of appState 2023-01-31 02:55:14 -08:00
ce3d0d73a2 Store and set edit keys
This stores and sets the edit keys on page load and after party create
2023-01-31 02:54:50 -08:00
cd28629389 Add setEditKey
This method lets us set the edit key in a default header much like we do with user tokens
2023-01-31 02:53:29 -08:00
608b744a71 Determine editable at Party level, pass down to grids 2023-01-31 01:25:02 -08:00
c0df78758b Store edit key in localStorage on create response 2023-01-31 01:24:42 -08:00
6b83f81eb6 Send generated local_id with create payload 2023-01-31 01:24:16 -08:00
20cf1789dd Add local_id to Party definition 2023-01-31 01:23:20 -08:00
01b9787fb8 Create a UUID for unauth users when they visit /new
This snippet adds a dependency on the `uuid` module, then uses it to create a UUID for unauth users that gets stored in an otherwise empty `account` cookie. We update _app to account for this change.
2023-01-31 00:19:50 -08:00
d32293995b Refactor setUserToken into two methods
This refactors `setUserToken` into `accountCookie`, which just returns a cookie if it exists, and `setHeaders`, which sets the Axios header defaults.

Then, we update the calls in all the required files.
2023-01-31 00:18:54 -08:00
d4d856e6c2 Don't show title button on new teams 2023-01-30 23:22:41 -08:00
714acbed35
Merge pull request #211 from jedmund/fix-195
Don't send users to weapons tab when creating a new party
2023-01-30 23:11:42 -08:00
79ea150b81 Add a missing localization 2023-01-30 23:10:09 -08:00
f0ba0d5eb3 Don't switch tabs when creating a party
We changed the method in the New route to use the Next.js Router, which is causing us to navigate to the Party route and causing issues. This change makes it so that users stay on the same tab when they reach their destination.
2023-01-30 23:09:37 -08:00
37de3914f4
Merge pull request #209 from jedmund/update-updates
Add localizations
2023-01-30 04:34:24 -08:00
c7c410bd2a Add localizations 2023-01-30 04:33:47 -08:00
0c11b13aca
Merge pull request #208 from jedmund/update-updates
Various small fixes and improvements
2023-01-30 04:31:56 -08:00
a5c03f10cb Add localization for Your Profile 2023-01-30 04:29:20 -08:00
cec4aa22e6 Add NPC profile picture to other pages 2023-01-30 04:26:03 -08:00
a5a5143bd6 Add username and anonymous profile picture 2023-01-30 04:22:47 -08:00
a1da2f408b Change color for tokens when "Off" 2023-01-30 04:15:05 -08:00
c5a45b8d21
Merge pull request #206 from jedmund/update-updates
Update update page in preparation for 2/6
2023-01-30 03:57:44 -08:00
5c79905437 Escape apostrophes 2023-01-30 03:57:07 -08:00
6e3c1fc9d8 Update .gitignore 2023-01-30 03:37:12 -08:00
39dba09ced Add 2022-02-06 update log 2023-01-30 03:36:59 -08:00
432428f4dc
Merge pull request #204 from jedmund/add-r-characters
Add support for R characters
2023-01-30 01:35:09 -08:00
4f0a49b114 Add support for R characters 2023-01-30 01:34:09 -08:00
cf91c3f4ac
Merge pull request #203 from jedmund/fix-weapon-conflicts
Always run npm run build
2023-01-29 23:44:19 -08:00
1a53e34290 Always run npm run build 2023-01-29 23:43:24 -08:00
7a87b066ff
Merge pull request #201 from jedmund/fix-weapon-conflicts
Fix weapon conflicts
2023-01-29 23:39:14 -08:00
05df606ea4 Don't POST if the user is adding the same weapon to a position 2023-01-29 23:36:57 -08:00
fa6b312f06 Move storeGridWeapon to after conflict deletion
Otherwise, we delete what we just stored
2023-01-29 23:36:37 -08:00
44c0e96474 Proper equality 2023-01-29 23:36:21 -08:00
4737aabc4c
Merge pull request #200 from jedmund/fix-build-error
Fix missing dependency error
2023-01-29 23:04:19 -08:00
84bd51cae0 Fix missing dependency error
Forgot to remove this
2023-01-29 23:03:59 -08:00
907a3cd3f6
Merge pull request #199 from jedmund/visual-fixes
Small visual fixes
2023-01-29 23:01:41 -08:00
c9417addfa Update the Remix tooltip translation 2023-01-29 23:00:55 -08:00
3548da4b15 Add a tooltip to the Copy URL button
We aren't doing the hovercard in the design right now, so this is fine
2023-01-29 23:00:42 -08:00
3b297e426d Fix uncap indicator in hovercards
We mistakenly removed `width` when we wanted to set `min-width`
2023-01-29 22:56:44 -08:00
12976eab34
Merge pull request #198 from jedmund/hovercard-revamp
Revamp hovercards
2023-01-29 22:50:31 -08:00
3d7726918e Add perpetuity to hovercard portrait 2023-01-29 22:49:58 -08:00
2ef1863637 Use Buttons instead of <a> 2023-01-29 22:19:42 -08:00
0a5f0458c2 Remove width on uncap stars for ULB 2023-01-29 22:19:15 -08:00
cefa859f4a Rearrange so that hovercard clicks dont trigger search 2023-01-29 22:19:07 -08:00
3f183591a1 Update .gitignore 2023-01-29 21:00:42 -08:00
0495c7c8f7 Add character mod data to hovercard 2023-01-29 21:00:25 -08:00
d9ed728276 Add weapon awakenings to hovercard 2023-01-29 19:25:24 -08:00
7e7d89b01d Make custom Hovercard component and migrate 2023-01-29 18:30:38 -08:00