Charles Bachmeier
c2ca9ab93e
feat: [info] update token links ( #7505 )
...
* update pdp link styles
* dynamic link text
* move links to their own file
* border width case
* todo comments
* add explorer icon
* hide chain logos on other chain
* remove quotes
* clean up
* unused style
2023-11-02 13:53:18 -07:00
Tina
cfaf5d79c1
feat: Remove local routing setting ( #7462 )
...
* remove client side router preference
* update e2e test
* fix comment
2023-10-13 14:33:47 -04:00
Charles Bachmeier
82a194987a
feat: [info] Add Token Description Component ( #7400 )
...
* working token details section
* update decription styling
* different chain explorers
* remove wrap check for color extraction
* move token description to its own component, add copy, make simple project query
* rename styled components and add tests
* remove old comment
* await test fragment
* fix: update description truncation from TokenDescription (#7413 )
* fix: update description truncation from TokenDescription
* fix: use better name
* fix: test if description is hidden or not (#7422 )
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* make darker or lighter
* showCopy default false
* update test
* remove unused styles
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
2023-10-11 10:32:33 -07:00
Charles Bachmeier
81accd1864
feat: [info] Add Liquidity and Swap buttons on PDP ( #7382 )
...
* feat: setup initial pool details page and route
* add pool data query and call on enw page
* make query dynamic to url chainId
* Get and display Header info
* add token symbols
* split header into its own file
* add helper function to not default to eth chain
* add helper function tests
* add header component tests
* add mocked test for PDP
* use valid values
* allow unsupported BE chains supported by thegraph
* typecheck
* remove useless row
* no longer needed child
* use first and last child
* move mock consts to their own file
* skele linear task
* return null
* descriptiive pool not found bool
* modify correct logo container
* update snapshots
* instantiate all chain apollo clients
* added snapshot test
* merge main and update snapshots
* Update src/pages/PoolDetails/PoolDetailsHeader.tsx
Co-authored-by: Nate Wienert <natewienert@gmail.com>
* type feeTier
* setup init stats component
* correctly query pool data for t24, t48, and tWeek timestamps
* add comments
* sanitize pool data and update tests
* correct test data
* add todo
* lint
* show correct data
* remove logs
* use formatter
* showing colored bars
* styled graph
* get muted color
* refactor: move getColor to src
* refactor useColor to use getColor function
* remove consts
* refactor files
* 1st class var support courtesy of carter
* remove logging and adds comments
* mobile styling
* move Stats to its own file
* add test cases
* add test file
* update padding
* remove old test file
* respond to feedback
* right column wrapper
* add non-functional pdp buttons
* update tests
* add button functionality
* working tokenId for position
* split buttons in their own file
* add tests
* reduce screenshots
---------
Co-authored-by: Nate Wienert <natewienert@gmail.com>
2023-10-02 09:56:17 -07:00
Tina
c7a8e9e5a7
feat: Quick routes ( #7348 )
...
* wip, added PreviewTrade and now amending request arg type
* updates
* update logic to progress to swap review screen
* add token tax info to preview trades
* add loading component
* add feature flag and fix analytics and perf stuff
* update debounce amount
* add latencyMs measure
* change types
* add inline comments
* actually pass in feature flags
* dep array
* fix snapshot and unit tests
* fix unit tests
* update font color for loading text
* remove all chains feature flag
* remove from feature flag modal
* dont flicker review modal when allowance is loading
* remove comment
* add snapshot tests
* triple equals
* add comment
* change cast
2023-09-29 12:20:10 -04:00
Charles Bachmeier
beef7f2d86
feat: Condense color extraction logic and improve fallback ( #7347 )
...
* refactor: move getColor to src
* refactor useColor to use getColor function
* remove consts
* refactor files
* clean up color convert fn
* move getColor test and import test images
* hardcode array buffers for images
* add invalid png
2023-09-22 10:09:05 -07:00
Charles Bachmeier
622c72d4a8
feat: [info] Migrate Historical Pool Data Queries ( #7310 )
...
* correctly query pool data for t24, t48, and tWeek timestamps
* add comments
* sanitize pool data and update tests
* correct test data
* add todo
* lint
* remove logs
* 1st class var support courtesy of carter
* remove logging and adds comments
2023-09-22 09:47:25 -07:00
Zach Pomerantz
fbc7e64032
chore: prohibit barrels ( #7362 )
...
* chore: prohibit barrels
* lint
* lint
* more lint
* add motivation to eslint message
2023-09-21 19:38:17 -07:00
Zach Pomerantz
adaa7f1a0d
feat: lazy-load smart-order-router ( #7317 )
2023-09-15 12:24:00 -07:00
Charles Bachmeier
dcf7d29357
feat: [info] Initial Pool Details Page ( #7250 )
...
* feat: setup initial pool details page and route
* add pool data query and call on enw page
* make query dynamic to url chainId
* Get and display Header info
* add token symbols
* split header into its own file
* add helper function to not default to eth chain
* add helper function tests
* add header component tests
* add mocked test for PDP
* use valid values
* allow unsupported BE chains supported by thegraph
* typecheck
* remove useless row
* no longer needed child
* use first and last child
* move mock consts to their own file
* skele linear task
* return null
* descriptiive pool not found bool
* modify correct logo container
* update snapshots
* instantiate all chain apollo clients
* added snapshot test
* merge main and update snapshots
* Update src/pages/PoolDetails/PoolDetailsHeader.tsx
Co-authored-by: Nate Wienert <natewienert@gmail.com>
* type feeTier
---------
Co-authored-by: Nate Wienert <natewienert@gmail.com>
2023-09-11 14:48:16 -07:00
Zach Pomerantz
63bf1c0ac8
feat: path-based routing ( #7275 )
2023-09-08 10:43:59 -07:00
eddie
a3fbab9163
feat: uniswapx start time buffer ( #7279 )
...
* wip
* feat: use startTimeBufferSecs from API response
2023-09-08 09:30:57 -07:00
cartcrom
1c142bb71f
feat: workaround for FOT swaps ( #7218 )
...
* fix: workaround to include tax in slippage tolerance
* refactor: simplify tax line item components
* docs: update FOT comments
* fix: simplify tax calculation logic
* docs: update comment and add TODO
* fix: use postTaxAmountOut for price change calculation
* fix: use preTaxStablecoinPriceImpact for swab button warnings
* test: unit test for swap details/modal
* feat: add feature flag to gate FOT changes
* docs: add comment to postTaxOutputAmount getter
* fix: reword fee tooltip
* refactor: warning theme color variable usage
* fix: update snapshots
* fix: use preTaxStablecoinPriceImpact for price impact prompt logic
* lint: dependency array
2023-08-24 10:56:48 -04:00
Jack Short
3f05a88409
chore: revert path based routing ( #7192 )
...
* Revert "feat: use router depending on the origin (#6982 )"
This reverts commit c9b4016b78e597b824c98e4219867e0af301c755.
* updating tests
* fixing import from styled components
* fixing styled imports
2023-08-18 14:40:47 -04:00
Charles Bachmeier
a53e773e5d
refactor: shelve Details redesign for now ( #7077 )
...
* shelve Details redesign for now
* remove feature flag enum
* no longer used utils
2023-08-08 08:28:43 -07:00
Mike Grabowski
c9b4016b78
feat: use router depending on the origin ( #6982 )
...
* feat: initial commit
* chore: whitelist vercel
* chore: fix e2e test
* chore: update all occurences of #
* chore: tweaks
* chore: remove todo
* chore: revert changes
* chore: bring back old tweet logic and fix nested URLs
* chore: fix merge
* improve check
* fix: cypress
* chore: fix tests
* chore: update snapshot
* chore: update readme
* address review
* satisfy eslint
* chore: fix ui issue
* fix: tests
* fix: e2e test
2023-08-07 15:01:45 -07:00
eddie
264f145708
fix: Router label copy ( #7060 )
2023-08-03 15:08:59 -07:00
Tina
4c58258f01
feat: additional routing option prototype ( #6934 )
...
* add npm secret and modify github actions
* inject npm secret for tests as well
* revert changes to staging and prod actions because we arent going to use themmm
* remove unused github actions
* minor copy change for convenience lol
* feat: add DutchOrderTrade type to Swap components (#8 )
* feat: add flag for gouda (#5 )
* feat: add new signature details type (#4 )
* feat: local gouda activity (#9 )
* feat: Unified Routing API classic and dutch limit quote requests (#10 )
* chore: Rebase 5/26 (#13 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: add UniswapX to Settings (#7 )
* feat: merge upstream 5/31 (#16 )
* feat: Upgrade unified-routing-api URL (#15 )
* chore: merge upstream 6/2 (#19 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: uniswapx gas tooltip (#12 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: swap callback (#17 )
* feat: gouda gating (#14 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* fix: settings e2e test (#22 )
* feat: update swap callback to add orders to redux state (#18 )
* chore: Fix types for useBestTrade return result (#21 )
* feat: gql gouda orders (#20 )
* feat: show $0 for gas fee for now (#25 )
* chore: Rebase 06/08 (#26 )
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
* feat: poll on order submit (#23 )
* feat: update gouda-sdk to 1.0.0-alpha.3 (#31 )
* feat: rename gasUseEstimateUSD for dutch orders (#30 )
Co-authored-by: Tina Zheng <tina.s.zheng+github@gmail.com>
* chore: Fix response types (#36 )
* feat: Gouda ETH input flow (#29 )
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
* fix: use trade to determine what router label to show (#41 )
* feat: open uniswapx modal on click (#32 )
* feat: gouda logging new params in swap quote received (#33 )
* fix: wrap step ui fixes (#40 )
* feat: use BE deadline padding (#46 )
* chore: merge 6/23 (#50 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
* feat: Gouda opt-in flow request logic (#37 )
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* feat: hide slippage and deadline settings when the current trade is gouda (#44 )
* feat: use settled order amounts (#45 )
* feat: fetch receipt before dispatch (#49 )
* fix: updated order popups to launch modal (#48 )
* feat: Use slippage value from URA response for UniswapX trades (#51 )
* fix: Bump gouda-sdk to match backend response for quotes (#58 )
* feat: Change gouda order status URL param from offerer -> swapper (#59 )
* feat: disable opt in flow (#57 )
* feat: Dont show USD value change for uniswapx trades (#55 )
* fix: Don't use WETH as input currency for Classic ETH-in trades (#54 )
* feat: Reset to WETH after wrap is complete (#52 )
* fix: correct descriptor in UniswapX activity row items (#61 )
* fix: align review modal and gouda activity modal (#60 )
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* feat: Get wrap and approve gas info (#53 )
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* fix: restore summary view when wrap is rejected (#66 )
* fix: serialize tx receipts before storing (#64 )
* fix: Insufficient balance check should read from the right currency (#65 )
* feat: update designs for gas tooltips (#67 )
* fix: UniswapX gas descriptor boolean (#69 )
* chore: Bump conedison for better gas price formatting (#70 )
* chore: Switch from gouda-sdk to uniswapx-sdk (#71 )
* chore: Rename all variables `gouda` to UniswapX (#72 )
* chore: Merge 7/8/23 (#73 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
* chore(conedison): update package (#77 )
* feat: add opt-in UI (#68 )
* chore: address some todos (#79 )
* chore: Rename feature flag from gouda_enabled to uniswapx_enabled (#81 )
* feat: Copy changes (#82 )
* fix: improve timings on animations for gouda opt-in (#80 )
* chore: Use updated URLs (#84 )
* chore: Merge 7/14 (#85 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
* remove changes to github actions files
* fix import
* actually revert changes to yml
* remove method export
* feat: Add feature flag for synthetic quotes (#6938 )
* fix: use Lingui Trans macro (#6943 )
* fix: use trans macro
* add comments
* fix: update updater.tsx (#6942 )
* fix: reformat variable to use ms
* move interval definition above getOrderStatus
* lint :)
* revert
* chore: bunch of nits (#6944 )
bunch of nits
* fix: translations etc (#6945 )
* chore: Remove placeholder signature types (#6937 )
remove placeholder
* chore: merge main into branch (#6948 )
* fix: Handle Scientific Notation for NFT Collection Activity Prices (#6936 )
wrap nft activity price in
* fix: e2e tests (#6941 )
* fix: e2e test
* fix: set flag for buy-crypto-modal test
* fix: fund DAI
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* feat: make inputCurrency optional for swapheader (#6947 )
* make inputCurrency optional for swapheader
* optional pass in
* fix: function defined twice (#6950 )
fix lint
* test: add signatureToActivity undefined tests (#6949 )
* fix: update token lists schema (#6951 )
fix: update token list schema
* chore: some last nits (#6953 )
* refactor: base type
* test: useUserDisabledUniswapX
* chore: simplify useAllSignatures usage
* chore: standard check order
* lint
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
Co-authored-by: marktoda <toda.mark@gmail.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
2023-07-14 14:46:59 -07:00
Charles Bachmeier
62a6ef00da
fix: [DetailsV2] flaky time relevant test ( #6753 )
...
fix flaky time relevant test
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-06-12 10:51:11 -07:00
Mike Grabowski
c07c401189
feat: add animation to Settings menu ( #6617 )
...
* feat: add price impact back
* chore: update tes tname
* chore: update snapshot for price impact
* fix
* fix
* update snapshot after rebase
* update snapshot
* chore: finish
* chore: remove snapshot
* feat: add test matcher
* cleanup
* chore: add animation test
* add comment
* update comment
2023-05-24 22:02:59 +04:00
Tina
8431ad9161
chore: Refactor swap request flow ( #6499 )
...
* Refactor swap quote flow with widget logic
* remove console logging
* add ignore path for serialization check and pass in native currencies for client side routing
* apply stashed changes
* revert node version change
* remove TODO comment because maybe no longer relevant
* update unit tests
* wip: add snapshot test
* add snapshot test for gas estimate badge
* address PR comments: rename variables, fix client side router initialization
* update Trade type
* add TODO comment about isExactInput util
* change | undefined convention to ?
* PR comments
* update type
* remove client side initialization logic and replace with TODO
* use routing-api for price fetching trades too
* remove QuoteType.Initialized
2023-05-16 16:33:46 -04:00
Charles Bachmeier
42e3af7b5c
feat: [DetailsV2] Offer and Listing Tables ( #6515 )
...
* added home icon, basic content container with scroll behaviour
* add more struct
* add timeUntil util, add main structure of generic component, basic mock data
* propagate asset
* actual fake data
* working scroll
* proper alignment
* 1155 quantity
* small window sizes
* more action buttons
* cleanup
* update snapshot
* add tests
* add new test files
* add outline and hide usd price for certain screen sizes
* use sell order data
* update tests
* fetch multiple listings
* better price width on select screens
* mobile icon for approve
* bottom padding on mobile
* update snapshot
* use test objs in tests
* update query
* add border between rows
* update page padding
* breakpoint overlap
* simplified sellOrder check
* external link
* upstream button and better mobile padding
* add file and update tests
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-15 09:14:09 -07:00
Charles Bachmeier
9de76c69ae
feat: [DetailsV2] Data Page Header ( #6549 )
...
* hide header on mobile
* add buy and offer buttons, thumbnail, text
* handle no sell orders and add tests
* rehide on mobile
* breakpoint optimizations
* design feedback
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-12 14:48:26 -04:00
Jack Short
92a6ec67b3
feat: [DetailsV2] different media types on landing page ( #6492 )
...
* initial layout assuming media type exists
* fixing embeds
* media type function
* updated snapshot test
* initial shadow impl
* better shadows
* audio player controls
* updating tests
* content not available handlers
* errors on all media types
* removing fullscreen from iframe
* adding snapshot tests
* responding to comments
* text align center
* updating tests
2023-05-10 13:10:25 -04:00
Jack Short
0e5328bee9
feat: [DetailsV2] initial details landing page view ( #6453 )
...
* feat: initial view of details landing page
* gap
* dynamic font sizes
* added test
* responding to comments
* updating snapshot
* linting
2023-05-03 11:08:48 -04:00
cartcrom
d0a10fcf8d
refactor: activation hook w/ global state ( #6413 )
...
* feat: moved tryActivation to global hook/state
* test: activation hook
* fix: merge conflicts
* fix: update file path for render utils in activate.test.ts
* fix: add await for connector deactivation
* fix: pr comment fixes
* fix: update tests
* refactor: use stronger activation state type
* refactor: use global state instead of props in ConnectionErrorView
* fix: re-add uri availability check
* fix: lint
* fix: nits
* fix: css regression
* fix: update test enum usage
* fix: use native disabled attribute
* test: add snapshot tests for different Option states
* fix: zach's PR comments
* test: update snapshots/unit tests
* style: pending boolean names
* fix: updated test import
* docs: added comment explaining analytics difference in wallet connection
* test: assert console.debug calls and fix act() issues
* test: drawer close
* test: import specific drawer fn instead of whole module
2023-04-28 19:14:30 -04:00
Jack Short
6df5d3a701
chore: moving nft test fixtures to their own file ( #6456 )
...
* chore: moving nft test fixtures to their own file
* refactoring structure
* renaming file
2023-04-27 17:10:06 -04:00
Jack Short
0025997175
chore: updating purchasable markets from activity ( #6443 )
...
* updating purchasable markets from activity
* renaming
* adding trans + refactor
* snapshot test
* removing snapshot test and only matchin test
* deleting snap
2023-04-25 16:17:36 -04:00
Zach Pomerantz
4966ee56dd
fix: mock useWeb3React ( #6422 )
...
* fix: mock useWeb3React
* fix: pr nits
* fix: do not import for perf
* fix: update snaps
* fix: import type
* Revert "fix: import type"
This reverts commit d7da5a04d1951a50d997005059077e482dd6e97c.
2023-04-24 12:43:55 -07:00
Jack Short
aa77a7a23a
chore: adding snapshot tests for nftCard components ( #6410 )
2023-04-21 12:28:46 -04:00
lynn
8b1a0e99ee
test: swap modal header unit test ( #6361 )
...
* init
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* move noop
* add eslint rule
* return null in noop
* merge
* fixes
2023-04-20 11:21:57 -04:00
lynn
01a3aa1c92
chore: add constants for testing ( #6367 )
...
* init
* use constants
* change address
* move noop
* add eslint rule
* return null in noop
* fixes
2023-04-19 12:21:30 -04:00
Zach Pomerantz
4888fe23df
test: add jest.asMock ( #6310 )
...
* test: add jest.asMock
* test: use mocked instead
* test: split test-utils to prevent interaction
* test: whoops missed one
* Merge but actually this time
2023-04-13 12:44:06 -07:00