Commit graph

876 commits

Author SHA1 Message Date
93755dfda4 Update avatar implementation 2023-01-28 03:37:00 -08:00
ba5244bc3b Don't show header title on non-party pages 2023-01-28 02:49:14 -08:00
f3886c3ce8 Set remove alert to close when removing an item 2023-01-28 02:44:20 -08:00
da43f80099 Fix optional error 2023-01-28 02:42:39 -08:00
89e1709994 Fix styles for remixed teams 2023-01-28 00:58:21 -08:00
3d71ad1d8b Add localizations 2023-01-28 00:51:32 -08:00
ea8fd7a423 Add tooltip over remix icon 2023-01-28 00:45:02 -08:00
2172647282 Add generic Tooltip component 2023-01-28 00:44:51 -08:00
9a6e333e9e Add link back to source party 2023-01-28 00:26:30 -08:00
86b48f52c1 Add source party to Party definition 2023-01-28 00:26:23 -08:00
522be622ab Display remixes on parties 2023-01-28 00:01:30 -08:00
0b3861e03e Update Party type and state 2023-01-27 23:47:31 -08:00
534d608171 Add localizations 2023-01-27 23:44:41 -08:00
f2a1d80bf2 Add Remix button 2023-01-27 23:11:33 -08:00
c224184dee Fix how we handle state
- New route will reset state instead of it happening when the "New" button is clicked
- Added key to <React.Fragment> in party and new pages to force it to rerun getServerSideProps
2023-01-27 23:11:25 -08:00
f68785fa3a Add shortcode to party state object 2023-01-27 23:08:46 -08:00
49c463d402 Add Remix icon and button 2023-01-27 22:51:45 -08:00
0901fbf21d Change how we handle modals 2023-01-27 22:41:43 -08:00
1337668152 Remove console logs 2023-01-27 22:13:29 -08:00
6c76053e15 Fixed link to new party 2023-01-27 22:12:35 -08:00
ab928f4429 Add modal for network errors 2023-01-27 21:59:56 -08:00
6da5a4f320 Add toast on copy link
It animates in and out too
2023-01-27 21:35:08 -08:00
191f4447d5 Fix save button states 2023-01-27 20:50:56 -08:00
0bbd0278a1 Move copy function and remove copy button 2023-01-27 20:39:57 -08:00
199b02b0cc Fix unauth menu 2023-01-27 20:36:45 -08:00
fa1bf57964 Implement new header design (so far) 2023-01-27 20:30:39 -08:00
ceb87a8016 Add wrapper for Radix DropdownMenu 2023-01-27 20:30:00 -08:00
1baf8d3b06 Add support for left and right button accessories 2023-01-27 20:29:32 -08:00
2534728785 Extract capitalizeFirstLetter into util 2023-01-27 20:28:44 -08:00
f85874d962 Add clearer selected state 2023-01-27 11:40:39 -08:00
c5c08b6a78 Fix bug with api response 2023-01-26 02:42:14 -08:00
c4a32ab639 Make button light up while popover is open 2023-01-26 02:28:06 -08:00
c41dafbeeb More CSS fixes 2023-01-26 02:25:52 -08:00
4c3d8360a0 Implement localizations 2023-01-26 02:25:46 -08:00
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