File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11IPFS hash of the deployment:
2- - CIDv0: `Qmco7hGW4dsJKfhoLv8sGHAXypm7L39jNEPrvPg5RKB9Ef `
3- - CIDv1: `bafybeigwzm5qyldf3pbjcpr7jf4lswxajkj3cgqlyvfo7ep3wbhokgksna `
2+ - CIDv0: `QmYbRVn3BoajnHhiANVW34aCVKnQ2UULvonidvumMhVfJq `
3+ - CIDv1: `bafybeieylwsfglot22ltrn6zuxk4wizj2gsngpp4bobswehjvurkkg6myi `
44
55The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
66
@@ -10,5 +10,5 @@ You can also access the Uniswap Interface from an IPFS gateway.
1010Your Uniswap settings are never remembered across different URLs.
1111
1212IPFS gateways:
13- - https://bafybeigwzm5qyldf3pbjcpr7jf4lswxajkj3cgqlyvfo7ep3wbhokgksna .ipfs.dweb.link/
14- - [ipfs://Qmco7hGW4dsJKfhoLv8sGHAXypm7L39jNEPrvPg5RKB9Ef /](ipfs://Qmco7hGW4dsJKfhoLv8sGHAXypm7L39jNEPrvPg5RKB9Ef /)
13+ - https://bafybeieylwsfglot22ltrn6zuxk4wizj2gsngpp4bobswehjvurkkg6myi .ipfs.dweb.link/
14+ - [ipfs://QmYbRVn3BoajnHhiANVW34aCVKnQ2UULvonidvumMhVfJq /](ipfs://QmYbRVn3BoajnHhiANVW34aCVKnQ2UULvonidvumMhVfJq /)
Original file line number Diff line number Diff line change 1- web/5.152.1
1+ web/5.152.2
Original file line number Diff line number Diff line change @@ -30,10 +30,19 @@ export function AddBackupLoginCard(): JSX.Element | null {
3030 const onPressCard = useEvent ( ( ) => {
3131 dispatch ( setOpenModal ( { name : ModalName . AddBackupLogin } ) )
3232 } )
33+ // TODO: We are temporarily blocking recovery setup, undo as part of INFRA-2344
34+ const isRecoveryDisabled = true
3335
3436 const showCard =
35- isEmbeddedWallet && ! isPortfolioZero && ! isLoading && ! isError && ! hasRecoveryMethod && ! ! getPrivyAppId ( )
37+ isEmbeddedWallet &&
38+ ! isPortfolioZero &&
39+ ! isLoading &&
40+ ! isError &&
41+ ! hasRecoveryMethod &&
42+ ! ! getPrivyAppId ( ) &&
43+ ! isRecoveryDisabled
3644
45+ // oxlint-disable-next-line typescript/no-unnecessary-condition
3746 if ( ! showCard ) {
3847 return null
3948 }
Original file line number Diff line number Diff line change @@ -279,6 +279,9 @@ export function PasskeyMenu({ onClose }: { onClose: () => void }) {
279279 }
280280 } , [ ] )
281281
282+ // TODO: We are temporarily blocking recovery setup, undo as part of INFRA-2344
283+ const isRecoveryDisabled = true
284+
282285 return (
283286 < Trace logImpression modal = { ModalName . PasskeyManagement } >
284287 < SlideOutMenu
@@ -327,7 +330,11 @@ export function PasskeyMenu({ onClose }: { onClose: () => void }) {
327330 </ Flex >
328331
329332 { getPrivyAppId ( ) ? (
330- < Flex gap = "$spacing16" >
333+ < Flex
334+ gap = "$spacing16"
335+ // oxlint-disable-next-line typescript/no-unnecessary-condition
336+ display = { isRecoveryDisabled && recoveryMethods . length === 0 ? 'none' : 'flex' }
337+ >
331338 < Text variant = "subheading2" color = "$neutral1" >
332339 { t ( 'account.passkey.sections.backupLogin' ) }
333340 </ Text >
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ exports[`PasskeyMenu > shows 3 skeleton rows while loading 1`] = `
160160 </div >
161161 </div >
162162 <div
163- class = " _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _gap-t-space-spa1360334076"
163+ class = " _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _gap-t-space-spa1360334076 _display-none "
164164 >
165165 <span
166166 class = " font_subHeading _display-inline _boxSizing-border-box _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-neutral1 _fontFamily-f-family _wordWrap-break-word _fontSize-f-size-smal108 _fontWeight-f-weight-bo3548 _lineHeight-f-lineHeigh1269072494"
@@ -385,7 +385,7 @@ exports[`PasskeyMenu > shows authenticators and Add passkey button after loading
385385 </div >
386386 </div >
387387 <div
388- class = " _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _gap-t-space-spa1360334076"
388+ class = " _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _gap-t-space-spa1360334076 _display-none "
389389 >
390390 <span
391391 class = " font_subHeading _display-inline _boxSizing-border-box _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-neutral1 _fontFamily-f-family _wordWrap-break-word _fontSize-f-size-smal108 _fontWeight-f-weight-bo3548 _lineHeight-f-lineHeigh1269072494"
Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ describe('TroubleLoggingInModule', () => {
7676 it ( 'expands to reveal both options when no recovery method exists' , ( ) => {
7777 renderExpanded ( )
7878 expect ( screen . getByText ( 'Add a passkey' ) ) . toBeInTheDocument ( )
79- expect ( screen . getByText ( 'Add a backup login' ) ) . toBeInTheDocument ( )
79+ // TODO: We are temporarily blocking recovery setup, undo as part of INFRA-2344
80+ // expect(screen.getByText('Add a backup login')).toBeInTheDocument()
8081 } )
8182
8283 it ( 'hides the backup login option when a recovery method already exists' , ( ) => {
@@ -103,10 +104,10 @@ describe('TroubleLoggingInModule', () => {
103104 fireEvent . click ( screen . getByTestId ( TestID . DownloadAppAddPasskey ) )
104105 expect ( mockDispatch ) . toHaveBeenCalledWith ( expect . objectContaining ( { payload : { name : ModalName . AddPasskey } } ) )
105106 } )
106-
107- it ( 'dispatches setOpenModal(AddBackupLogin) when the backup login option is pressed' , ( ) => {
108- renderExpanded ( )
109- fireEvent . click ( screen . getByTestId ( TestID . DownloadAppAddBackupLogin ) )
110- expect ( mockDispatch ) . toHaveBeenCalledWith ( expect . objectContaining ( { payload : { name : ModalName . AddBackupLogin } } ) )
111- } )
107+ // TODO: We are temporarily blocking recovery setup, undo as part of INFRA-2344
108+ // it('dispatches setOpenModal(AddBackupLogin) when the backup login option is pressed', () => {
109+ // renderExpanded()
110+ // fireEvent.click(screen.getByTestId(TestID.DownloadAppAddBackupLogin))
111+ // expect(mockDispatch).toHaveBeenCalledWith(expect.objectContaining({ payload: { name: ModalName.AddBackupLogin } }))
112+ // })
112113} )
Original file line number Diff line number Diff line change @@ -85,9 +85,16 @@ export function TroubleLoggingInModule(): JSX.Element | null {
8585 const { walletId } = useEmbeddedWalletState ( )
8686 const hasActiveNeckKey = ! ! walletId && checkHasActiveNeckKey ( walletId )
8787 const { data : authenticatorsData , isLoading, isError } = useListAuthenticatorsQuery ( { skip : ! hasActiveNeckKey } )
88+ // TODO: We are temporarily blocking recovery setup, undo as part of INFRA-2344
89+ const isRecoveryDisabled = true
90+
8891 // Fail closed: require a valid response that confirms no recovery method yet.
8992 const showAddBackupLogin =
90- ! isLoading && ! isError && ! ! authenticatorsData && authenticatorsData . recoveryMethods . length === 0
93+ ! isLoading &&
94+ ! isError &&
95+ ! ! authenticatorsData &&
96+ authenticatorsData . recoveryMethods . length === 0 &&
97+ ! isRecoveryDisabled
9198
9299 const toggleExpanded = useEvent ( ( ) => setExpanded ( ( prev ) => ! prev ) )
93100 const openAddPasskey = useEvent ( ( ) => dispatch ( setOpenModal ( { name : ModalName . AddPasskey } ) ) )
@@ -127,6 +134,7 @@ export function TroubleLoggingInModule(): JSX.Element | null {
127134 testID = { TestID . DownloadAppAddPasskey }
128135 onPress = { openAddPasskey }
129136 />
137+ { /* oxlint-disable-next-line typescript/no-unnecessary-condition */ }
130138 { showAddBackupLogin && (
131139 < LoginHelpOption
132140 icon = { < Envelope size = "$icon.20" color = "$neutral1" /> }
You can’t perform that action at this time.
0 commit comments