Commit graph

721 commits

Author SHA1 Message Date
3e32871107 Also prevent updating uncap stars on Character/Summon grids 2023-01-02 02:08:01 -08:00
d3c2c6846b Add key to weapon series group elements 2023-01-02 02:05:56 -08:00
e0c809867e Use string for visible 2023-01-02 02:04:08 -08:00
dae06b9087 Intermediate fix for CheckedState
I don't really know how to handle this lol
2023-01-02 02:03:58 -08:00
b5a7302cba Update components to fix NextJs errors 2023-01-02 01:47:34 -08:00
821ef4c41b Passing javascript true to DOM element 2023-01-02 00:53:57 -08:00
ba6c45d551 Fix job image rendering
* Only render when job selected
* Render localized name as alt string
2023-01-02 00:52:26 -08:00
55e2938d76 Fix JobSkill filter not working 2022-12-30 07:03:49 -08:00
71b99091ea Fix hover color for job skill placeholder 2022-12-30 07:02:13 -08:00
2348c049d6 Fix optional error when checking job 2022-12-30 07:00:41 -08:00
59bc9e6b89 Fix awakening select display of input 2022-12-30 06:59:49 -08:00
a12b0383ef Don't show weapon mod button if weapon has no id 2022-12-30 06:12:29 -08:00
bc76df5054 Make all dialogs min-width 2022-12-30 06:12:12 -08:00
758ee4dae4 Fix tablet sizing for JobSection 2022-12-30 05:48:26 -08:00
18208a95b7 Fix empty state for Job dropdown 2022-12-30 05:48:17 -08:00
c574e5e845 Add min-width to SearchDialog 2022-12-30 05:40:52 -08:00
1e820f184e Force reload after logout
This is a much easier and foolproof way to ensure that people can't edit their grid after logging out.
2022-12-30 05:23:44 -08:00
ba025b8fd8 Set user token after login and signup 2022-12-30 05:19:12 -08:00
18a998b1ed Remove logs and unused dependencies 2022-12-30 05:18:40 -08:00
8c952a57f5 Condense createParty into one method call 2022-12-30 05:18:14 -08:00
7580e544fe Lock down unauth authentication
Fixes #97
2022-12-30 03:52:21 -08:00
ab81b70b13 Fix line wrapping and linkify URLs again 2022-12-29 03:24:41 -08:00
d1ec67d021 Fix null element on GridRep 2022-12-28 23:39:54 -08:00
406b3c1b44 Fix GridRep sizing in GridCollection 2022-12-28 23:24:19 -08:00
5e8939cddf Make GridRep more consistent
The mainhand is still slightly taller than the 9 grid weapons but this will do for now
2022-12-28 23:15:09 -08:00
df795ad9a3 Move import 2022-12-28 22:38:43 -08:00
4d2f433f6c Remove headers 2022-12-28 22:38:33 -08:00
8c199b847e SearchModal CSS updates for mobile 2022-12-28 22:38:20 -08:00
92b21dc0cf JobSection updates
* Make Job preview full width
* Use smaller layout on tablets and phones
2022-12-28 22:37:59 -08:00
001dbc55f1 Don't re-align segmented control 2022-12-28 22:37:32 -08:00
f8b2c6d61c Use new Overlay component 2022-12-28 22:37:21 -08:00
968f0f3f43 Fix z-index to work with new Overlay component 2022-12-28 22:37:14 -08:00
6ef884b784 Fix character unit sizing 2022-12-28 22:37:01 -08:00
bd0e66a986 Remove logs 2022-12-28 22:18:27 -08:00
7e1c65a862 Fix CharacterGrid 2022-12-28 22:18:02 -08:00
7bc872644a Add keys to SearchFilters 2022-12-28 22:03:12 -08:00
7eb129f01b Remove stuff from LoginModal 2022-12-28 21:51:44 -08:00
84aa355ad8 Add phantom overlay to Selects to prevent background touches
https://github.com/radix-ui/primitives/issues/1658
2022-12-28 21:47:28 -08:00
2c2a9dd65d CSS updates for modals (except search) 2022-12-28 17:37:55 -08:00
f4cc93d415 Fix the build 2022-12-28 01:48:26 -08:00
c2bb0c23f5 LoginModal fixes
Add error message for invalid credentials
2022-12-28 01:35:58 -08:00
8c32753183 Add Disinfect to credits 2022-12-28 00:53:16 -08:00
ace2e08db2 Hotfix for LoginModal to see whats wrong 2022-12-28 00:36:42 -08:00
edf261b802 Remove headers params from api calls 2022-12-27 19:21:55 -08:00
47f6a5c1bd Make GridRep flexible 2022-12-27 19:18:59 -08:00
82e93de7fc Further improve menu toggling
You should be able to dismiss the menu by clicking the button again. Now you can.
2022-12-27 17:43:15 -08:00
95ef911781 Modify HeaderMenu CSS for position, state
* Fix positioning at top
* Make it full width with padding on phones
* Remove hover states on phones
2022-12-27 17:17:34 -08:00
9513f6b9e6 Remove hover state on GridRep on phone 2022-12-27 17:16:48 -08:00
8f635c6967 HeaderMenu should always be in a <nav> 2022-12-27 17:16:34 -08:00
0fb30e0ac5 Implement retrieveCookie
retrieveCookie fetches and parses cookies. This util should help us further reduce places where we're extracting and parsing with cookies in the business logic
2022-12-27 17:16:21 -08:00
1420d792df Update Layout 2022-12-27 17:14:16 -08:00
e256be2fba Clicking outside the menu hides it
The method in Header got committed two commits ago (oops) but this makes it so a click or tap outside an opened menu hides it
2022-12-27 17:09:45 -08:00
45c4e29f08 Clicking on menu button toggles it
This is an affordance for mobile (and how we got here)
2022-12-27 17:08:50 -08:00
0b0af6f4cd Move TopHeader to Header
This is a remnant of an old design where there was a BottomHeader as well
2022-12-27 17:07:58 -08:00
adf7f42fc0 Fix textarea height 2022-12-27 14:54:29 -08:00
3cf889cd43 Replace media query usage with mixin 2022-12-27 14:54:24 -08:00
0e2e86a81e
Merge pull request #71 from jedmund/fix-69
Fix #69: Uncap stars were too small and getting cut off
2022-12-27 10:41:23 -08:00
8d0860893e Add and implement fix-date
Safari does not handle certain date formats well, and this library fix-date fixes it practically invisibly.
2022-12-27 10:39:49 -08:00
227f72745f Fix a stray background: property
We use background-image specifically so it doesn't overwrite background-size
2022-12-27 10:37:20 -08:00
e8db6870b4 Moved to using PNGs since I know that works
I don't want to spend time on this when there's bigger fish to fry. Will revisit in the future.
2022-12-27 10:30:45 -08:00
70a83f274f Fixes the issue for now
This does introduce a new bug with SVG background images—they are appearing incredibly blurry even though they're SVGs. I fear I will have to output raster images.
2022-12-27 10:09:32 -08:00
4a2fe46078 Fix sizing and hover behavior for desktop 2022-12-27 08:36:29 -08:00
74db26bdd6 fix #62
Descriptions would show up on teams that didn't have one if you viewed a team with a description directly before
2022-12-27 08:18:11 -08:00
271626e963 line-height :) 2022-12-26 16:55:34 -08:00
6ced9f3d08 Mobile hotfix 2022-12-26 16:50:48 -08:00
39cfc90b44 Mobile hotfix 2022-12-26 16:23:47 -08:00
82b1b49c5a Mobile hotfix 2022-12-26 16:03:06 -08:00
12ccc53126 Another mobile hotfix 2022-12-26 15:03:08 -08:00
f1f776119d Another mobile hotfix 2022-12-26 14:28:53 -08:00
a725dd7274 Mobile Hotfix
Mobile is hella broken, this makes it one notch less broken but still hella broken
2022-12-26 13:54:23 -08:00
ccd6829fc6 Quick fixes 2022-12-26 12:45:54 -08:00
6ce651db1c Fix underlines 2022-12-26 12:10:21 -08:00
a8d83ee713 Updated roadmap 2022-12-26 12:06:30 -08:00
82acfd933a Fix build errors 2022-12-26 11:55:35 -08:00
b44ed75040 Update index.tsx 2022-12-26 11:53:14 -08:00
4a651eaaff Inputs weren't Bound 2022-12-26 11:50:45 -08:00
79b70dc9d1 Update About, add Roadmap and Changelog 2022-12-26 11:48:18 -08:00
fe497ea6a5 Fix spacing 2022-12-26 10:03:26 -08:00
797215eeff Implement Youtube embeds 2022-12-26 09:48:12 -08:00
af09e89af1 Rename cosmos → cosmic 2022-12-26 05:17:24 -08:00
61ece14fe7 Add new event handlers to Search 2022-12-26 05:15:51 -08:00
a6e2d50b0c Add new event handlers to Login/Signup 2022-12-26 05:13:15 -08:00
5d4f3b1091 Add translation key for "No class" 2022-12-26 03:39:10 -08:00
45f1bd291e Fix being able to open multiple selects at once
This was miserable
2022-12-26 03:34:22 -08:00
3bdeeb9a0e Disable login/signup button when form is invalid 2022-12-26 01:38:30 -08:00
6a72c8881a Remove old conflicting styles 2022-12-26 01:38:21 -08:00
ef0aff5685 Fix weapon states filter in search 2022-12-26 01:34:59 -08:00
272b5157e1 Fix bug where the first weapon would not display 2022-12-26 00:39:18 -08:00
d1bf180a94 Further fix exposed party details 2022-12-26 00:29:06 -08:00
57a0ce62c2 Fix party details when new 2022-12-26 00:22:30 -08:00
c3f8fa57d0 Always show title/raid/author-style party details 2022-12-25 23:52:24 -08:00
db254e87ec Fix visual bug with taller input 2022-12-25 23:52:00 -08:00
e0eb0fdf21 Fix uncap levels
Shit was really broken

