This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Show staked liquidity on pool page * update button, cleanup * Show combined balance for staking cards * hide buttons on position card if no balance
* Hide rewards * remove config changes * move active detection to hook, small changes * replace string math
Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com>
* feat: allow overriding proposals in the UI * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
* start routing fix for multi hops * switch to input amount comparison on exactOut * make percent logic more clear * remove uneeded comaprisons * move logic to functions for testing * add multi hop disable switch * add GA * fix bug to return multihop no single * update swap details * code clean * routing only
* basic support for multiple active lists * start search across inactive lists * store card before list update * basic import flow for inactive tokens * update supported lists * update import flow for address pasting * basic mvp * hide filter if no results * update min heights * update manage view, index tokens on page load * start routing fix for multi hops * switch to input amount comparison on exactOut * start list import view * updated list UI, token search updates, list import flow, surpress popups and warnings * add unsupported tokens * show warning if logged out * update to opyn list * show token details on warning; * make percent logic more clear * remove uneeded comaprisons * move logic to functions for testing * test updates * update list reducer tests * remove unused locals * code cleanup * add unsupported local list * add multi hop disable switch * add GA * fix bug to return multihop no single * update swap details * copy updates * Visual refinements * Further tweaks * copy updates, actual list order * Move settings button * Update all trade views with settings cog * Add better tips, remove darkmode toggle from dropdown * Clean up routing UI * UI tweaks * minor tweaks * copy updates * add local default list, use existing function for trade comparison, disable v1 helper, show inactive/active at once * updated inactive view * remove slippage fix * update output amount return * center button, update search to character threshold * reset add state on back navigation * style tweak on add button * fix bug on search results Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
…#1269) * 'Added WBTC to default option for routing in main UI" * update settings button Co-authored-by: Gismar <thegismar@gmail.com>
* update defaults, style updates * update icon color
* update import flow and style tweaks * update tests * Update tsconfig.json
* update import flow and style tweaks * update tests * Update tsconfig.json * add gemini * enable gemini
… typo, auto update all lists (#1301) * update all lists, not just active ones * fix typo
* show hidden search results by default * update break styles * optimize filter, use debounce on input * increase debounce time
* start on adding button for watching tokens * add tokens to metamask * add confirmation view * reset modal view
|
alfetopito
reviewed
Feb 19, 2021
Comment on lines
-22
to
+24
export const WBTC = new Token(ChainId.MAINNET, '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', 18, 'WBTC', 'Wrapped BTC') | ||
export const WBTC = new Token(ChainId.MAINNET, '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', 8, 'WBTC', 'Wrapped BTC') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oopsie
alfetopito
reviewed
Feb 19, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, as far as I can tell, all is ok?
Integration tests are failing though.
And I have not tested it
This was referenced Feb 23, 2021
@alfetopito @W3stside I did the review, and fixed the test. Tested a few things. There was a lot of changes. We should keep an eye, although all looks good. Let me know if you want to do further review of this PR. I think we should do frequent updates, so it doesn't get to this size of PRs. Maybe our biweekly deployment is a good time for making a PR of updating Uni. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates and adapt to uniswap v3.2.3
Do not Squash 🥒, just normal merge
Test
🔭 GP Swap: Gnosis Protocol v2 Swap UI
Tasks
DEFAULT_ACTIVE_LIST_URLS: string[] = [GEMINI_LIST]
Not in this PR:
serviceWorkerRegistration
[Uni-v3.2.3] Test service worker #171Overview
The gear icon (settings), moved to the widget
New theme toggle button in the header
Improved token selector
Improved list selection, now with combination of lists!
Better support for custom tokens
When a token is not found, but is in one of the lists. It suggest to add it
Route is simplified
Expert mode don't makes you write "confirm" any more
Allow to disable multi-hops:
Notes on how to do the merge (notes for next merge)
Make sure you have the
upstream
remote. If notgit remote add upstream git@github.com:Uniswap/uniswap-interface.git
Fetch all info from the remote. 🚨 IMPORTANT: Don't bring their TAGSs 🚨:
git fetch upstream--no-tags
Make sure you know the latest version that was merged. In this case
v3.0.8
Make sure you know the latest version you want to merge. In this case
v3.2.3
Review and document the changes:
git log v3.0.8..v3.2.3 --oneline --decorate=1
Create a new branch for the merge:
git checkout -b update-uni-v3.2.3
Merge:
git merge v3.0.8
Resolve conflicts: try to favour their changes in the original files. Theoretically most of it, should be imports that we've done as absolut while theirs are relative
Try to run the app
Review new files that where added in the merge. They might import modified files of our
custom
dir. So, they would require to change the import to use global.Review commits for changes we could be affected, or how we can use the change. Get a good understanding of the new features, fixes, etc
Review the Mod files. They should still compare line to line. So you can use vscode to compare the two files. Try to make it so they still compare line by line.
For making the tags , maybe next time there's a better way. But this time, I made the mistake of fetching all the tags from
upstream
, so it brought their versioning into ours. Anyways, I took the output, that showed the new branches and I created their new versions as versions inuniswap/<version>
Notes on the conflict solving
combineMaps
instate/list/hooks
Output of the merge
Changes
34dfb41 (tag: v3.2.3) feature(service worker): add offline support (#1319)
e77fcd2 (tag: v3.2.2) Update index.ts
0b7846e (tag: v3.2.1) fix(discord): correct links (#1315)
f450d34 (tag: v3.2.0) feat(transactions): enable button to add tokens to metamask (#1311)
76ab349 show hidden search results by default (#1310)
5c3c1c6 run npx browserslist@latest --update-db (#1303)
9efd5da (tag: v3.1.11) change branch in workflows
8fd894f (upstream/master) fix a prominent instance (#1304)
cc22183 (tag: v3.1.10) fix(modal cutoff, lists): make modal scrollable on small screens, fix typo, auto update all lists (#1301)
9175dd1 remove cloudflare insights
bbd50f0 fixes Uniswap/interface#1214
2291e3e (tag: v3.1.9) improvement(lists): enable Gemini by default (#1276)
28d8f0b (tag: v3.1.8) Improvement(token import): update import flow and style tweaks (#1273)
8bed390 (tag: v3.1.7) Improvements(lists): update defaults, style updates (#1270)
a1000c6 (tag: v3.1.6) improvement(routing): use WBTC pairs for routing swaps, style updates (#1269)
267204d (tag: v3.1.5) Improvement(lists): Switch to multiple active lists (#1237)
74f50f1 (tag: v3.1.4) fix(typo): toggle (#1260)
a70aa41 (tag: v3.1.3) Routing updates only (#1265)
587b659 (tag: v3.1.2) catch error in bytes32 string parsing (#1253)
5388cab (tag: v3.1.1) update vote timestamp estimation (#1242)
cadd68f (tag: v3.1.0) feat: allow overriding proposals in the UI (#1239)
ab8ce37 (tag: v3.0.18) fix(token lists): update to latest token-lists
5a9a71a improvement(analytics): try out cloudflare analytics
b93fd23 (tag: v3.0.17) Specially Designated Nationals and Blocked Persons Ethereum addresses
e9a11bb (tag: v3.0.16) fix(vote): make the vote page responsive
c5afbed (tag: v3.0.15) fixed bug causing wbtc to have 18 decimals (#1211)
5b2c445 (tag: v3.0.14) fix(list popup): big token list updates scroll issue (#1219)
7fd4005 (tag: v3.0.13) Fix(UNI page): hide inactive pools (#1213)
48eab0d (tag: v3.0.12) bump token lists
c9ee1b3 (tag: v3.0.11) Fix(pool page): show deposited liquidity on pool page (#1195)
eb4c305 (tag: v3.0.10) fix(ens): support ens names with dashes in them
d982562 (tag: v3.0.9) Allow absolute imports (#1185)
Tags
upstream
you'll get some tags you don't wantgit ls-remote --tags upstream > tags.txt
(\w+) refs/tags/(.+)
git tag uniswap/$2 $1 && \
In this case, the execution returned:
Test
Good Testing required with the review