This repository was archived by the owner on Jun 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
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
* fix: only try SafeApp connection in an iframe Improves non-iframe pageload by 300ms. Fixes #2338. The Gnosis check for a SafeApp races a postMessage and a 300ms timeout [1]. The SafeApp embeds the interface in an iframe, so this avoids the check when not in iframes. [1]: https://github.com/gnosis/safe-apps-sdk/blob/f224869dd5ae810db8cecad08fbbcfaa6c046d9d/packages/safe-apps-web3-react/src/connector.ts#L52 * refactor: IS_IN_IFRAME const
* feat: initialize locale before React * chore: explain react-router-dom hash/search usage
Fixed upper case to lower case to be consistent with src/components/SearchModal/ImportList.tsx
* Fix letter case consistency Fixed lower case to upper case to be consistent with: src/pages/AddLiquidityV2/index.tsx src/pages/RemoveLiquidity/index.tsx src/pages/Swap/index.tsx src/state/burn/hooks.ts src/state/burn/v3/hooks.ts src/state/mint/hooks.ts src/state/mint/v3/hooks.ts src/state/stake/hooks.ts src/state/swap/hooks.ts * style: Fix case to be consistent
* chore: remove @types/lodash.flatmap * fix: shim array-flat
Removes 125kb from main chunk. Moves ~90ms off of the critical pageload path.
…2123) * logic for tracking time since last block * add polling times to chain info * pr feedback * add gui for chain connectivity warning * add arb support * update title of warning to indicate internet connectivity issues may be the problem * pr review * clean up useBlockWarningTimer * softer language on mainnet * only show warning if user has the window visible
* initial routing api integration * add routing api slice * display route in dialog * addressed pr feedback * improved routing * switch to `get` * first pass at integration new MultiRouteTrade * initial implementation of RoutingDiagram * add RoutingDiagram tests * improve tests in RoutingDiagram * integrate with v3-sdk 3.3.1 * removed references to MultiRouteTrade * revert swapcallback * fix abi compilation error * added useRoute hook to build a Route from edges and nodes * added react-hooks-testing-library * integrated latest changes * renamed router hook to routerTrade * improve integration * fixed routing * usability * mock RoutingDiagram children to reduce size * undo mocked children * adjust ui * better support long routes * use routing api logo and adjust ux * set default percent to 0 * added intermediary hook to combine local and routing api trades * added intermediary hook to combine local and routing api trades * make account optional * improve ux * improve router * fixed duplicate pool bug and inputAmount undefined bug * extract input/outputAmounts from routes * add todo * fixed uninitialized issue and added % * fixed tests * fix duplicate pool bug * added routing api setting * change router label based on router version * improve useRoutes and fix duplicate pool bug * debounce routing api/local routing * removed single hop setting * fix bug when moving between v2/v3 * consider isUnitialized non loading * ui fixes * reverted change to usedebounce * use new route schema * visual updates * log quoteId for polish session * fix: persist advanced swap details toggle state * fix no route found * poll every 10s * derive currencies from pool rather than input * polish query status handling in useRouterTrade * removed RouterVersion * update ui * update ui * update loading state * animate auto router * apply loading treatment to out * disable routing api on l2 and support auto slippage * use opacity on the whole element * show loading card when syncing * updated gradient * polished ui * create routerlabel component * disable router on all bu mainnet * polish * feat: [draft] routing api polish (#2224) * show loading card when syncing * updated gradient * polished ui * create routerlabel component * disable router on all bu mainnet * polish * polished loading state * add dashes * fixed tooltip styles * fixed merge conflict * few updates * polish * updated yarn.lock * fixed styles * updated routing diagram * Fix code style issues with ESLint * routing api enabled without localstorage upgrade * fixed lint error * Fix code style issues with ESLint * refined mocks in routing diagram tests * addressed pr feedback * polish * revert sending eth * improved loading animation * handle stale routing api * Fix code style issues with ESLint * updated yarn.lock * support native eth * Compute gas adjusted quote for V2 trade and compare to V3 gas adjusted quote * Incorporate approval gas cost estimate * feat: simplify routing api ux (#2258) * support native eth * simplified ui * perf optimization * implement realized lp fee * improved route realized lp fee * fix lp realized fee * fix auto router gradient * initial route overlay * add auto router svg * adjusted ux to mocks * fix lp fee * upddated routing diagram * optimize tradeBetter hook * adjust type and name * add useBetterTrade * useBetterTrade takes gasEstimateWei * implement gasEstimateForApproval * import state from react * use gas estimate * improve integration with gas estimate comparison * remove dependency on account * fix currency switch bug * improve syncing state * add loadingbar * style tooltip container * updated tooltip styles * increase opacity range * always keep dependent currency input interactable * show placeholders in tooltips * Revert v2 gas estimates and approval estimates * Add debug logs * refactor * fix bug * removed comment * update engish key * add try-catch * addressed pr feedback * remove loading bar for price impact * addressed pr feedback and bug bash feedback * fix: use url to force version * addressed pr feedback and bug bash feedback * stop fetching when losing focus * only show auto router label when activated * avoid showing syncing status * move V3TradeSTate to own file * make useRoutes a function rather than hook * use logo from active list when possible * renamed and refactored hook * renamed and refactored hook * update status * polish * remove unused import * fixed merge error * updated combined trade tests * remove priceimpact while loading * Design tweaks * polish latest design * removed some styles * log gaevent on tooltip open and clean up origin * Small tweaks * addressed pr feedback * wrap route length in a loading container * renamed local to clientside * fix percent and token logo * addressed pr feedback * avoid comparing trades when v3 not ready * some refactor Co-authored-by: Lint Action <[email protected]> Co-authored-by: Will Pote <[email protected]> Co-authored-by: Callil Capuozzo <[email protected]>
* flip token logos in route * update snapshot
* add @davatar/react for robust avatar support * remove @metamask/jazzicon, unused * move @davatar/react to devDependencies * pin exact version for @davatar/react
* change network label and add gnosis logo * change GC selected network * update gnosis chain logo * logo update * update constants * change gc on activity modal
# Summary Adds new errors for the backend. Now they have more granular description of the error. See gnosis/gp-v2-services#1458 (comment)
[:unicorn: Uniswap Merge] v4.20.1
* REBRANDING - NOT TO MERGE UNTIL ANNOUNCEMENT This PR rebrands all mentions to GnosisDAO, Gnosis, Gnosis Protocol or GPv2 to CoW Protocol & CowDAO. * Update README.md * Update index.html * Update index.tsx * Update index.ts
* REBRANDING - NOT TO MERGE UNTIL ANNOUNCEMENT This PR rebrands all mentions to GnosisDAO, Gnosis, Gnosis Protocol or GPv2 to CoW Protocol & CowDAO. * Fix code style issues with Prettier * escape apostrophe Co-authored-by: Lint Action <[email protected]> Co-authored-by: David W3stside <[email protected]>
* issue #2011 update explorer URL (Barn and prod only) * issue #2012 update explorer backend URLs * Revert BARN urls + update default urls + Add profile URL * Update .env.production Co-authored-by: Leandro Boscariol <[email protected]> * Update src/custom/api/gnosisProtocol/api.ts Co-authored-by: Leandro Boscariol <[email protected]> Co-authored-by: Leandro Boscariol <[email protected]>
[1.8.1] Update BARN urls
# Summary Fixes #2065   # To Test 1. Open the [Cowswap dApp](https://pr2073--gpswapui.review.gnosisdev.com/). And check the <img src="https://user-images.githubusercontent.com/622217/148829833-377e642a-cc83-4dbb-81e0-4f1ad6e9965e.png" height="25" /> Gnosis Chain logo in the network selector.
|
anxolin
approved these changes
Jan 12, 2022
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.
Awesome, you could merge to master and generate a rc
so @elena-zh can test in staging
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.
DO NOT SQUASH
Release 1.9.0
Descripton
React-cosmos
Network warning card