Commit graph

1183 commits

Author SHA1 Message Date
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
4a219378c7 Fix bug with party name 2023-01-07 22:59:26 -08:00
b48b0c5043
Merge pull request #133 from jedmund/update-roadmap
Update roadmap
2023-01-06 04:26:26 -08:00
ce2c775f36 Include roadmap translation in serverSideTranslations 2023-01-06 04:24:48 -08:00
3595899233 Add new layout and styles for roadmap modal 2023-01-06 04:24:35 -08:00
f0e734b36e Add new roadmap localization file 2023-01-06 04:23:43 -08:00
d070aea762 Fix padding on input to match other interactive elements 2023-01-06 03:13:37 -08:00
40e218deb2 Make modal open on ContextMenuItem select 2023-01-06 03:04:41 -08:00
12a01ef31d Make onOpenChange optional 2023-01-06 03:04:17 -08:00
bab9488913 Update CharacterModal
* Update localization keys
* Remove unneeded dependencies and calls
* Store received values (WIP)
2023-01-06 03:03:58 -08:00
ad07e9b727 Receive and send ring values (WIP) 2023-01-06 03:02:14 -08:00
a428a69ec7 Fix styles (make wider, text-align right) 2023-01-06 03:01:48 -08:00
db7a008c6f Remove onOpenChange and open states
We don't need it right now
2023-01-06 03:01:33 -08:00
3ade12f9e5 Add missing values 2023-01-06 02:59:52 -08:00
b3821641b3 Fix maxValue 2023-01-06 02:59:44 -08:00
b218fd61fa Add extra ItemSkill properties on empty awakening
Even though it doesn't really need them
2023-01-06 02:59:29 -08:00
6541dff12e Fix primary button, add overlay, allow ReactNode msg 2023-01-06 02:58:59 -08:00
39f79bfbc6 Update Alert styles
* Proper z-index with overlay
* Slightly themed with background-color variable (more to come)
* Make strong actually make things bold
* Proper styling on buttons container
2023-01-06 02:58:45 -08:00
1206c1978f Add WIP RingSelect
doesn't send data yet
2023-01-06 00:49:41 -08:00
21465b5dea Add style for hidden selects 2023-01-06 00:49:24 -08:00
45d77b0522 Hardcode sizing of the pair of inputs, which sucks but is necessary for now 2023-01-06 00:49:12 -08:00
0860e7d694 Implement SelectWithSelect
A table item with a select on the left and a select on the right
2023-01-06 00:46:34 -08:00
bbccf8427b Add optional values to ItemSkill
Character over and aetherial mastery bonuses take values with steps that are not always even, so we have to hardcode them
2023-01-06 00:46:10 -08:00
bf300e6026 Add localizations 2023-01-06 00:45:40 -08:00
e53237d94a Update elementalizeAetherialMastery.tsx
Making the opposite element strings was not working
2023-01-06 00:45:32 -08:00
a089e84ec5 Add new types for ExtendedMastery and OverMastery 2023-01-05 20:49:44 -08:00
8ed97c55fe Convert to use SelectWithInput 2023-01-05 20:49:17 -08:00
d7ab348e4b Fix bad import after moving data files 2023-01-05 20:49:03 -08:00
1206290ede Add support for disabled selects 2023-01-05 20:48:53 -08:00
55c99cda58 Bug fix: Plus icon is a higher z-index than summon image 2023-01-05 20:48:37 -08:00
7ab9a70189 Add mastery items to GridCharacter type 2023-01-05 20:48:24 -08:00
beaa667a75 Change Awakening to use ItemSkill
for convenience
2023-01-05 20:48:13 -08:00
b1153cfcf9 Fix OverMastery IDs 2023-01-05 20:48:00 -08:00
5fd5411bc4 Create elementalizeAetherialMastery.tsx
This method elementalizes aetherial mastery strings based on a GridCharacter. Also add the opposite element's ID to TeamElement.
2023-01-05 20:47:48 -08:00
0f30c73964 Implement SelectWithInput
We keep making this pattern so lets standardize it
2023-01-05 20:46:50 -08:00
f2bd2dc6c8 Add fractional to ItemSkill and datasets 2023-01-05 03:07:08 -08:00
8df0144465 Add Over and Aetherial Mastery data 2023-01-05 02:14:04 -08:00
5b6c6b4521 Move various files from /utils to /data 2023-01-05 02:13:51 -08:00
1179e4936c Rename AxSkill to ItemSkill 2023-01-05 02:09:22 -08:00
61c7341ee3 Implement CharacterModal
Need sub-components
2023-01-04 23:31:49 -08:00
6cd55e9166 Add ContextMenu to CharacterUnit with placeholders 2023-01-04 22:33:30 -08:00
d4029942e5 Disable selecting the character image 2023-01-04 22:32:26 -08:00
726c0608c4 Add new class for hovering buttons 2023-01-04 22:32:26 -08:00
22ecc20d3a Lighten menu background by 05 2023-01-04 22:32:26 -08:00
ed0c821227 Add ContextMenu and ContextMenuItem 2023-01-04 22:31:01 -08:00
ad72bcdcf9 Rollback GranblueCookie changes 2023-01-03 23:28:36 -08:00
a85a080c62
Merge pull request #128 from jedmund/lanuage-switch-2
Different approach to getting locale cookie
2023-01-03 23:25:00 -08:00
573deaa2c2 Different approach to getting locale cookie 2023-01-03 23:19:13 -08:00
81c6c22337
Merge pull request #127 from jedmund/fix-language-switch
Fix language switch in logged-out menu
2023-01-03 23:13:36 -08:00
dc99c9b525 Fix positioning of thumb in switch
We were using translateX to move the switch and animate it with transform, but the page refreshes immediately after you tap it so it doesn't matter.
2023-01-03 23:10:08 -08:00