Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Jan 15, 2025
1 parent 068c4cd commit 746db53
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 72 deletions.
60 changes: 7 additions & 53 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IPFS hash of the deployment:
- CIDv0: `QmXkPV7sagZDwbUR5PRBNWAvFrJSuTUh5Fu1aJpFA1whLV`
- CIDv1: `bafybeielzxuhhhlrf7rtyfrqtzqawka7oyjb3qklvfvcexvwdumpsnujdi`
- CIDv0: `QmNtGELVTA6qcn1ftK8VnJE1wz8yZdDQC89cs6dK6hHs1i`
- CIDv1: `bafybeiaidevumwytkxmfm5otaerhlvgpiawod6owbx5wayykk5ghg5vj2e`

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

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

IPFS gateways:
- https://bafybeielzxuhhhlrf7rtyfrqtzqawka7oyjb3qklvfvcexvwdumpsnujdi.ipfs.dweb.link/
- https://bafybeielzxuhhhlrf7rtyfrqtzqawka7oyjb3qklvfvcexvwdumpsnujdi.ipfs.cf-ipfs.com/
- [ipfs://QmXkPV7sagZDwbUR5PRBNWAvFrJSuTUh5Fu1aJpFA1whLV/](ipfs://QmXkPV7sagZDwbUR5PRBNWAvFrJSuTUh5Fu1aJpFA1whLV/)
- https://bafybeiaidevumwytkxmfm5otaerhlvgpiawod6owbx5wayykk5ghg5vj2e.ipfs.dweb.link/
- https://bafybeiaidevumwytkxmfm5otaerhlvgpiawod6owbx5wayykk5ghg5vj2e.ipfs.cf-ipfs.com/
- [ipfs://QmNtGELVTA6qcn1ftK8VnJE1wz8yZdDQC89cs6dK6hHs1i/](ipfs://QmNtGELVTA6qcn1ftK8VnJE1wz8yZdDQC89cs6dK6hHs1i/)

## 5.65.0 (2025-01-15)


### Features

* **web:** [EW] Add passkey sign in (#13883) 01fd45c
* **web:** [EW] Add show recovery phrase modal (#13894) 05748a7
* **web:** [EW] Add sign up (#13862) aa9771e
* **web:** [EW] Add signing txs (#13890) c779f0c
* **web:** add the v4 whitepaper (#14867) e87e686
* **web:** delete unused background updating code (#14612) aa26058
* **web:** replace usage of DoubleLogoWithChain with DoubleLogo (#15011) e723da8
* **web:** update uniswapx-sdk (#14654) ab645c7
* **web:** use dynamic config for blocked nft collections (#14643) a748576
### 5.65.1 (2025-01-15)


### Bug Fixes

* **web:** 5859 get position owner from get position call (#14729) b412b95
* **web:** align chart headers in explore (#14830) 4a2e838
* **web:** consistent lp buttons (#14664) 4c3c0d9
* **web:** eth logo flash (#15013) 486ab05
* **web:** filter toggle behavior on TDP (#14898) dbebd9a
* **web:** fix crash on v4 create (#14891) 53b84d8
* **web:** fix double logo on DoubleCurrencyAndChainLogo (#14946) 0579dcf
* **web:** fix infinite loop on analytics toggle f4b5fde
* **web:** fix infinite loop on analytics toggle (#15068) ad1a014
* **web:** fix pdp price display (#14902) 2f00216
* **web:** fix range display for v4 positions in custom fee tiers (#14904) 3be2db0
* **web:** hero title bug when switching languages (#15022) d6511f5
* **web:** inverted initial price bug (#14994) 017e47e
* **web:** limit orders do not work with uniswapx v2 (#14995) b492069
* **web:** make the swap primary colors on the tdp use token extraction colors (#14696) ea7f43b
* **web:** move both price toggles together in the create flow (#14971) 8d8f595
* **web:** re-add images prop to PortfolioLogo and use split logo (#14864) 840edff
* **web:** reduce size impact of ui icons (#14613) f89a87e
* **web:** remove direct t imports and fix translations outside of React context on web (#14829) e040834
* **web:** remove worldchain minikit provider (#14544) 6794856
* **web:** scroll on nav dropdown and adjust max height (#15094) 3bbd575
* **web:** send speed bump font size fix (#15004) 0bd82df
* **web:** update google conversion datetime format (#15131) 6a7ca9a
* **web:** update input behavior on send tab (#14843) 8c4eab7


### Continuous Integration

* **web:** update sitemaps 8e5f49e


### Styles

* **web:** round ends of loading spinner component (#14779) 26b3a8b
* **web:** explore table should use chainId in ranking (#15144) 3834990


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.65.0
web/5.65.1
36 changes: 19 additions & 17 deletions apps/web/src/components/Tokens/TokenTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
useSetSortMethod,
} from 'components/Tokens/state'
import { MouseoverTooltip } from 'components/Tooltip'
import { NATIVE_CHAIN_ID } from 'constants/tokens'
import { SparklineMap } from 'graphql/data/types'
import { OrderDirection, getTokenDetailsURL, unwrapToken } from 'graphql/data/util'
import useSimplePagination from 'hooks/useSimplePagination'
Expand All @@ -30,7 +29,9 @@ import { useTopTokens as useRestTopTokens } from 'state/explore/topTokens'
import { TokenStat } from 'state/explore/types'
import { Flex, Text, styled } from 'ui/src'
import { useEnabledChains } from 'uniswap/src/features/chains/hooks/useEnabledChains'
import { toGraphQLChain } from 'uniswap/src/features/chains/utils'
import { UniverseChainId } from 'uniswap/src/features/chains/types'
import { fromGraphQLChain, toGraphQLChain } from 'uniswap/src/features/chains/utils'
import { buildCurrencyId } from 'uniswap/src/utils/currencyId'
import { getChainIdFromChainUrlParam } from 'utils/chainParams'
import { NumberType, useFormatter } from 'utils/formatNumbers'

Expand Down Expand Up @@ -76,13 +77,13 @@ function TokenDescription({ token }: { token: TokenStat }) {
return (
<Flex row gap="$gap8">
<QueryTokenLogo token={token} size={28} />
<EllipsisText data-testid="token-name">{token?.name ?? token?.project?.name}</EllipsisText>
<EllipsisText data-testid="token-name">{token.name ?? token.project?.name}</EllipsisText>
<TokenTableText
$platform-web={{
minWidth: 'fit-content',
}}
>
{token?.symbol}
{token.symbol}
</TokenTableText>
</Flex>
)
Expand Down Expand Up @@ -170,17 +171,18 @@ function TokenTable({
const tokenTableValues: TokenTableValue[] | undefined = useMemo(
() =>
tokens?.map((token, i) => {
const delta1hr = token?.pricePercentChange1Hour?.value
const delta1d = token?.pricePercentChange1Day?.value
const tokenSortIndex = tokenSortRank[token?.address ?? NATIVE_CHAIN_ID]
const chainId = getChainIdFromChainUrlParam(token?.chain.toLowerCase())
const delta1hr = token.pricePercentChange1Hour?.value
const delta1d = token.pricePercentChange1Day?.value
const currCurrencyId = buildCurrencyId(fromGraphQLChain(token.chain) ?? UniverseChainId.Mainnet, token.address)
const tokenSortIndex = tokenSortRank[currCurrencyId]
const chainId = getChainIdFromChainUrlParam(token.chain.toLowerCase())
const unwrappedToken = chainId ? unwrapToken(chainId, token) : token

return {
index: tokenSortIndex,
tokenDescription: <TokenDescription token={unwrappedToken} />,
price: giveExploreStatDefaultValue(token?.price?.value),
testId: `token-table-row-${unwrappedToken?.address ?? NATIVE_CHAIN_ID}`,
price: giveExploreStatDefaultValue(token.price?.value),
testId: `token-table-row-${unwrappedToken.address}`,
percentChange1hr: (
<>
<DeltaArrow delta={delta1hr} />
Expand All @@ -193,8 +195,8 @@ function TokenTable({
<DeltaText delta={delta1d}>{formatDelta(delta1d)}</DeltaText>
</>
),
fdv: giveExploreStatDefaultValue(token?.fullyDilutedValuation?.value),
volume: giveExploreStatDefaultValue(token?.volume?.value),
fdv: giveExploreStatDefaultValue(token.fullyDilutedValuation?.value),
volume: giveExploreStatDefaultValue(token.volume?.value),
sparkline: (
<SparklineContainer>
<ParentSize>
Expand All @@ -204,7 +206,7 @@ function TokenTable({
width={width}
height={height}
tokenData={token}
pricePercentChange={token?.pricePercentChange1Day?.value}
pricePercentChange={token.pricePercentChange1Day?.value}
sparklineMap={sparklines}
/>
)
Expand All @@ -213,23 +215,23 @@ function TokenTable({
</SparklineContainer>
),
link: getTokenDetailsURL({
address: unwrappedToken?.address,
address: unwrappedToken.address,
chain: toGraphQLChain(chainId ?? defaultChainId),
}),
analytics: {
elementName: InterfaceElementName.TOKENS_TABLE_ROW,
properties: {
chain_id: chainId,
token_address: token?.address,
token_symbol: token?.symbol,
token_address: token.address,
token_symbol: token.symbol,
token_list_index: i,
token_list_rank: tokenSortIndex,
token_list_length: tokens.length,
time_frame: timePeriod,
search_token_address_input: filterString,
},
},
linkState: { preloadedLogoSrc: token?.logo },
linkState: { preloadedLogoSrc: token.logo },
}
}) ?? [],
[defaultChainId, filterString, formatDelta, sparklines, timePeriod, tokenSortRank, tokens],
Expand Down
6 changes: 5 additions & 1 deletion apps/web/src/state/explore/topTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import { useAtomValue } from 'jotai/utils'
import { useContext, useMemo } from 'react'
import { ExploreContext, giveExploreStatDefaultValue } from 'state/explore'
import { TokenStat } from 'state/explore/types'
import { UniverseChainId } from 'uniswap/src/features/chains/types'
import { fromGraphQLChain } from 'uniswap/src/features/chains/utils'
import { buildCurrencyId } from 'uniswap/src/utils/currencyId'
import { getChainIdFromChainUrlParam } from 'utils/chainParams'

const TokenSortMethods = {
Expand Down Expand Up @@ -135,9 +138,10 @@ export function useTopTokens() {
if (!cur?.address) {
return acc
}
const currCurrencyId = buildCurrencyId(fromGraphQLChain(cur.chain) ?? UniverseChainId.Mainnet, cur.address)
return {
...acc,
[cur.address]: i + 1,
[currCurrencyId]: i + 1,
}
}, {}) ?? {},
[sortedTokenStats],
Expand Down

0 comments on commit 746db53

Please sign in to comment.