Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

[Release 🦄 ] v1.9.0 #2094

Merged
merged 1,208 commits into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1208 commits
Select commit Hold shift + click to select a range
5797a62
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 13, 2021
3c371af
fix: only try SafeApp connection in an iframe (#2340)
zzmp Sep 13, 2021
15a339a
lint: connect SafeApp on mount (#2341)
zzmp Sep 13, 2021
c563717
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 14, 2021
442ac89
chore: use ubuntu-latest for integration tests (#2348)
zzmp Sep 14, 2021
88cc20a
feat(i18n): initialize locale before React (#2343)
zzmp Sep 14, 2021
58f1193
fix: add deps to try safe effect (#2349)
zzmp Sep 14, 2021
d989540
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 14, 2021
24f85d4
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 15, 2021
2ee79f7
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 15, 2021
58249e3
Fix letter case consistency (#2352)
Sowiedu Sep 15, 2021
8ea5cb4
style: Fix letter case consistency (#2353)
Sowiedu Sep 15, 2021
dc2d1b0
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 15, 2021
f826554
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 15, 2021
c68d08a
fix: shim array-flat (#2346)
zzmp Sep 15, 2021
308f7d5
fix: avoid replaceAll (#2361)
zzmp Sep 15, 2021
c2093ce
feat: lazily load token list validator (#2342)
zzmp Sep 15, 2021
bcf64bc
feat(chain-connectivity): warn when the user is not receiving blocks …
JFrankfurt Sep 16, 2021
fb33a06
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 16, 2021
cd22955
feat: routing api integration (#2116)
Sep 16, 2021
2cabd7d
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 16, 2021
c8009ca
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 16, 2021
c6b6e7f
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 16, 2021
1314477
add static route svg (#2373)
Sep 16, 2021
112b005
fix: flip token logos in routing diagram (#2375)
Sep 16, 2021
cc8c571
feat: add @davatar/react for robust avatar support (#2321)
carlosdp Sep 16, 2021
bea63cd
feat: report web-vitals to ga (#2363)
zzmp Sep 17, 2021
2e90561
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 17, 2021
9bc00cc
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 17, 2021
648e4e0
ignore v3 state when only v2 only (#2383)
Sep 17, 2021
6ae6321
fix: bump walletconnect to fix android deep linking (#2384)
moodysalem Sep 17, 2021
dabb511
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 18, 2021
b07bc40
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 20, 2021
c43912d
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 20, 2021
1a73f51
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 20, 2021
e242fac
perf: render components on first frame (#2404)
zzmp Sep 20, 2021
cc9650b
refactor: simplify trade hooks (#2371)
Sep 21, 2021
119c79d
fix: improve the meta tags (#2412)
moodysalem Sep 21, 2021
97ba8fb
feat(L2-beta-launch): network selector (#2129)
JFrankfurt Sep 21, 2021
7767902
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 21, 2021
ba9ff0d
chore(deps): bump tmpl from 1.0.4 to 1.0.5 (#2407)
dependabot[bot] Sep 21, 2021
9b1903d
perf(i18n): bundle default locale with main chunk (#2405)
zzmp Sep 21, 2021
284a435
chore: initial support for Swahili (Tanzanian) (#2397)
Sep 21, 2021
91de599
fix: de-duplicate intermediate pairs (#2396)
Sep 21, 2021
9fa3b70
perf(font): serve inter var from public (#2403)
zzmp Sep 21, 2021
fb07919
refactor: transaction info is translated in the appropriate places (#…
moodysalem Sep 21, 2021
45709a5
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 21, 2021
19c3983
chore: update the linter to skip running on forks and update the version
moodysalem Sep 21, 2021
53da48b
refactor: add an import sorting plugin (#2417)
moodysalem Sep 21, 2021
901e055
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 22, 2021
afbe846
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 22, 2021
8bb1983
chore: dedup @ethersproject (#2415)
zzmp Sep 22, 2021
8b3da3d
fix: infinite loop when brushing (#2422)
Sep 22, 2021
0099ef6
update SDN list (#2423)
ianlapham Sep 22, 2021
738fac0
chore(ci): configure dependabot to automatically update token lists
moodysalem Sep 22, 2021
a05aae6
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 22, 2021
d993741
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 22, 2021
ffe11f9
chore(deps-dev): bump @uniswap/token-lists (#2425)
dependabot[bot] Sep 22, 2021
322c45b
perf: import lodash only as modules (#2426)
zzmp Sep 23, 2021
8de6bb6
perf(swap): initialize swap inputs from url (#2402)
zzmp Sep 23, 2021
384f674
fix(L2): add common bases to L2s (#2428)
JFrankfurt Sep 23, 2021
a9ba79c
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 24, 2021
0aba270
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 24, 2021
bb3c7dd
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 24, 2021
eb09894
fix(web3): render children while awaiting connection (#2400)
zzmp Sep 24, 2021
2482a10
perf: rm duplicated ua-parser (#2427)
zzmp Sep 24, 2021
23f722c
chore: clean up package scripts (#2435)
zzmp Sep 24, 2021
d7bf4bb
chore: dedup packages (#2414)
zzmp Sep 24, 2021
1fcbd2d
perf: import @ethersproject directly to enforce modularization (#2424)
zzmp Sep 24, 2021
52630aa
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 25, 2021
ea17c7c
chore: restrict imports from dist (#2443)
zzmp Sep 25, 2021
9b56c8d
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 26, 2021
6085284
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Sep 26, 2021
81b8afd
fix: set custom dimension on chainId change (#2440)
JFrankfurt Sep 27, 2021
cd4a231
restore use v3 (#2449)
Sep 27, 2021
ffab1c5
add new addresses (#2450)
ianlapham Sep 27, 2021
77c7dab
chore: use esm for luxon (#2452)
zzmp Sep 27, 2021
31d286c
chore: rm lodash (#2451)
zzmp Sep 27, 2021
d370088
quick fix for broken token select on add (#2454)
ianlapham Sep 27, 2021
be8b6cc
upgrade @davatar/react to 1.6.2, minor fix for ERC token URIs (#2461)
carlosdp Sep 28, 2021
b58e200
chore: dedup packages (#2462)
zzmp Sep 28, 2021
5cb37dc
hot fix for v2 token select bug (#2471)
ianlapham Sep 29, 2021
496a963
chore: stub out new component lib (#2467)
zzmp Sep 29, 2021
aa1db58
Revert "chore: stub out new component lib (#2467)" (#2472)
zzmp Sep 29, 2021
868242a
Clarify Button (#2447)
Sowiedu Oct 4, 2021
16d8f95
refactor: use global fill (#2494)
zzmp Oct 4, 2021
13d9f6c
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 4, 2021
dddd24f
chore: stub out new component lib (#2495)
zzmp Oct 4, 2021
7a57fbe
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 5, 2021
7715294
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 5, 2021
b71708f
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 5, 2021
a7b945a
update gas quote for arbitrum and USDC address (#2503)
ianlapham Oct 6, 2021
df397a8
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 6, 2021
66e9092
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 6, 2021
896f2fc
move computeRoute to utils (#2506)
Oct 6, 2021
78581d5
improve routing types (#2507)
Oct 6, 2021
bca70dd
fix: routing utils.tests (#2509)
Oct 6, 2021
e56fdf3
move GA initialization to own file (#2508)
Oct 6, 2021
b47808f
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 7, 2021
80eb394
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 7, 2021
b87a45b
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 8, 2021
c4ce5ca
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 8, 2021
72a914b
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 8, 2021
5e0e9be
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 8, 2021
ef2cb75
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 8, 2021
4b8d942
fix: add usdc price in TradePrice (#2441)
Oct 8, 2021
6f66f5e
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 8, 2021
d89d559
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 9, 2021
c0e6388
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 9, 2021
f5b91c9
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 10, 2021
a9ea5c9
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 11, 2021
077570e
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 11, 2021
be15604
fix: replace `t` with `<Trans>` where possible (#2516)
Oct 11, 2021
dac87e2
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 11, 2021
2e40bef
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 11, 2021
d37e963
fix: Show proper graph color for non-Ethereum L1 chains (#2049) (#2284)
cmcewen Oct 11, 2021
03c3fde
Change import to lib/bundle (#2524)
cmcewen Oct 11, 2021
27a868f
fix(SafariSquareDots): fixed by using border-top-with instead of bord…
Armakuji Oct 11, 2021
3e36281
fix: z-index bug which prevented modal click (#2264)
cmcewen Oct 11, 2021
1534569
add reducer path to routing api (#2541)
Oct 12, 2021
4df2824
update arbitrum subgraph url
Oct 13, 2021
095dbff
Fix code style issues with ESLint
lint-action Oct 13, 2021
eba8170
chore: eslint nit (#2607)
zzmp Oct 13, 2021
50386f6
upgrade @davatar/react to 1.8.1 (#2485)
carlosdp Oct 13, 2021
442879c
improve fee tier selector (#2609)
Oct 13, 2021
6e0b24c
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 13, 2021
e4b727f
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 14, 2021
0b8afcf
only display TradePrice usdcPrice if available (#2613)
Oct 14, 2021
8dd1be3
fix: remove extra `$` from translations (#2611)
Oct 14, 2021
b286c1b
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 14, 2021
54531b5
refactor: migrate state/application to slice (#2615)
Oct 14, 2021
93b79be
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 14, 2021
aea2bca
fix: increase quote gas overrides on arbitrum (#2614)
Oct 14, 2021
b7cb2d2
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 15, 2021
a26db9a
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 15, 2021
902cd34
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 16, 2021
f62d301
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 17, 2021
0c213be
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 17, 2021
87d547a
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 17, 2021
244ed38
fix: center focused outline card (#2625)
micaelr95 Oct 18, 2021
1e7dff0
fix: add usdc to arbitrum/optimism common bases (#2641)
Oct 19, 2021
e15a8dd
remove WETH from optimism bases (#2640)
Oct 19, 2021
c63482b
use l2 logos in base pairs (#2634)
Oct 19, 2021
5e8d725
fix: split calls into more chunks if they fail due to out of gas erro…
moodysalem Oct 19, 2021
9cacd57
fix: restrict @davatar usage to avoid 3p fetches (#2649)
zzmp Oct 20, 2021
1846883
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 21, 2021
f26a330
fix(L2): ensure chainIds match before fetching pool data (#2652)
JFrankfurt Oct 22, 2021
76c9bf8
fix: use optional operator for chainId (#2666)
zzmp Oct 22, 2021
f768428
chore: update token list (#2670)
ianlapham Oct 22, 2021
5e09a0c
fix: update token list (#2671)
ianlapham Oct 22, 2021
aef5d05
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 23, 2021
36cfe62
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 23, 2021
abe6bf5
feat: extend privacy and terms (#2623)
Oct 25, 2021
1d5be31
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 25, 2021
af83399
log full signed tx (#2681)
Oct 25, 2021
8eb8644
refactor monitoring (#2682)
Oct 25, 2021
3bf36ea
chore: set final privacy learn more link' (#2684)
Oct 25, 2021
245f8d7
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 25, 2021
79d582c
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 25, 2021
17439d6
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 25, 2021
b4e756e
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 26, 2021
06f5fdc
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 26, 2021
bbc64f1
fix: back arrow bug in wallet modal and fill tx for wallet (#2687)
Oct 26, 2021
68e6bc1
block import of unsupported tokens (#2673)
JFrankfurt Oct 26, 2021
9a0294f
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 26, 2021
609542c
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 27, 2021
2d2508f
chore(deps-dev): bump @uniswap/token-lists (#2699)
dependabot[bot] Oct 27, 2021
c020120
chore(i18n): synchronize translations from crowdin [skip ci]
crowdin-bot Oct 27, 2021
ba497e8
uniswap merge - resolved file conflicts
nenadV91 Nov 15, 2021
e4ad97c
fix for issues with starting app
nenadV91 Nov 18, 2021
4f26837
Add explorer orders link to Profile page and app menu
matextrem Nov 29, 2021
6465b38
Add space
matextrem Nov 29, 2021
df9c145
Merge branch 'develop' of github.com:gnosis/cowswap into 1883/orders-…
matextrem Dec 1, 2021
5591cc0
Move view all orders link to the upper right corner + use getExplorer…
matextrem Dec 1, 2021
776cd3f
Improve UI + fix some issues
matextrem Dec 2, 2021
fa344f5
Merge branch 'develop' of github.com:gnosis/cowswap into 1883/orders-…
matextrem Dec 2, 2021
f9485db
Use orders hook to get user orders
matextrem Dec 2, 2021
b7464d5
Improve UI + styles
matextrem Dec 3, 2021
4acb50e
Add hasOrders hook
matextrem Dec 5, 2021
6deef21
added some fixes
nenadV91 Dec 7, 2021
c30614f
fix for modal styles
nenadV91 Dec 8, 2021
941f6c8
fix for settings modal
nenadV91 Dec 8, 2021
2e991be
fix for header network icon and some styles
nenadV91 Dec 8, 2021
3e5ba84
fix for header icon and menu
nenadV91 Dec 8, 2021
36a8b20
added NetworkSelector component
nenadV91 Dec 8, 2021
58faeac
Merge branch 'develop' into uniswap-merge
nenadV91 Dec 8, 2021
48c4c83
Fix code style issues with Prettier
lint-action Dec 8, 2021
3d1cc16
yarn.lock update
nenadV91 Dec 9, 2021
ad2f6ca
Merge branch 'uniswap-merge' of github.com:gnosis/cowswap into uniswa…
nenadV91 Dec 9, 2021
1636951
remove usage of ethers imports
nenadV91 Dec 9, 2021
993bdf2
fixed some tests and updated snapshots
nenadV91 Dec 9, 2021
85a7095
added network selector ui changes
nenadV91 Dec 10, 2021
582750f
fix for profile page tooltips
nenadV91 Dec 10, 2021
116a284
probably fix for xDai network issue
nenadV91 Dec 10, 2021
f822d47
fix for toast notifications
nenadV91 Dec 11, 2021
cb24bb0
fix for wallet button and max balance
nenadV91 Dec 11, 2021
d3eb559
fix for double usd estimation
nenadV91 Dec 12, 2021
e8f49e9
fix for network switch unsupported wallets
nenadV91 Dec 12, 2021
c13d664
removed unused workflow files
nenadV91 Dec 14, 2021
d1de4de
disable monitoring in useMonitoringEventCallback
nenadV91 Dec 14, 2021
e0a9108
Reduce amount of api calls + renders by removing some unnecessary dep…
matextrem Dec 14, 2021
4a1f6f5
update for BlockedToken modal implementation
nenadV91 Dec 14, 2021
cb4d89e
update WalletModalMod.tsx file
nenadV91 Dec 15, 2021
e6a3580
network selector ui changes
nenadV91 Dec 13, 2021
9ff8011
Merge pull request #1935 from gnosis/1883/orders-link
matextrem Dec 15, 2021
3a89ef1
update for NetworkSelector
nenadV91 Dec 15, 2021
85535a7
fix for xDai wrap/unwrap
nenadV91 Dec 15, 2021
11b32f9
Improve IPFS calls
matextrem Dec 15, 2021
9d96cbe
fix for responsive ui and wallet button text
nenadV91 Dec 16, 2021
f492b4b
Merge branch 'develop' into uniswap-merge
nenadV91 Dec 16, 2021
1eb5608
removed BlockedToken implementation
nenadV91 Dec 16, 2021
202a45d
added react-cosmos implementation and some examples
nenadV91 Dec 17, 2021
f8438a6
Merge branch 'develop' of github.com:gnosis/cowswap into fix/pinToIPF…
matextrem Dec 20, 2021
788d40c
Optimizing IPFS api calls by moving it to a different useEffect hook
matextrem Dec 20, 2021
c052faf
update the announcements base url to configuration
W3stside Dec 20, 2021
bab850e
re-update url
W3stside Dec 20, 2021
6249014
Merge remote-tracking branch 'origin/master' into develop
Dec 20, 2021
eb1e6e4
removed jazzicon and updated IdenticonMod component
nenadV91 Dec 20, 2021
07691e9
updated GoogleAnalyticsReporter and some small changes
nenadV91 Dec 20, 2021
04200fc
updated CurrencyLogoMod
nenadV91 Dec 20, 2021
7681a40
removed Auto Router setting and some small changes
nenadV91 Dec 20, 2021
5df1a77
another batch of pr changes
nenadV91 Dec 21, 2021
089f84a
added more small updates
nenadV91 Dec 21, 2021
ddd3d8e
Merge branch 'develop' of github.com:gnosis/cowswap into fix/pinToIPF…
matextrem Dec 21, 2021
a1b51d5
Fix unnecesary rerenders
matextrem Dec 21, 2021
28ff9e6
another batch of RP updates
nenadV91 Dec 21, 2021
413e803
Fix remove referalAddress when traded
matextrem Dec 22, 2021
9eab91a
change network name: xDai -> Gnosis Chain (#2023)
alongoni Dec 22, 2021
78532ca
Add new errors: InsufficientAllowance, InsufficientBalance (#2010)
anxolin Dec 22, 2021
69e8dcc
Merge branch 'develop' into uniswap-merge
nenadV91 Dec 24, 2021
8c783b6
fix for integration-tests
nenadV91 Dec 24, 2021
ce1e021
Merge branch 'develop' of github.com:gnosis/cowswap into fix/pinToIPF…
matextrem Dec 24, 2021
24ab2ba
Merge remote-tracking branch 'origin/master' into develop
W3stside Dec 24, 2021
3ac05d6
Merge branch 'develop' into uniswap-merge
nenadV91 Dec 24, 2021
d4ecf8e
Remove referralAddress from url when traded
matextrem Dec 24, 2021
a5017cf
Merge pull request #1996 from gnosis/fix/pinToIPFS-calls
matextrem Dec 28, 2021
b85ca42
Merge pull request #1982 from gnosis/uniswap-merge
nenadV91 Jan 3, 2022
5337ec7
Merge remote-tracking branch 'origin/master' into develop
W3stside Jan 4, 2022
58fa09a
ABOUT REBRANDING - NOT TO MERGE UNTIL ANNOUNCEMENT (#2024)
avsavsavs Jan 4, 2022
a9b2140
FAQ REBRANDING - NOT TO MERGE UNTIL ANNOUNCEMENT (#2022)
avsavsavs Jan 4, 2022
835cc80
[Rebranding] Update Explorer FE and BE api URLs (#2047)
matextrem Jan 6, 2022
4bf82f8
Update BARN urls
matextrem Jan 10, 2022
cd58411
Update barn staging api urls
matextrem Jan 10, 2022
5074608
Updating fee integ test base URL
Jan 10, 2022
c7e5a3c
Merge pull request #2071 from gnosis/bugfix/rebranding
matextrem Jan 10, 2022
67e4d72
Update gnosis chain logo (#2073)
alongoni Jan 11, 2022
7a243ce
Update Barn url for affiliate program
matextrem Jan 11, 2022
e43a9ed
Update profile api url
matextrem Jan 11, 2022
5d497c5
Merge remote-tracking branch 'origin/master' into develop
Jan 11, 2022
8d7ca29
Merge pull request #2078 from gnosis/2074/profile-url
matextrem Jan 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 22 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,33 @@
"error",
{
"paths": [
{
"name": "lodash",
"message": "Please import from 'lodash/module' directly to support tree-shaking."
},
{
"name": "ethers",
"message": "Please import from '@ethersproject/module' directly to support tree-shaking."
},
{
"name": "styled-components",
"message": "Please import from styled-components/macro."
},
{
"name": "@lingui/macro",
"importNames": ["t"],
"message": "Please use <Trans> instead of t."
}
],
"patterns": ["!styled-components/macro"]
"patterns": [
{
"group": ["**/dist"],
"message": "Do not import from dist/ - this is an implementation detail, and breaks tree-shaking."
},
{
"group": ["!styled-components/macro"]
}
]
}
]
}
Expand Down
1 change: 1 addition & 0 deletions .github/uniswap-original/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
run-linters:
name: Run linters
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
runs-on: ubuntu-latest

steps:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
# production
/build

# bundle
/dist

# misc
.DS_Store
.env.local
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ yarn start:default
yarn cypress
```

### Run cosmos

This will start a server on the `http://localhost:5000/`

```bash
yarn run cosmos
```

## Configuring the environment (optional)

The app has some default configuration, but it's highly encouraged to define your own.
Expand Down
7 changes: 7 additions & 0 deletions cosmos.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"staticPath": "public",
"watchDirs": ["src"],
"webpack": {
"configPath": "./cosmos.webpack.config"
}
}
6 changes: 6 additions & 0 deletions cosmos.webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { createWebpackDevConfig } = require('@craco/craco')
const cracoConfig = require('./craco.config.js')
const webpackConfig = createWebpackDevConfig(cracoConfig)

module.exports = webpackConfig
48 changes: 23 additions & 25 deletions craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,30 @@ if (SENTRY_AUTH_TOKEN) {
)
}

module.exports = function () {
return {
babel: {
plugins: [
'@babel/plugin-proposal-nullish-coalescing-operator',
[
'@simbathesailor/babel-plugin-use-what-changed',
{
active: process.env.NODE_ENV === 'development', // boolean
},
],
module.exports = {
babel: {
plugins: [
'@babel/plugin-proposal-nullish-coalescing-operator',
[
'@simbathesailor/babel-plugin-use-what-changed',
{
active: process.env.NODE_ENV === 'development', // boolean
},
],
],
},
webpack: {
plugins,
alias: {
'@src': path.resolve(__dirname, 'src'),
},
webpack: {
plugins,
alias: {
'@src': path.resolve(__dirname, 'src'),
// https://webpack.js.org/configuration
configure: (webpackConfig) => ({
...webpackConfig,
resolve: {
...webpackConfig.resolve,
modules: [path.resolve(__dirname, 'src/custom'), ...webpackConfig.resolve.modules],
},
// https://webpack.js.org/configuration
configure: (webpackConfig) => ({
...webpackConfig,
resolve: {
...webpackConfig.resolve,
modules: [path.resolve(__dirname, 'src/custom'), ...webpackConfig.resolve.modules],
},
}),
},
}
}),
},
}
1 change: 1 addition & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"projectId": "yp82ef",
"baseUrl": "http://localhost:3000",
"defaultCommandTimeout": 20000,
"pageLoadTimeout": 120000,
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// https://on.cypress.io/custom-commands
// ***********************************************

import { Eip1193Bridge } from '@ethersproject/experimental/lib/eip1193-bridge'
import { JsonRpcProvider } from '@ethersproject/providers'
import { Wallet } from '@ethersproject/wallet'
import { Eip1193Bridge } from '@ethersproject/experimental/lib/eip1193-bridge'

// todo: figure out how env vars actually work in CI
// const TEST_PRIVATE_KEY = Cypress.env('INTEGRATION_TEST_PRIVATE_KEY')
Expand Down
28 changes: 24 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"name": "@gnosis/cowswap",
"description": "CowSwap - Gnosis Protocol",
"homepage": ".",
"main": "dist/interface.js",
"module": "dist/interface.esm.js",
"types": "dist/index.d.ts",
"files": [
"lib",
"dist"
],
"private": true,
"version": "1.8.1",
"engines": {
Expand All @@ -10,6 +17,7 @@
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@craco/craco": "^5.7.0",
"@davatar/react": "1.8.1",
"@ethersproject/experimental": "^5.4.0",
"@gnosis.pm/safe-apps-web3-react": "^0.6.0",
"@graphql-codegen/cli": "1.21.5",
Expand All @@ -20,7 +28,6 @@
"@lingui/loader": "^3.9.0",
"@lingui/macro": "^3.9.0",
"@lingui/react": "^3.9.0",
"@metamask/jazzicon": "^2.0.0",
"@popperjs/core": "^2.4.4",
"@reach/dialog": "^0.10.3",
"@reach/portal": "^0.10.3",
Expand All @@ -31,7 +38,10 @@
"@simbathesailor/use-what-changed": "^2.0.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.2",
"@typechain/ethers-v5": "^7.0.0",
"@types/array.prototype.flat": "^1.2.1",
"@types/array.prototype.flatmap": "^1.2.2",
"@types/d3": "^7.0.0",
"@types/jest": "^25.2.1",
"@types/lingui__core": "^2.7.1",
Expand Down Expand Up @@ -63,20 +73,22 @@
"@uniswap/merkle-distributor": "1.0.1",
"@uniswap/sdk": "npm:@anxolin/uniswap-sdk#3.0.3-rc.3",
"@uniswap/sdk-core": "^3.0.1",
"@uniswap/token-lists": "^1.0.0-beta.25",
"@uniswap/token-lists": "^1.0.0-beta.27",
"@uniswap/v2-core": "1.0.0",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"@uniswap/v2-sdk": "^3.0.0-alpha.2",
"@uniswap/v3-core": "1.0.0",
"@uniswap/v3-periphery": "^1.1.1",
"@uniswap/v3-sdk": "^3.3.0",
"@uniswap/v3-sdk": "^3.4.1",
"@web3-react/core": "^6.1.9",
"@web3-react/fortmatic-connector": "^6.1.6",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/portis-connector": "^6.1.9",
"@web3-react/walletconnect-connector": "6.2.4",
"@web3-react/walletlink-connector": "^6.2.5",
"ajv": "^6.12.3",
"array.prototype.flat": "^1.2.4",
"array.prototype.flatmap": "^1.2.4",
"cids": "^1.0.0",
"copy-to-clipboard": "^3.2.0",
"cross-env": "^7.0.3",
Expand All @@ -87,6 +99,7 @@
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"ethers": "^5.4.6",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
Expand All @@ -97,16 +110,18 @@
"lightweight-charts": "^3.3.0",
"lodash.flatmap": "^4.5.0",
"luxon": "^1.25.0",
"microbundle": "^0.13.3",
"ms.macro": "^2.0.0",
"multicodec": "^3.0.1",
"multihashes": "^4.0.2",
"node-vibrant": "^3.1.5",
"node-vibrant": "^3.2.1-alpha.1",
"polished": "^3.3.2",
"polyfill-object.fromentries": "^1.0.1",
"prettier": "^2.2.1",
"qs": "^6.9.4",
"react": "^17.0.1",
"react-confetti": "^6.0.0",
"react-cosmos": "^5.6.3",
"react-device-detect": "^1.6.2",
"react-dom": "^17.0.1",
"react-feather": "^2.0.8",
Expand Down Expand Up @@ -134,6 +149,7 @@
"ua-parser-js": "^0.7.28",
"use-count-up": "^2.2.5",
"wcag-contrast": "^3.0.0",
"web-vitals": "^2.1.0",
"workbox-core": "^6.1.0",
"workbox-precaching": "^6.1.0",
"workbox-routing": "^6.1.0"
Expand Down Expand Up @@ -164,6 +180,8 @@
"i18n:extract": "lingui extract --locale en-US",
"i18n:compile": "yarn i18n:extract && lingui compile",
"prei18n:extract": "touch src/locales/en-US.po",
"bundle": "microbundle --tsconfig tsconfig.lib.json src/lib/index.tsx --format esm,cjs",
"cosmos": "cross-env FAST_REFRESH=false cosmos",
"sitemap": "node src/custom/sitemap",
"writeVersion": "node src/custom/writeVersion"
},
Expand Down Expand Up @@ -203,6 +221,8 @@
"@walletconnect/web3-provider": "^1.6.6",
"bnc-sdk": "^3.5.0",
"fast-safe-stringify": "^2.0.8",
"firebase": "^9.1.3",
"ipfs-http-client": "^52.0.3",
"paraswap": "^5.0.1",
"react-appzi": "^1.0.4",
"react-inlinesvg": "^2.3.0",
Expand Down
Binary file added public/fonts/Inter-roman.var.woff2
Binary file not shown.
10 changes: 10 additions & 0 deletions src/assets/svg/auto_router.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/dot_line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading