Commit graph

1496 commits

Author SHA1 Message Date
d6d63361ad Update README and .env sample 2023-02-01 00:29:08 -08:00
085e80408d Add rel="noreferrer" 2023-01-31 23:57:01 -08:00
2b8b87c27b Fix locale not persisting going to static pages 2023-01-31 23:54:44 -08:00
31b75af7f8 Fix titles
This is highly insufficient, since at first load the static pages will always show "About" first, but it's good enough for now.
2023-01-31 23:47:08 -08:00
cdf3b8afb6 Fix Github LinkItem color and LinkItem width 2023-01-31 23:18:46 -08:00
dc6b12fc7a Fix gradient on About page for dark mode 2023-01-31 23:15:19 -08:00
0770d0e3da
Merge pull request #220 from jedmund/fix-219
Fix <head> and add favicon
2023-01-31 22:42:36 -08:00
3bcfb19503 Add favicon to all heads 2023-01-31 22:41:37 -08:00
3c0ef2b6be Fix <head> on these pages
They were waiting for context and a user object that wasn't coming
2023-01-31 22:33:59 -08:00
8532742ae1
Merge pull request #218 from jedmund/updates-roadmap
Add about hero image
2023-01-31 22:17:16 -08:00
b7b44f9496 Add about hero image 2023-01-31 22:16:23 -08:00
217c8a38a3
Merge pull request #217 from jedmund/updates-roadmap
Update static pages, small bugs, button revert
2023-01-31 22:13:59 -08:00
34ead0e07f Add date string localization 2023-01-31 22:11:01 -08:00
248a788176 Add endpoints to api 2023-01-31 22:10:53 -08:00
9c4da48b5a Add keys and update ChangelogUnit calls 2023-01-31 22:10:46 -08:00
9f2ae9f732 Update ChangelogUnit to fetch data from API 2023-01-31 22:10:30 -08:00
18820b54f3 Translate new roadmap 2023-01-31 21:39:33 -08:00
a22313d137 Translate updates page 2023-01-31 20:30:02 -08:00
64438ccb45 Add translation for About page 2023-01-31 19:19:01 -08:00
7d0adeceec Rename roadmap translation file to about 2023-01-31 19:18:54 -08:00
2ebddcd6cf Remove roadmap translations 2023-01-31 19:17:58 -08:00
1a35c849f0 Disable user highlighting on buttons and tokens 2023-01-31 18:10:09 -08:00
a1b3ecbaa4 Disable form validation when open state changes 2023-01-31 18:09:56 -08:00
0d11be1a93 Fix auth modal button hover color 2023-01-31 18:07:10 -08:00
58c2a0cfe3 Fix tooltip styling 2023-01-31 18:05:28 -08:00
013d6d5bfb Add new button back 2023-01-31 18:01:22 -08:00
b36dcb7b6f Fix optional error 2023-01-31 17:59:57 -08:00
a2c81de751 Adjust hero position, fix typos, add styles 2023-01-31 17:47:39 -08:00
607a10bfae WIP About page updates 2023-01-31 04:48:55 -08:00
44e35d0505 Update Updates page 2023-01-31 04:42:34 -08:00
71546791b3
Merge pull request #213 from jedmund/remove-title-button-new
Don't show title button on /new
2023-01-31 03:21:57 -08:00
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