Commit graph

745 commits

Author SHA1 Message Date
9c757c2c5b Add TranscendenceStar and TranscendenceFragment
`TranscendenceStar` is a new star capable of displaying `TranscendenceFragment`s depending on the `GridCharacter` stage
2023-01-22 14:40:21 -08:00
4f7d18904f Add perpetuity control to CharacterUnit
This involved moving the code to update a GridCharacter to the CharacterUnit from CharacterModal
2023-01-21 20:20:25 -08:00
3ce7145ec4 Add handleSummonResponse 2023-01-21 19:12:54 -08:00
b912a7ae8f Implement deleting summons 2023-01-21 15:40:42 -08:00
bd11685295 Merge branch 'scroll-indicator' into summon-renewal 2023-01-21 15:30:56 -08:00
ee7ab8fd13
Merge branch 'fix-dialogs' into scroll-indicator 2023-01-21 15:30:30 -08:00
48866865eb Fix validation on open change in WeaponModal 2023-01-21 15:28:28 -08:00
0efe7f2386 Merge branch 'scroll-indicator' into summon-renewal 2023-01-21 15:19:06 -08:00
4bb625934b Remove hardcoded height from dialog
Causing issues of course
2023-01-21 15:18:43 -08:00
ddee38e37c Refactor SummonUnit and add alert and contextmenu 2023-01-21 15:18:01 -08:00
89908777a2 Add backdrop-filter for Overlay and animate 2023-01-21 09:42:50 -08:00
da1bca2c05 Fix auth modals 2023-01-21 08:37:11 -08:00
1ee55cc1c2 Fix delete party alert and redirect to profile on delete 2023-01-21 08:21:43 -08:00
0678856b43 Fix Conflict modals and make scrollable 2023-01-21 07:56:25 -08:00
acadbc3eea "Fix" extra scroll on AccountModal
This is definitely a "fix" because I have no idea why it was misbehaving in the first place
2023-01-21 07:42:41 -08:00
b271aa0923 Add footer ref for WeaponModal 2023-01-21 07:29:28 -08:00
66df6f9f74 Update SearchModal to use new scroll tech 2023-01-21 07:09:41 -08:00
7ad9032e86 Fix shadows for static and mod modals 2023-01-21 06:04:40 -08:00
c9315ab397 Fix spacing at bottom of ChangelogModal 2023-01-21 03:43:18 -08:00
baeaf4f73d Implement shadow on DialogHeader in static modals 2023-01-21 03:42:29 -08:00
16ed034b16 Fix spacing in AboutModal 2023-01-21 03:40:30 -08:00
6bc34af434 Fix and update Changelog and About modals 2023-01-21 00:10:41 -08:00
41d22c59a5 Fix Roadmap modal 2023-01-20 22:33:40 -08:00
0e3d5c08f8 Add max-width to DialogContent 2023-01-20 22:26:20 -08:00
a18c4d88bb Toggle locked for uncontrolled dialogs 2023-01-20 22:26:11 -08:00
82d1d7550a Fix styles for AccountModal 2023-01-20 21:53:45 -08:00
cd3d96d36f Add conditional for earring values 2023-01-20 21:50:27 -08:00
a4d6321d64 Update DialogContent styles 2023-01-20 21:49:55 -08:00
cdb85120de Update Dialog to be controlled 2023-01-20 21:49:43 -08:00
24c2ee950f Update SearchModal to be controlled 2023-01-20 21:49:16 -08:00
cc7051fc8f Implement removing Characters and Weapons 2023-01-20 21:39:03 -08:00
23c520f549 Fix Alert buttons and sizing 2023-01-20 21:11:53 -08:00
efcd2ea47c Add variables for timing 2023-01-20 21:05:23 -08:00
3417eab46e Add translations 2023-01-20 20:46:54 -08:00
54d67260c9 Fix party title when Untitled 2023-01-20 20:42:13 -08:00
2be23b5ea0 Add context menu to WeaponUnit
Also refactored and organized WeaponUnit and CharacterUnit
2023-01-20 20:38:44 -08:00
d4e598e36b Make button disappear and handle context menu states 2023-01-20 19:40:27 -08:00
6023f9ab6a Fix AwakeningSelect component
It was completely broken for weapons. We managed to fix the problem by refactoring how data is sent to SelectWithInput but I fear the root error is still there.

