Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
8e36bfcc
Commit
8e36bfcc
authored
Feb 19, 2025
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
922d6cbd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
11 deletions
+18
-11
RELEASE
RELEASE
+6
-6
VERSION
VERSION
+1
-1
ChainConnectivityWarning.tsx
apps/web/src/components/ChainConnectivityWarning.tsx
+8
-4
FeatureFlagModal.tsx
.../web/src/components/FeatureFlagModal/FeatureFlagModal.tsx
+1
-0
flags.ts
packages/uniswap/src/features/gating/flags.ts
+2
-0
No files found.
RELEASE
View file @
8e36bfcc
IPFS hash of the deployment:
- CIDv0: `Qm
UpezmR69HSSepjRJJh3q8JQFPgeG1i4JKw8FmVgUtqwd
`
- CIDv1: `bafybei
dakk2ybrz27ok75u3dqidlp2pauhixudav4xr7lx4tmmjkxax6fa
`
- CIDv0: `Qm
TwfweMceprzM3eyPD6GdtmZeuqbeotCsGndzkVDAW35s
`
- CIDv1: `bafybei
ctimufoh4lae7mcfsxhjm3scrbzevhdadhljwpgs7molln7n6kpi
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
...
@@ -10,14 +10,14 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
- https://bafybei
dakk2ybrz27ok75u3dqidlp2pauhixudav4xr7lx4tmmjkxax6fa
.ipfs.dweb.link/
- [ipfs://Qm
UpezmR69HSSepjRJJh3q8JQFPgeG1i4JKw8FmVgUtqwd/](ipfs://QmUpezmR69HSSepjRJJh3q8JQFPgeG1i4JKw8FmVgUtqwd
/)
- https://bafybei
ctimufoh4lae7mcfsxhjm3scrbzevhdadhljwpgs7molln7n6kpi
.ipfs.dweb.link/
- [ipfs://Qm
TwfweMceprzM3eyPD6GdtmZeuqbeotCsGndzkVDAW35s/](ipfs://QmTwfweMceprzM3eyPD6GdtmZeuqbeotCsGndzkVDAW35s
/)
### 5.72.
1 (2025-02-15
)
### 5.72.
2 (2025-02-19
)
### Bug Fixes
* **web:**
regression affecting Android keyboard opening (#16405) 12ac4db
* **web:**
hotfix monad down banner (#16467) 825783e
VERSION
View file @
8e36bfcc
web/5.72.1
\ No newline at end of file
web/5.72.2
\ No newline at end of file
apps/web/src/components/ChainConnectivityWarning.tsx
View file @
8e36bfcc
import
{
useAccount
}
from
'
hooks/useAccount
'
import
useCurrentBlockTimestamp
from
'
hooks/useCurrentBlockTimestamp
'
import
{
PageType
,
useIsPage
}
from
'
hooks/useIsPage
'
import
useMachineTimeMs
from
'
hooks/useMachineTime
'
...
...
@@ -9,9 +8,12 @@ import { Trans } from 'react-i18next'
import
{
ClickableTamaguiStyle
,
ExternalLink
}
from
'
theme/components
'
import
{
Flex
,
styled
as
tamaguiStyled
}
from
'
ui/src
'
import
{
iconSizes
}
from
'
ui/src/theme
'
import
{
useUniswapContext
}
from
'
uniswap/src/contexts/UniswapContext
'
import
{
DEFAULT_MS_BEFORE_WARNING
,
getChainInfo
}
from
'
uniswap/src/features/chains/chainInfo
'
import
{
useEnabledChains
}
from
'
uniswap/src/features/chains/hooks/useEnabledChains
'
import
{
UniverseChainId
}
from
'
uniswap/src/features/chains/types
'
import
{
FeatureFlags
}
from
'
uniswap/src/features/gating/flags
'
import
{
useFeatureFlag
}
from
'
uniswap/src/features/gating/hooks
'
import
{
AVERAGE_L1_BLOCK_TIME_MS
}
from
'
uniswap/src/features/transactions/swap/hooks/usePollingIntervalByChain
'
const
BodyRow
=
styled
.
div
`
...
...
@@ -57,11 +59,12 @@ const CloseButton = tamaguiStyled(X, {
})
export
function
ChainConnectivityWarning
()
{
const
{
chainId
}
=
useAccount
()
const
{
defaultChainId
}
=
useEnabledChains
()
const
[
hide
,
setHide
]
=
useState
(
false
)
const
isMonadDownFlag
=
useFeatureFlag
(
FeatureFlags
.
MonadTestnetDown
)
const
{
swapInputChainId
:
chainId
}
=
useUniswapContext
()
const
info
=
getChainInfo
(
chainId
??
defaultChainId
)
const
label
=
info
.
label
const
[
hide
,
setHide
]
=
useState
(
false
)
const
isNFTPage
=
useIsPage
(
PageType
.
NFTS
)
const
isLandingPage
=
useIsPage
(
PageType
.
LANDING
)
...
...
@@ -80,8 +83,9 @@ export function ChainConnectivityWarning() {
),
)
const
warning
=
Boolean
(
!!
blockTime
&&
machineTime
-
blockTime
.
mul
(
1000
).
toNumber
()
>
waitMsBeforeWarning
)
const
isMonadDown
=
chainId
===
UniverseChainId
.
MonadTestnet
&&
isMonadDownFlag
if
(
!
warning
||
isNFTPage
||
isLandingPage
||
hide
)
{
if
(
hide
||
(
!
isMonadDown
&&
(
!
warning
||
isNFTPage
||
isLandingPage
))
)
{
return
null
}
...
...
apps/web/src/components/FeatureFlagModal/FeatureFlagModal.tsx
View file @
8e36bfcc
...
...
@@ -256,6 +256,7 @@ export default function FeatureFlagModal() {
<
FeatureFlagOption
flag=
{
FeatureFlags
.
Unichain
}
label=
"Enable Unichain"
/>
<
FeatureFlagOption
flag=
{
FeatureFlags
.
UnichainPromo
}
label=
"Unichain In App Promotion"
/>
<
FeatureFlagOption
flag=
{
FeatureFlags
.
MonadTestnet
}
label=
"Enable Monad Testnet"
/>
<
FeatureFlagOption
flag=
{
FeatureFlags
.
MonadTestnetDown
}
label=
"Enable Monad Testnet Down Banner"
/>
</
FeatureFlagGroup
>
<
FeatureFlagOption
flag=
{
FeatureFlags
.
L2NFTs
}
label=
"L2 NFTs"
/>
<
FeatureFlagGroup
name=
"Quick routes"
>
...
...
packages/uniswap/src/features/gating/flags.ts
View file @
8e36bfcc
...
...
@@ -11,6 +11,7 @@ export enum FeatureFlags {
IndicativeSwapQuotes
,
InstantTokenBalanceUpdate
,
MonadTestnet
,
MonadTestnetDown
,
PortionFields
,
SharedSwapArbitrumUniswapXExperiment
,
TokenSelectorTrendingTokens
,
...
...
@@ -105,6 +106,7 @@ export const WEB_FEATURE_FLAG_NAMES = new Map<FeatureFlags, string>([
[
FeatureFlags
.
LPRedesign
,
'
lp_redesign
'
],
[
FeatureFlags
.
LimitsFees
,
'
limits_fees
'
],
[
FeatureFlags
.
MigrateV3ToV4
,
'
migrate-v3-to-v4
'
],
[
FeatureFlags
.
MonadTestnetDown
,
'
monad_down
'
],
[
FeatureFlags
.
MultipleRoutingOptions
,
'
multiple_routing_options
'
],
[
FeatureFlags
.
NavigationHotkeys
,
'
navigation_hotkeys
'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment