1365e4c95c
Get query states working on teams page
...
This changes the URL to show query params for our three filters, making it easy for people to link to very specific subsets of raids.
2022-03-07 02:43:21 -08:00
aefd6c3754
Make RaidDropdown to be a controlled component
...
It also indexes on the raid's `slug` instead of `id`, a new key that will let us get to using query params to filter
2022-03-07 00:27:35 -08:00
79b5960cea
Refactor RaidDropdown
...
Generally cleaned it up. Moved `raidGroups` out into a utils file and restructured it so we can localized names.
2022-03-07 00:27:35 -08:00
7ea3907e7f
Fix white space for team descriptions
2022-03-07 00:20:42 -08:00
7a52fa5afd
Missed two slash as division instances
2022-03-06 14:13:22 -08:00
8063ae6ceb
Fix: Slash as Division
...
https://sass-lang.com/documentation/breaking-changes/slash-div
2022-03-06 14:07:24 -08:00
f690e698dc
Temporarily disable terms
...
<Link> is causing issues
2022-03-06 05:39:23 -08:00
7cad878f83
Update raids and add Guild Wars raids
2022-03-06 03:09:52 -08:00
42ac5d7dc1
Lazily fixing build errors
2022-03-06 02:15:36 -08:00
745f9b6c47
Update WeaponLabelIndicator and icons
2022-03-06 02:10:46 -08:00
4ed07f83a2
They really call it Additional Weapons in Japanese too huh
2022-03-05 16:30:52 -08:00
c3186b2899
Add localizations for SearchModal
2022-03-05 14:50:56 -08:00
82a1231b04
Add missing translations to WeaponHovercard
2022-03-05 14:35:44 -08:00
dfd2bbff19
Localize WeaponModal and AxSelect
2022-03-05 14:30:34 -08:00
75f77ced20
Switch locale when logging in
2022-03-05 13:54:46 -08:00
a109a85232
Send locale when creating a user
2022-03-05 13:54:23 -08:00
497c309bd1
Get logged in language switching working
2022-03-05 13:32:03 -08:00
d79a13dc8a
Localized signup and login
2022-03-05 13:24:39 -08:00
269152ee58
Actually fix tag
2022-03-05 10:55:28 -08:00
e902cdc1f5
Fix HeaderMenu Coming Soon tag
2022-03-05 10:55:09 -08:00
3222d5752e
Reorder HeaderMenu unauth items
2022-03-05 10:54:37 -08:00
14c6b5e2da
Fixed implementation of unauth language switcher
...
Now we can go implement it for auth
2022-03-05 10:46:52 -08:00
92d9797c0d
Don't show hearts on GridReps if user is logged out
2022-03-05 02:29:36 -08:00
c626038f64
Rudimentary unauth language switch
...
I can't figure out how to make the current page persist when switching.
Next.js adds a /ja prefix to the path and when switching to Japanese, but it doesn't remove it when switching back to English. This documentation sucks!
2022-03-05 02:29:14 -08:00
110cc0c769
Localize filter bar and dropdowns
2022-03-04 19:51:43 -08:00
d0323861db
Localize and modernize search result components
2022-03-04 19:20:06 -08:00
159110a807
Add translations for SummonGrid
2022-03-04 19:11:17 -08:00
70fb1e63b9
Add translations for hovercards
2022-03-04 19:05:17 -08:00
f62a4a5637
Update index.tsx
2022-03-04 18:46:44 -08:00
34bd98856a
Add locale to object unit components
2022-03-04 18:46:32 -08:00
b91d84028f
Add localization for header menus/some modals
2022-03-04 18:42:06 -08:00
d16565332e
Localize PartySegmentedControl
2022-03-04 17:56:46 -08:00
703c9f4d49
Localize headers
2022-03-04 17:56:37 -08:00
16c9446eb5
Fix title for untitled auth parties
2022-03-04 16:03:15 -08:00
f2e281938a
Add magna summons to list of upgraded art summons
2022-03-04 15:55:19 -08:00
cd53394a7f
Fix meta tags
2022-03-04 14:57:21 -08:00
8f8138950c
Remove logs
2022-03-04 09:34:30 -08:00
0f0c99e8bf
Fix issues with storing access token after signup
2022-03-04 09:09:52 -08:00
98f93406b7
Update SignupModal to be in line with LoginModal updates
2022-03-04 08:36:07 -08:00
4ab41fcc08
Hotfix signup and login buttons
2022-03-04 08:25:58 -08:00
d6695d195c
Added og tags
2022-03-04 07:55:36 -08:00
1da152cbcc
Fix title for new teams
2022-03-04 07:31:02 -08:00
2b7c95419d
FilterBar h1 color tweak
2022-03-04 07:11:42 -08:00
e078e9baed
Set cookies and state after changing user settings
2022-03-04 07:02:20 -08:00
ea24777eb7
Missed some cookies references
2022-03-04 06:34:05 -08:00
f9eec04201
Implemented Linkify in PartyDetails
2022-03-04 06:31:44 -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
00b2521d19
Update index.scss
2022-03-04 05:58:10 -08:00
3d5e7ab7ff
Small design polishing on FilterBar
2022-03-04 05:57:30 -08:00
102be62a7f
Hacky first pass at titles
...
Hacky because the titles for some pages don't load until the data comes in, which takes a second. There's gotta be a better way.
2022-03-04 05:54:16 -08:00
f965e22c89
Merge branch 'main' of github.com:jedmund/hensei-web
2022-03-04 05:38:32 -08:00
b67961b2a3
Fix build errors
...
I always forget something
2022-03-04 05:38:29 -08:00
42e328a4d4
Add profile picture to HeaderMenu for auth users
2022-03-04 05:31:38 -08:00
a186fab73c
Adds a COMING SOON tag to Guides
...
We won't get this done anytime soon
2022-03-04 05:18:07 -08:00
4e701572ab
Adds AccountModal component
2022-03-04 05:17:54 -08:00
053522a81d
Fixes editable bug on /new after logout
2022-03-04 05:17:39 -08:00
7e5b90a6c7
Use the user's stored profile picture in content
...
Also adds styles!
2022-03-04 05:17:23 -08:00
6b999106b5
Hit user info endpoint after login in LoginModal
2022-03-04 05:16:39 -08:00
65da50aa88
Disable class for now
2022-03-04 00:59:55 -08:00
d89070156d
Fix styling post-hovercard
2022-03-04 00:59:31 -08:00
e58210a8f1
Add hovercard sides and a static width to hovercards
2022-03-04 00:49:52 -08:00
8e66dd1b4f
Missed renaming a Button property
2022-03-04 00:37:59 -08:00
d5ac0ba6d7
Add Summon and Character hovercards
2022-03-04 00:33:21 -08:00
f950543c96
Add and implement WeaponHovercard component
2022-03-04 00:16:58 -08:00
be60319f98
Refactor Button component
2022-03-04 00:16:53 -08:00
f384adcc09
Fix double scale bug
2022-03-03 21:06:52 -08:00
f1397ce847
Make WeaponKeyDropdown controlled
...
I don't have time to waste figuring out state bullshit and this works
2022-03-03 20:45:34 -08:00
5899e82cdc
Enable button always if there is no AX value
2022-03-03 18:00:24 -08:00
25bf58da2b
Merge pull request #20 from jedmund/weapon-mods
...
Add the ability to add modifications to grid weapons
2022-03-03 16:58:15 -08:00
242c61c200
Fix typescript build errors
2022-03-03 16:58:04 -08:00
8fe270adb5
Added the last bit of client validation
2022-03-03 16:12:28 -08:00
e9546293dc
Add form validation for AxSelect
...
We're not done yet, there's still some weird behaviors and a case we haven't properly checked (if second AX skill has a value but first AX skill doesn't)
2022-03-03 15:27:31 -08:00
9b39299a3a
Update index.scss
2022-03-03 03:14:03 -08:00
47ff412c2b
Change the weapon's image for null element weapons
2022-03-03 03:14:00 -08:00
a161a1b63a
Modify which weapon series trigger the hover button
2022-03-03 03:13:48 -08:00
adebca255e
Remove logs
2022-03-03 03:13:35 -08:00
4b2c354d53
Update segmented control for null weapons
...
This uses the GridWeapon element to modify the party's segmented control color, if possible
2022-03-03 03:13:20 -08:00
43cc0de232
Added WeaponModal component
...
This uses AxSelect, ElementToggle and WeaponKeyDropdown to let users modify their weapons.
2022-03-03 03:11:20 -08:00
657026e8b5
Remove cookies/headers
...
We don't make any auth'd calls here
2022-03-03 03:10:56 -08:00
1d0c242429
Add AxSelect component and API call
2022-03-03 03:10:37 -08:00
97fb9420db
Add onValueChange hook to send data up
2022-03-03 03:10:25 -08:00
01db78c422
Add WeaponKeyDropdown component and API method
2022-03-03 03:09:12 -08:00
ff65b6e281
Fix party name and description not actually displaying
2022-03-01 19:54:39 -08:00
b46bafa5f7
Add a modal for modifying weapons
2022-03-01 19:53:54 -08:00
869547dc93
Add settings icon to Button
2022-03-01 19:53:40 -08:00
815f3c6b28
Added ElementToggle component
...
A segmented control for selecting an element
2022-03-01 19:53:23 -08:00
7cae5eebfe
Display button on moddable weapons
2022-03-01 19:53:08 -08:00
538e61bc12
Remove ProfileHeader component
2022-03-01 13:03:14 -08:00
cd0ac1e01f
Fix missing Edit info button on /new
2022-03-01 01:22:24 -08:00
1c34803578
Added a smooth loading transition + FilterBar on parties
2022-03-01 01:11:32 -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
29f20ec33c
Update CharacterResult
...
same shit
2022-02-28 18:24:54 -08:00
5c1d19aceb
Small variable updates
2022-02-28 18:22:19 -08:00
57973c39cc
Fix SummonResult
...
Fix styles and add UncapIndicator
2022-02-28 18:22:10 -08:00
44a92ef1aa
Update WeaponResult
...
Update styling, add UncapIndicator
2022-02-28 18:17:30 -08:00
67bd3e8c73
Make some props optional for read-only
2022-02-28 18:17:04 -08:00
f16c53ed16
Further SearchModal styling
2022-02-28 18:16:53 -08:00
d66bdc07f6
Fix SearchModal styling
...
Brings it more in line with other modals
2022-02-28 17:44:27 -08:00
f3d2ff9662
Implement new LoginModal in HeaderMenu
2022-02-28 16:40:48 -08:00
1c7e602464
Refactor and redesign LoginModal
2022-02-28 16:40:16 -08:00