We also cleaned the component up a bit.
2023-01-20 19:29:07 -08:00
39940abf9f Fix saving awakening types and levels 2023-01-20 18:21:51 -08:00
e6c52c43b2 Fix error when opening character w/o over mastery 2023-01-20 17:39:04 -08:00
a06047232f Fix styles for Auth modals 2023-01-19 10:25:17 -08:00
6777804f57 Rename SelectWithSelect
This is only used for ExtendedMastery and is hardcoded for ItemSkill types
2023-01-19 08:12:35 -08:00
ea15696bae Enable saving to server 2023-01-19 08:01:35 -08:00
094ae4d7f9 Add new dependencies 2023-01-19 07:30:20 -08:00
07ce2d9cf5 Add headerClasses 2023-01-19 07:29:21 -08:00
2837eccc05 Refactor GridCharacterObject type 2023-01-19 07:29:09 -08:00
94bdd24900 Rename openChange 2023-01-19 07:28:56 -08:00
f2584459f7 Wire up switch for perpetuity 2023-01-19 07:27:45 -08:00
d9551a3e8e Receive and set character mod data 2023-01-19 07:27:21 -08:00
1d5822a0ab Add header changes to Weapon and Character modals 2023-01-19 07:26:37 -08:00
78744d663b Refactor props key out of WeaponSelect 2023-01-19 07:25:54 -08:00
6064d726ce Fix infinite loop in SelectWithSelect 2023-01-19 07:25:19 -08:00
6f3c7d2a03 Remove unused dependency 2023-01-15 15:21:47 -08:00
a8fb489911 Fix styles after Dialog extraction 2023-01-15 10:44:24 -08:00
acbc2da09d Show no_job string in read-only section 2023-01-15 10:37:51 -08:00
1bb16db205 Lock scrolling body when Dialog is open 2023-01-15 10:36:38 -08:00
b4f217071f Extract Dialog into its own component 2023-01-15 10:36:20 -08:00
26a30ad89c Add switch and styling for perpetuity rings 2023-01-14 19:22:21 -08:00
dd8f1906e8 Tightly couple ATK and HP values 2023-01-14 18:59:34 -08:00
9041683a6c Default awakening should be 1 2023-01-14 17:50:39 -08:00
9891cf4a46 Remove unused code 2023-01-14 17:50:31 -08:00
4f5c790d7d Add image to character modal 2023-01-14 17:43:59 -08:00
559f18764b Merge branch 'party-url-query' into character-mods 2023-01-14 12:40:52 -08:00
f0d6f1f8a4 Implement query param switching
Adding /characters, /weapons, or /summons will direct you to that tab by default, with /weapons as the default.

Clicking the segmented controller replaces the URL with the corresponding path, but doesn't push the navigation stack
2023-01-14 12:23:03 -08:00
21f5ab8825 Removed unused and redundant code 2023-01-14 12:22:15 -08:00
7532455364 Merge branch 'main' into character-mods 2023-01-08 05:53:48 -08:00
bd1f6ccb98 Refactor createParty to allow creating anything first 2023-01-08 01:32:09 -08:00
c0cdb91178 Remove visible from props to remove error 2023-01-08 01:31:56 -08:00
018aaefa81 Fix SummonUnit showing + over image 2023-01-07 23:28:06 -08:00
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
3595899233 Add new layout and styles for roadmap modal 2023-01-06 04:24:35 -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
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
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
0f30c73964 Implement SelectWithInput
We keep making this pattern so lets standardize it
2023-01-05 20:46:50 -08:00
5b6c6b4521 Move various files from /utils to /data 2023-01-05 02:13:51 -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
ed0c821227 Add ContextMenu and ContextMenuItem 2023-01-04 22:31:01 -08:00
573deaa2c2 Different approach to getting locale cookie 2023-01-03 23:19:13 -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
9b1dd4452f Bump Token size because yoey is needy 2023-01-03 20:01:57 -08:00