Commit graph

842 commits

Author SHA1 Message Date
387b02d9ff Sort of fix CSS for JobAccessoryPopover
This still isn't exactly what we want, but it works on mobile so it's good enough
2023-01-26 01:30:56 -08:00
18901c954b Conditionally show icon 2023-01-26 01:29:53 -08:00
7692ec0a0b Icons use fill and not stroke now 2023-01-26 01:29:45 -08:00
749ed4a7c3 Merge branch 'staging' into shields-manabelly 2023-01-25 23:56:47 -08:00
0b59f529c7 Fix Layout bug 2023-01-25 23:25:30 -08:00
392aaa76f4 Fix destination of Learn more button 2023-01-25 22:52:49 -08:00
d489a67a22 Set cookie properly on toast dismissal 2023-01-25 22:46:27 -08:00
8f55069a02 Remove static modals 2023-01-25 22:34:38 -08:00
a7151d5035 Migrate modals in HeaderMenu to pages 2023-01-25 22:33:55 -08:00
660ad41d4e Show/hide toast logic 2023-01-25 22:19:18 -08:00
7d98b0a003 Rename "Changelog" to "Updates" 2023-01-25 14:51:07 -08:00
2718942321 Move static page modals to a standalone page
This will make it easier to whisk people here in notices
2023-01-25 14:33:53 -08:00
cefec18880 Fix cookies expiring after browser restarts
We never added expirations :)
2023-01-24 21:42:14 -08:00
6ec5bc3230 Add UpdateToast for testing 2023-01-24 21:23:02 -08:00
dca5a541a3 Refined base toast styles 2023-01-24 21:22:49 -08:00
5c2c61eeda Add ToastProvider and ToastViewport 2023-01-24 21:22:34 -08:00
f6d0cd7089 WIP: Toast for updates 2023-01-24 18:52:12 -08:00
271ec17202 Add Toast component 2023-01-24 18:52:00 -08:00
9a3d833092 Persist and recall accessory from server 2023-01-24 02:39:04 -08:00
bef9c2b286 Add JobAccessoryPopover
This opens, closes, and saves the value but it doesn't persist to the server yet. Not a responsive component yet.
2023-01-24 02:07:54 -08:00
075e4d52d7 Update PopoverContent
* Add PopoverContentProps
* Set sideOffset as default prop
* Add class name to arrow
2023-01-24 02:07:27 -08:00
a082c392ef Move padding to PopoverContent 2023-01-24 02:06:38 -08:00
6f32c975ce Extracted display of Job image into a component 2023-01-23 22:08:38 -08:00
a4cc331f5e Use proper URL for job icons
Before we were linking to local icons, but these will live on S3
2023-01-23 15:09:34 -08:00
968970b332 Fix errors from props on HTML elements 2023-01-23 02:46:58 -08:00
a3cb1ff7b6 Fix build errors 2023-01-22 23:30:11 -08:00
ac325db3c4 Fix alignment and padding 2023-01-22 22:51:13 -08:00
d5dda428cf Add job to read-only display 2023-01-22 22:48:50 -08:00
fefcd91290 Display icons in dropdown and trigger 2023-01-22 22:45:23 -08:00
814a25d005 Unify and finalize optimistic UI updates 2023-01-22 21:05:19 -08:00
971f04e88f Add XLB suffix for summons 2023-01-22 21:00:24 -08:00
274b5d0872 Remove outline 2023-01-22 20:54:35 -08:00
5bb5652aef Wire up API call to callback for summons 2023-01-22 20:54:30 -08:00
4b3fae1fe4 Remove unused code 2023-01-22 20:43:04 -08:00
882f80e220 Fix level display 2023-01-22 20:42:58 -08:00
c55f6f9708 Enable TranscendencePopover for summons 2023-01-22 20:35:46 -08:00
dd76827995 Updated optimistic UI reverting 2023-01-22 20:35:32 -08:00
9d50c7ae39 Add new props to UncapIndicator 2023-01-22 20:35:18 -08:00
99d3c646c0 Add update code for summons 2023-01-22 20:35:07 -08:00
fbc6f27b7f Remove unused code 2023-01-22 20:34:48 -08:00
e62e5bffa3 Remove dead styles 2023-01-22 19:51:50 -08:00
69edb2c770 Add animation 2023-01-22 19:51:29 -08:00
7876f0d9a7 Add RadixPopover and refactor TranscendencePopover 2023-01-22 19:27:04 -08:00
eb8183fe29 Improve tabIndex on CharacterGrid 2023-01-22 16:33:49 -08:00
c9ae4cd90b Read-only TranscendenceStar and optimistic updates 2023-01-22 16:10:15 -08:00
d7e39f3912 Send transcendence stage back to server 2023-01-22 14:41:09 -08:00
1f21e9d808 Added TranscendencePopover
This popover is the UI that lets you set an item's transcendence
2023-01-22 14:40:57 -08:00
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
8a60326e39 Update index.scss 2023-01-03 19:58:14 -08:00
8a600f967a Change raid color in GridRep 2023-01-03 19:53:29 -08:00
ac865d7a26 Fix colors in GridRep and add to detailsWithUsername 2023-01-03 19:41:31 -08:00