Since 0 is a valid value, we needed to check if it was null, because Javascript
2022-12-25 23:00:39 -08:00
4dbbe01486 Attempt to fix header menu hover bug 2022-12-25 22:27:44 -08:00
5130f52f61 Use Link on GridRep
* Open grids in new tab
* Can favorite or open grid still
* Can now navigate to profile from grid collection
2022-12-25 22:15:41 -08:00
3acd2fa262 GridRepCollection should start from the left 2022-12-25 21:52:22 -08:00
61a02649cf Fix themes 2022-12-25 20:11:50 -08:00
b6d7c403a3 Send props to AccountModal 2022-12-25 19:34:39 -08:00
e408fc5dc3 Remove unused dependency 2022-12-25 19:34:25 -08:00
d5244a49d6 Refactor AccountModal
Now it uses SelectTableField
2022-12-25 19:33:41 -08:00
4765349b6b Update changeLanguage
It needs the router
2022-12-25 19:33:10 -08:00
ef06168c08 Add SelectTableField 2022-12-25 19:32:26 -08:00
d737310b2c Update LoginModal and SignupModal
And adds a new changeLanguage util
2022-12-25 16:14:35 -08:00
fb31d6795c Update AccountModal
* Uses new Selects
* Adds PictureSelectItem for showing an image next to text
* Adds translations
* Add theme select
2022-12-25 16:05:31 -08:00
cd2836a1cb Export DialogTitle 2022-12-25 16:02:21 -08:00
a3246efd4a Remove logs 2022-12-25 02:53:13 -08:00
406eb32800 Remove logs 2022-12-25 01:36:40 -08:00
7dca486d5a Fix menu spacing
Still delicate but fine for now
2022-12-25 01:31:18 -08:00
0e586f4f78 Add extra/subaura filter to Search
* Adds subaura or extra key automatically
* Doesn't show "Recently used" weapons or summons if selecting an extra or subaura slot
2022-12-25 00:54:45 -08:00
15730918be Add alert if user tries to add a disallowed weapon to extra 2022-12-25 00:23:12 -08:00
e5119b08db Fix resetting on close 2022-12-24 23:33:53 -08:00
4a4773b9b9 Add WeaponConflictModal and hook up to WeaponGrid 2022-12-24 23:33:43 -08:00
d6622a8fad Add proper localizations to CharacterConflictModal 2022-12-24 23:33:24 -08:00
77a158974c CSS updates
* Add conflict code to Dialog/index.scss for simplicity.
* A bit of cleanup on styles to make them more robust.
2022-12-24 23:32:39 -08:00
52b314e35e Use updated generic conflict API method 2022-12-24 23:30:48 -08:00
97ed307921 Add keys to grid skill images 2022-12-24 14:45:15 -08:00
9ea7e26805 Fix bug with phantom Awakening image 2022-12-24 05:27:26 -08:00
4dd43b065d Fix build errors 2022-12-24 05:03:47 -08:00
118afed193 Check before setting input value 2022-12-24 05:01:25 -08:00
046c79a267 Add support for Class Champion emblems 2022-12-24 04:51:37 -08:00
c19c3e5344 Make combined functions for AX and Telumas 2022-12-24 04:33:03 -08:00
ac47d45d70 Added Ultima display to WeaponUnit 2022-12-24 03:56:26 -08:00
7d7e867b40 Display Opus weapons and fix selection
There was a bug where if you unset the first Opus key (or presumably any weapon mod where there is more than one), the display in grid and in the modal would be incorrect and lead to corrupted data. This is fixed now!
2022-12-24 03:27:15 -08:00
af5bd49c2f Add display for Telumas and fix WeaponModal display 2022-12-24 01:07:55 -08:00
bfdd019484 Fix display of weapon keys and Select changes 2022-12-23 23:34:48 -08:00
4fdf5fade4 Add weapon key name translations 2022-12-23 23:34:34 -08:00
c56c7981d9 Extract the correct AX skills for display 2022-12-23 22:46:37 -08:00
4a87326307 Display AX skills on WeaponUnit 2022-12-23 22:26:34 -08:00
0a993f856b Fix AX validity checking for good hopefully 2022-12-23 21:33:57 -08:00
3a81675737 Rely on disabled property for disabled styles 2022-12-23 21:25:38 -08:00
d02a3e0861 Update useEffect dependencies 2022-12-23 21:25:27 -08:00
975baecffb Update default value and validity checking 2022-12-23 21:20:04 -08:00
adde7e8182 Add Awakening image to WeaponUnit 2022-12-23 21:19:35 -08:00
604d00da90 Add back ref for Selects 2022-12-23 21:19:23 -08:00
abf862e323 Change input class 2022-12-23 21:19:10 -08:00
47cfb63719 Fix which value is fed into localization 2022-12-23 21:19:01 -08:00
0295e9f769 Adjust min-width 2022-12-23 21:18:46 -08:00
60aae7b598 Remove log 2022-12-23 21:02:16 -08:00
51e67f69c1 Update control to make changeable 2022-12-23 20:00:51 -08:00
a7705707ce Add disabled state to Button 2022-12-23 20:00:39 -08:00
3983d5411c Update validity checking 2022-12-23 20:00:22 -08:00
feba0271a8 Make inputs controlled 2022-12-23 20:00:09 -08:00
05c8cf2c38 Disallow not whole numbers 2022-12-23 18:55:19 -08:00
26021f75ab Add awakening localizations 2022-12-23 18:52:40 -08:00
c74ff41479 Implement AwakeningSelect
* Has modes for weapons and characters
* Shows input when awakening is selected
* Saves type and level to server
* Redisplays type but level is broken
2022-12-23 18:40:50 -08:00
28f6d8fd73 Merge branch 'main' into weapon-mods 2022-12-23 16:42:05 -08:00
221f60c48c Fix build errors 2022-12-23 16:27:11 -08:00
b1d7802e43 Small fix to Settings modal
We need a PR to fix this
2022-12-23 16:17:24 -08:00
d5d404abde Fix input padding 2022-12-23 16:12:08 -08:00
bf3331d1c5 Reset detailsVisible when new party loaded 2022-12-23 16:11:45 -08:00
c51c16de09 Fix select not resetting on new views 2022-12-23 16:10:42 -08:00
dc86e712cb Fix canEditSkill 2022-12-23 15:47:39 -08:00
2d2497b8da Allow setting job to "No job" after it has been set 2022-12-23 15:34:13 -08:00
b329d2b27a Updates to Select component
Use `value` instead of `defaultValue` and properly control it
2022-12-23 15:19:14 -08:00
b04965ae03 Fix buttons 2022-12-23 15:18:53 -08:00
10981a2496 Remove headers from API calls 2022-12-23 15:18:05 -08:00
64070b17b6 Remove unused imports and vars 2022-12-23 00:34:25 -08:00
3862db55a9 Use utils/organizeRaids 2022-12-23 00:33:55 -08:00
90a0447787 Fix updating raid in party details 2022-12-23 00:33:28 -08:00
cc3e14a8c4 Remove include 2022-12-22 23:51:48 -08:00
455b31d1c2 Use showAllRaidsOption to determine defaultValue 2022-12-22 23:51:41 -08:00
1bfd62627d Fix alignment 2022-12-22 23:48:33 -08:00
2a87ad0701 Fixed display of dropdown and defaultValue 2022-12-22 23:34:32 -08:00
653dd3d493 Add current job to defaultValue and properly sort groups 2022-12-22 23:33:58 -08:00
c401804e7b Revise response format due to Blueprinter 2022-12-22 23:33:38 -08:00
0c89300664 Fix Alert buttons
Text was not being flowed into the prop
2022-12-22 23:33:24 -08:00
908e807f00 Fix defaultValue in FilterBar 2022-12-22 21:28:57 -08:00
94f5f69412 Update SignupModal and LoginModal to use Dialog 2022-12-22 21:28:30 -08:00
7c36aac130 Fix saving objects and jobs
There's still bugs with jobs though
2022-12-22 01:48:21 -08:00
bbcdb74ade Update PartyDetails 2022-12-22 01:39:51 -08:00
700a4d653c Tentatively fix Login and Signup
There's probably more here, but I can at least log in right now
2022-12-22 01:36:32 -08:00
e9b4f44fd6 Update searching 2022-12-22 01:07:27 -08:00
45aa8c38ab Update all teams 2022-12-22 00:55:36 -08:00
adc987201e Update profile and filter bar 2022-12-22 00:46:13 -08:00
caf2bca38f List of raids no longer has root keys 2022-12-22 00:09:50 -08:00
17affb29f1 Map default colors in SegmentedControl to vars 2022-12-20 23:32:08 -08:00
306ca3b56f Fix colors in ElementToggle 2022-12-20 23:29:50 -08:00
9cbba094f9 Update AxSelect styles 2022-12-20 23:07:11 -08:00
4973fd1f14 Remove triggers 2022-12-20 23:06:46 -08:00
85fd5df516 Refactored WeaponKeySelect and updated styles 2022-12-20 23:06:27 -08:00
9a9a0397e9 Refactor AxSelect because it was awful/broken
I think this works.
* Shows "No AX Skill" if no AX skill has been set
* Inputs appear after AX skill has been selected
* Second AX skill select shows up after first one has been selected
2022-12-20 19:14:14 -08:00
46034e6aad slight Dark Mode fixes for WeaponModal 2022-12-06 19:48:07 -08:00
8ccdcdf5b4 Fix TS errors
We didn't touch these files and they needed to be updated for Fieldset → Input
2022-12-06 19:41:20 -08:00
362301a4a5 Further fix TS error 2022-12-06 19:36:54 -08:00
600f3c2ec7 Fix TS typing error 2022-12-06 19:34:43 -08:00
1621d53afa Fix SelectItem bug and lint warnings 2022-12-06 19:27:26 -08:00
dac1ed917d Hover background in search, other fixes 2022-12-06 19:03:00 -08:00
a2b30133d4 Add Dark Mode for dialogs 2022-12-06 18:38:36 -08:00
0b021629d7 Fix select colors in FilterBar 2022-12-06 15:54:39 -08:00
1b13f8d51e Fix styles for favorite buttons in GridRep 2022-12-06 14:45:38 -08:00
d8d864a5fe Implement new Select in FilterBar 2022-12-06 13:50:13 -08:00
1e3480e3c0 Update Button and implementations 2022-12-06 13:16:11 -08:00
3376aa7b75 Fix spacing at top 2022-12-06 12:55:57 -08:00
3ee7c0b4b2 Shuffled greyscale, fixed dark mode for select/input 2022-12-06 09:31:56 -08:00
0660f98550 Fix ExtraSummons for dark mode 2022-12-05 22:21:17 -08:00
0ea675d18a Fix purple color for Dark Mode and ExtraWeapons
Also made 13th slot uneditable for now
2022-12-05 21:45:23 -08:00
0f99cd878c Dark mode and CSS refactors for inputs 2022-12-05 19:47:23 -08:00
2ee8060c63 Remove moved code
This method was moved to [party].tsx
2022-12-05 19:47:00 -08:00
c37f0754fb Implement radix select 2022-12-05 18:04:12 -08:00
e8843699c7 Remove trailing semicolons 2022-12-05 17:54:46 -08:00