Skip to content

Commit 649313c

Browse files
ci(release): publish latest release
1 parent 40c26d3 commit 649313c

File tree

447 files changed

+10349
-7820
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+10349
-7820
lines changed

RELEASE

Lines changed: 58 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmZ5GePYVnqnekAczBnSNAm8msBT3xzqgkJFwukVQZ1hBf`
3-
- CIDv1: `bafybeie7p7swozshq4rt5lc2uzdtauviqpr2xhr5rghmyyuqoiggsgpv5i`
2+
- CIDv0: `QmR4bcDmfwJ5AzVy1ypYxhRHq82RAjo2k44zT1ZupBCo8v`
3+
- CIDv1: `bafybeibiozbm7r6yfdyfvjzkyxuopbbjhpfakucm2axx265hltuzjl357m`
44

55
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
66

@@ -10,15 +10,66 @@ You can also access the Uniswap Interface from an IPFS gateway.
1010
Your Uniswap settings are never remembered across different URLs.
1111

1212
IPFS gateways:
13-
- https://bafybeie7p7swozshq4rt5lc2uzdtauviqpr2xhr5rghmyyuqoiggsgpv5i.ipfs.dweb.link/
14-
- https://bafybeie7p7swozshq4rt5lc2uzdtauviqpr2xhr5rghmyyuqoiggsgpv5i.ipfs.cf-ipfs.com/
15-
- [ipfs://QmZ5GePYVnqnekAczBnSNAm8msBT3xzqgkJFwukVQZ1hBf/](ipfs://QmZ5GePYVnqnekAczBnSNAm8msBT3xzqgkJFwukVQZ1hBf/)
13+
- https://bafybeibiozbm7r6yfdyfvjzkyxuopbbjhpfakucm2axx265hltuzjl357m.ipfs.dweb.link/
14+
- https://bafybeibiozbm7r6yfdyfvjzkyxuopbbjhpfakucm2axx265hltuzjl357m.ipfs.cf-ipfs.com/
15+
- [ipfs://QmR4bcDmfwJ5AzVy1ypYxhRHq82RAjo2k44zT1ZupBCo8v/](ipfs://QmR4bcDmfwJ5AzVy1ypYxhRHq82RAjo2k44zT1ZupBCo8v/)
1616

17-
### 5.52.1 (2024-10-15)
17+
## 5.53.0 (2024-10-16)
18+
19+
20+
### Features
21+
22+
* **web:** add a popup to claim (#12801) 727178b
23+
* **web:** add bridge toast to web swaps (#12808) 91b3100
24+
* **web:** add chainName to PosDP URL params (#12749) c5caa75
25+
* **web:** bridge status polling (#12930) 1817b76
26+
* **web:** bridging saga (#12753) dd6c181
27+
* **web:** bridging tx status notification (#12932) 6e468ef
28+
* **web:** bridging types (#12748) a473031
29+
* **web:** Give bridge bottom card hover style (#12810) 7be278a
30+
* **web:** improve fingerprinting for swap errors [staging] (#13046) 7cc032c
31+
* **web:** LP create - wrapping native currency step for v2/v3 (#12769) 9c2b4bc
32+
* **web:** pull in completed bridging activity (#12874) 3ac9ca5
33+
* **web:** remove red gas UI on web shared swap (#12947) 8639947
34+
* **web:** remove uniswap extension launch announcement modal (#12791) e1397ce
35+
* **web:** v4 LP improvements (#12737) e111131
36+
* **web:** worldchain bridge banner + minikit provider (#12918) 2439960
37+
* **web:** Zora Explore pages (#12908) 6c0beaf
1838

1939

2040
### Bug Fixes
2141

22-
* **web:** allow pool creation on testnets (#13011) 74160b1
42+
* **web:** 10 15 fix web allow pool creation on testnets staging (#13010) 78815dd
43+
* **web:** Align Continue button text - staging (#13025) 8576cc4
44+
* **web:** align web/mobile quicknode rpcs (#12976) 82adfe5
45+
* **web:** bug with color extraction (#12757) 8fbfa57
46+
* **web:** bump sdk-core for worldchain v2 lp (#12989) 44dd8f3
47+
* **web:** cherrypick bridging analytics [staging] (#13035) 6593430
48+
* **web:** conditionally add dependency array to useAnimatedScrollHandler (#12852) e523bfd
49+
* **web:** correct currency logos in LP Create modal (#12751) a350498
50+
* **web:** create v4 ui (#12638) 1c52b4e
51+
* **web:** default to eth mainnet on landing page (#12958) e81c5ad
52+
* **web:** display bridging options in unconnected state [staging] (#13047) 5a17a2f
53+
* **web:** enable token swap on non mainnet tdp for legacy swap (#12899) a214ab2
54+
* **web:** fix broken worldchain images (#13033) e31db30
55+
* **web:** fix range formatting on my positions page (#12754) 8b13723
56+
* **web:** hide astrochain usdc (#12961) 40ee988
57+
* **web:** limits issues (allow cancelling insufficient funds) (#12912) f630284
58+
* **web:** log missing swap analytics (#12967) 4c22de5
59+
* **web:** log SWAP_SIGNED from uniswapx saga [main] (#12907) 39ccb30
60+
* **web:** memoize connected chain ids (#12922) 3ed664d
61+
* **web:** pass account to getSigner instead of using default (#12885) f508f20
62+
* **web:** remove FOR feature flag and moonpay flow (#12547) b79e301
63+
* **web:** Switch chains before cancelling limits (#12752) 8d2c4f1
64+
* **web:** tapi key (#12866) bcc0529
65+
* **web:** track wallet connect external provider (#12360) ff2c6e7
66+
* **web:** update the toast for increase + decrease liquidity (#12786) c7c898e
67+
* **web:** worldchain rpc (#12946) b1b7528
68+
69+
70+
### Continuous Integration
71+
72+
* **web:** break down web testing jobs to speed up CI (#12766) cb3c56f
73+
* **web:** update sitemaps 336fb63
2374

2475

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.52.1
1+
web/5.53.0

apps/extension/src/app/SidebarApp.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import { initExtensionAnalytics } from 'src/app/utils/analytics'
3434
import { getLocalUserId } from 'src/app/utils/storage'
3535
import {
3636
DappBackgroundPortChannel,
37+
backgroundToSidePanelMessageChannel,
3738
createBackgroundToSidePanelMessagePort,
3839
} from 'src/background/messagePassing/messageChannels'
3940
import { BackgroundToSidePanelRequestType } from 'src/background/messagePassing/types/requests'
@@ -44,7 +45,7 @@ import { syncAppWithDeviceLanguage } from 'uniswap/src/features/settings/slice'
4445
import Trace from 'uniswap/src/features/telemetry/Trace'
4546
import { ExtensionEventName } from 'uniswap/src/features/telemetry/constants'
4647
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
47-
import { UnitagUpdaterContextProvider } from 'uniswap/src/features/unitags/context'
48+
import { UnitagUpdaterContextProvider, useUnitagUpdater } from 'uniswap/src/features/unitags/context'
4849
import i18n from 'uniswap/src/i18n/i18n'
4950
import { isDevEnv } from 'utilities/src/environment/env'
5051
import { logger } from 'utilities/src/logger/logger'
@@ -205,10 +206,21 @@ function SidebarWrapper(): JSX.Element {
205206
useDappRequestPortListener()
206207
useTestnetModeForLoggingAndAnalytics()
207208

209+
const { triggerRefetchUnitags } = useUnitagUpdater()
210+
208211
useEffect(() => {
209212
dispatch(syncAppWithDeviceLanguage())
210213
}, [dispatch])
211214

215+
useEffect(() => {
216+
return backgroundToSidePanelMessageChannel.addMessageListener(
217+
BackgroundToSidePanelRequestType.RefreshUnitags,
218+
() => {
219+
triggerRefetchUnitags()
220+
},
221+
)
222+
}, [triggerRefetchUnitags])
223+
212224
return (
213225
<>
214226
<WebNavigation />
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { render } from '@testing-library/react'
2+
import UnitagClaimApp from 'src/app/UnitagClaimApp'
3+
import { initializeReduxStore } from 'src/store/store'
4+
5+
describe('UnitagClaimApp', () => {
6+
it('renders without error', async () => {
7+
await initializeReduxStore()
8+
render(<UnitagClaimApp />)
9+
})
10+
})

apps/extension/src/app/UnitagClaimApp.tsx

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ import { GraphqlProvider } from 'src/app/apollo'
1010
import { ErrorElement } from 'src/app/components/ErrorElement'
1111
import { TraceUserProperties } from 'src/app/components/Trace/TraceUserProperties'
1212
import { ClaimUnitagSteps, OnboardingStepsProvider } from 'src/app/features/onboarding/OnboardingSteps'
13+
import { EditUnitagProfileScreen } from 'src/app/features/unitags/EditUnitagProfileScreen'
1314
import { UnitagChooseProfilePicScreen } from 'src/app/features/unitags/UnitagChooseProfilePicScreen'
1415
import { UnitagClaimContextProvider } from 'src/app/features/unitags/UnitagClaimContext'
16+
import { UnitagConfirmationScreen } from 'src/app/features/unitags/UnitagConfirmationScreen'
1517
import { UnitagCreateUsernameScreen } from 'src/app/features/unitags/UnitagCreateUsernameScreen'
1618
import { UnitagIntroScreen } from 'src/app/features/unitags/UnitagIntroScreen'
19+
import { OnboardingRoutes } from 'src/app/navigation/constants'
1720
import { setRouter, setRouterState } from 'src/app/navigation/state'
1821
import { SentryAppNameTag, initializeSentry, sentryCreateHashRouter } from 'src/app/sentry'
1922
import { initExtensionAnalytics } from 'src/app/utils/analytics'
@@ -45,6 +48,11 @@ const router = sentryCreateHashRouter([
4548
element: <UnitagClaimAppInner />,
4649
errorElement: <ErrorElement />,
4750
},
51+
{
52+
path: OnboardingRoutes.EditProfile,
53+
element: <EditProfileAppInner />,
54+
errorElement: <ErrorElement />,
55+
},
4856
])
4957

5058
/**
@@ -61,13 +69,30 @@ setRouter(router)
6169
function UnitagClaimAppInner(): JSX.Element {
6270
useTestnetModeForLoggingAndAnalytics()
6371
return (
64-
<Flex alignItems="center" justifyContent="center" minHeight="100vh" width="100%">
72+
<Flex centered height="100vh" width="100%">
6573
<OnboardingStepsProvider
6674
disableRedirect
6775
steps={{
6876
[ClaimUnitagSteps.Intro]: <UnitagIntroScreen />,
6977
[ClaimUnitagSteps.CreateUsername]: <UnitagCreateUsernameScreen />,
7078
[ClaimUnitagSteps.ChooseProfilePic]: <UnitagChooseProfilePicScreen />,
79+
[ClaimUnitagSteps.Confirmation]: <UnitagConfirmationScreen />,
80+
[ClaimUnitagSteps.EditProfile]: <EditUnitagProfileScreen enableBack />,
81+
}}
82+
ContainerComponent={UnitagClaimContextProvider}
83+
/>
84+
<Outlet />
85+
</Flex>
86+
)
87+
}
88+
89+
function EditProfileAppInner(): JSX.Element {
90+
return (
91+
<Flex centered>
92+
<OnboardingStepsProvider
93+
disableRedirect
94+
steps={{
95+
[ClaimUnitagSteps.Intro]: <EditUnitagProfileScreen />,
7196
}}
7297
ContainerComponent={UnitagClaimContextProvider}
7398
/>

apps/extension/src/app/features/accounts/AccountItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ import { iconSizes } from 'ui/src/theme'
1010
import { WarningModal } from 'uniswap/src/components/modals/WarningModal/WarningModal'
1111
import { WarningSeverity } from 'uniswap/src/components/modals/WarningModal/types'
1212
import { useLocalizationContext } from 'uniswap/src/features/language/LocalizationContext'
13+
import { pushNotification } from 'uniswap/src/features/notifications/slice'
14+
import { AppNotificationType, CopyNotificationType } from 'uniswap/src/features/notifications/types'
1315
import { ElementName, ModalName } from 'uniswap/src/features/telemetry/constants'
1416
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
1517
import { setClipboard } from 'uniswap/src/utils/clipboard'
1618
import { NumberType } from 'utilities/src/format/types'
1719
import { AddressDisplay } from 'wallet/src/components/accounts/AddressDisplay'
18-
import { pushNotification } from 'wallet/src/features/notifications/slice'
19-
import { AppNotificationType, CopyNotificationType } from 'wallet/src/features/notifications/types'
2020
import { EditAccountAction, editAccountActions } from 'wallet/src/features/wallet/accounts/editAccountSaga'
2121
import { useActiveAccountWithThrow, useDisplayName, useSignerAccounts } from 'wallet/src/features/wallet/hooks'
2222
import { DisplayNameType } from 'wallet/src/features/wallet/types'

apps/extension/src/app/features/accounts/AccountSwitcherScreen.tsx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ import { updateDappConnectedAddressFromExtension } from 'src/app/features/dapp/a
1111
import { useDappConnectedAccounts } from 'src/app/features/dapp/hooks'
1212
import { isConnectedAccount } from 'src/app/features/dapp/utils'
1313
import { PopupName, openPopup } from 'src/app/features/popups/slice'
14-
import { AppRoutes, RemoveRecoveryPhraseRoutes, SettingsRoutes } from 'src/app/navigation/constants'
14+
import { AppRoutes, OnboardingRoutes, RemoveRecoveryPhraseRoutes, SettingsRoutes } from 'src/app/navigation/constants'
1515
import { navigate } from 'src/app/navigation/state'
16+
import { focusOrCreateUnitagTab } from 'src/app/navigation/utils'
1617
import { Button, Flex, MenuContent, MenuContentItem, Popover, ScrollView, Text, useSporeColors } from 'ui/src'
1718
import { WalletFilled, X } from 'ui/src/components/icons'
1819
import { spacing } from 'ui/src/theme'
1920
import { WarningModal } from 'uniswap/src/components/modals/WarningModal/WarningModal'
2021
import { WarningSeverity } from 'uniswap/src/components/modals/WarningModal/types'
2122
import { AccountType } from 'uniswap/src/features/accounts/types'
23+
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
24+
import { useFeatureFlag } from 'uniswap/src/features/gating/hooks'
2225
import Trace from 'uniswap/src/features/telemetry/Trace'
2326
import { ModalName, WalletEventName } from 'uniswap/src/features/telemetry/constants'
2427
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
@@ -281,6 +284,20 @@ export function AccountSwitcherScreen(): JSX.Element {
281284

282285
const UnitagActionButton = (): JSX.Element => {
283286
const { t } = useTranslation()
287+
const isClaimUnitagEnabled = useFeatureFlag(FeatureFlags.ExtensionClaimUnitag)
288+
289+
const onPressEditProfile = useCallback(async () => {
290+
await focusOrCreateUnitagTab(OnboardingRoutes.EditProfile)
291+
}, [])
292+
293+
if (isClaimUnitagEnabled) {
294+
return (
295+
<Button color="$neutral1" size="small" testID={TestID.AccountCard} theme="tertiary" onPress={onPressEditProfile}>
296+
{t('account.wallet.header.button.disabled.title')}
297+
</Button>
298+
)
299+
}
300+
284301
return (
285302
<ComingSoon placement="top">
286303
<Button color="$neutral2" disabled={true} size="small" testID={TestID.AccountCard} theme="secondary">

apps/extension/src/app/features/accounts/__snapshots__/AccountSwitcherScreen.test.tsx.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,16 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
9999
<circle
100100
cx="28"
101101
cy="28"
102-
fill="#4300B01F"
102+
fill="#FFBF171F"
103103
r="28"
104104
/>
105105
<g
106106
transform="translate(9.333333333333332, 9.333333333333332) scale(0.7777777777777778)"
107107
>
108108
<path
109109
clip-rule="evenodd"
110-
d="M13.2 6C9.22355 6 6 9.22355 6 13.2V34.8C6 38.7765 9.22355 42 13.2 42H34.8C38.7765 42 42 38.7765 42 34.8V13.2C42 9.22355 38.7765 6 34.8 6H13.2ZM26.1213 14.1213C24.9497 12.9497 23.0503 12.9497 21.8787 14.1213L14.1213 21.8787C12.9497 23.0503 12.9497 24.9497 14.1213 26.1213L21.8787 33.8787C23.0503 35.0503 24.9497 35.0503 26.1213 33.8787L33.8787 26.1213C35.0503 24.9497 35.0503 23.0503 33.8787 21.8787L26.1213 14.1213Z"
111-
fill="#4300B0"
110+
d="M28.541 24C28.541 23.6075 28.7998 23.264 29.1711 23.1367C35.8814 20.8368 40.9702 14.1754 41.9802 5.99363C42.1832 4.34926 40.8202 3 39.1634 3H8.8369C7.18005 3 5.81706 4.34926 6.02011 5.99363C7.03026 14.1742 12.1192 20.8349 18.8286 23.1357C19.2002 23.2632 19.4593 23.6071 19.4593 24C19.4593 24.3929 19.2002 24.7368 18.8286 24.8643C12.1192 27.1651 7.03026 33.8258 6.02011 42.0064C5.81706 43.6507 7.18005 45 8.8369 45H39.1634C40.8202 45 42.1832 43.6507 41.9802 42.0064C40.9702 33.8246 35.8814 27.1632 29.1711 24.8633C28.7998 24.736 28.541 24.3925 28.541 24Z"
111+
fill="#FFBF17"
112112
fill-rule="evenodd"
113113
/>
114114
</g>
@@ -127,9 +127,9 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
127127
<span
128128
class="font_heading _display-inline _boxSizing-border-box _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _color-843134974 _wordWrap-break-word _fontFamily-299667014 _fontSize-18px _lineHeight-24px _fontWeight-233016202 _maxWidth-10037 _overflowX-hidden _overflowY-hidden _textOverflow-ellipsis _textAlign-center _flexShrink-1"
129129
data-disable-theme="true"
130-
data-testid="address-display/name/Jacob Haley"
130+
data-testid="address-display/name/Tamara Brekke"
131131
>
132-
Jacob Haley
132+
Tamara Brekke
133133
</span>
134134
</div>
135135
</div>
@@ -144,7 +144,7 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
144144
class="font_body _display-inline _boxSizing-border-box _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-843135005 _fontFamily-299667014 _wordWrap-break-word _fontSize-229441158 _lineHeight-222976511 _fontWeight-233016202"
145145
data-disable-theme="true"
146146
>
147-
0x​0fc6...be59
147+
0x​e0c6...ea11
148148
</span>
149149
<svg
150150
fill="none"
@@ -325,16 +325,16 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
325325
<circle
326326
cx="28"
327327
cy="28"
328-
fill="#4300B01F"
328+
fill="#FFBF171F"
329329
r="28"
330330
/>
331331
<g
332332
transform="translate(9.333333333333332, 9.333333333333332) scale(0.7777777777777778)"
333333
>
334334
<path
335335
clip-rule="evenodd"
336-
d="M13.2 6C9.22355 6 6 9.22355 6 13.2V34.8C6 38.7765 9.22355 42 13.2 42H34.8C38.7765 42 42 38.7765 42 34.8V13.2C42 9.22355 38.7765 6 34.8 6H13.2ZM26.1213 14.1213C24.9497 12.9497 23.0503 12.9497 21.8787 14.1213L14.1213 21.8787C12.9497 23.0503 12.9497 24.9497 14.1213 26.1213L21.8787 33.8787C23.0503 35.0503 24.9497 35.0503 26.1213 33.8787L33.8787 26.1213C35.0503 24.9497 35.0503 23.0503 33.8787 21.8787L26.1213 14.1213Z"
337-
fill="#4300B0"
336+
d="M28.541 24C28.541 23.6075 28.7998 23.264 29.1711 23.1367C35.8814 20.8368 40.9702 14.1754 41.9802 5.99363C42.1832 4.34926 40.8202 3 39.1634 3H8.8369C7.18005 3 5.81706 4.34926 6.02011 5.99363C7.03026 14.1742 12.1192 20.8349 18.8286 23.1357C19.2002 23.2632 19.4593 23.6071 19.4593 24C19.4593 24.3929 19.2002 24.7368 18.8286 24.8643C12.1192 27.1651 7.03026 33.8258 6.02011 42.0064C5.81706 43.6507 7.18005 45 8.8369 45H39.1634C40.8202 45 42.1832 43.6507 41.9802 42.0064C40.9702 33.8246 35.8814 27.1632 29.1711 24.8633C28.7998 24.736 28.541 24.3925 28.541 24Z"
337+
fill="#FFBF17"
338338
fill-rule="evenodd"
339339
/>
340340
</g>
@@ -353,9 +353,9 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
353353
<span
354354
class="font_heading _display-inline _boxSizing-border-box _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _color-843134974 _wordWrap-break-word _fontFamily-299667014 _fontSize-18px _lineHeight-24px _fontWeight-233016202 _maxWidth-10037 _overflowX-hidden _overflowY-hidden _textOverflow-ellipsis _textAlign-center _flexShrink-1"
355355
data-disable-theme="true"
356-
data-testid="address-display/name/Jacob Haley"
356+
data-testid="address-display/name/Tamara Brekke"
357357
>
358-
Jacob Haley
358+
Tamara Brekke
359359
</span>
360360
</div>
361361
</div>
@@ -370,7 +370,7 @@ exports[`AccountSwitcherScreen renders correctly 1`] = `
370370
class="font_body _display-inline _boxSizing-border-box _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _color-843135005 _fontFamily-299667014 _wordWrap-break-word _fontSize-229441158 _lineHeight-222976511 _fontWeight-233016202"
371371
data-disable-theme="true"
372372
>
373-
0x​0fc6...be59
373+
0x​e0c6...ea11
374374
</span>
375375
<svg
376376
fill="none"

0 commit comments

Comments
 (0)