Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/1.49.0 #3342

Merged
merged 127 commits into from
Nov 9, 2023
Merged

Release/1.49.0 #3342

merged 127 commits into from
Nov 9, 2023

Conversation

shoom3301
Copy link
Collaborator

@shoom3301 shoom3301 commented Nov 7, 2023

Summary

PReview: https://swap-dev-git-release-1490-cowswap.vercel.app/

Test plan:

New features

Permit

  • On mainnet, sell a permittable token without previous approval (SWAP/LIMIT)
  • Permittable tokens should have a flag in the token selector (SWAP/LIMIT)
  • Permittable should NOT be used on TWAP
  • Permittable should NOT be used for SC wallets
  • Add a permittalbe token not in the list and have it recognized and traded as such. Example 0x30d20208d987713f46dfd34ef128bb16c404d10f

Regular flow

Smart contract wallet (Safe):

  • Just swap
  • Approve + swap
  • Wrap + approve + swap (eth-flow)
  • Wrap/unwrap
  • EthFlow swap
  • EthFlow cancellation
  • Order placement and fill (Limit/Twap)
  • Hard cancel order (Swap/Limit/Twap)

EOA wallet (Metamask):

  • Just swap
  • Approve + swap
  • Wrap + approve + swap (eth-flow)
  • Wrap/unwrap
  • EthFlow swap
  • EthFlow cancellation
  • Order placement and fill (Limit/Twap)
  • Hard cancel order (Swap/Limit/Twap)
  • Soft cancel order (Swap/Limit/Twap)

WalletConnect:

  • Just swap
  • Approve + swap
  • Wrap + approve + swap (eth-flow)
  • Wrap/unwrap
  • EthFlow swap
  • EthFlow cancellation
  • Order placement and fill (Limit/Twap)
  • Hard cancel order (Swap/Limit/Twap)
  • Soft cancel order (Swap/Limit/Twap)

Account page:

  • add token to Metamask
  • approve token
  • COW balance displaying
  • token search by name/address
  • add token to Metamask
  • favorite token add/remove

Common (WalletConnect/Metamask):

  • network switching
  • network persisting between modules
  • wallet disconnect
  • change wallet
  • balances loading
  • appzi
  • all FAQ pages open

Token selector:
#3342 (comment)

anxolin and others added 30 commits October 11, 2023 11:21
* feat: widget init mods

* feat: widget menu links

* feat: select menu

* feat: select menu

* feat: select menu

* Update apps/cowswap-frontend/src/modules/trade/containers/TradeWidget/index.tsx

Co-authored-by: Alexandr Kazachenko <[email protected]>

* feat: fix semicolons

* feat: menu styling

* feat: general styling

* feat: connect wallet internal

* feat: connect wallet internal

* feat: connect wallet internal

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* refactor: extract AccountElement and AccountModalState

* chore: update yarn.lock

* chore: fix code style

---------

Co-authored-by: Michel <[email protected]>
Co-authored-by: Alexandr Kazachenko <[email protected]>
* feat: widget init mods

* feat: widget menu links

* feat: select menu

* feat: select menu

* feat: select menu

* Update apps/cowswap-frontend/src/modules/trade/containers/TradeWidget/index.tsx

Co-authored-by: Alexandr Kazachenko <[email protected]>

* feat: fix semicolons

* feat: menu styling

* feat: general styling

* feat: connect wallet internal

* feat: connect wallet internal

* feat: connect wallet internal

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* refactor: extract AccountElement and AccountModalState

* feat: update theme

* feat: update modalheader

* feat: update modalheader

* feat: update modalheader

* feat: refactor code

* feat: iframe resizer

* feat: update

* feat: powered by footer (#3254)

---------

Co-authored-by: Michel <[email protected]>
Co-authored-by: Alexandr Kazachenko <[email protected]>
* feat: widget init mods

* feat: widget menu links

* feat: select menu

* feat: select menu

* feat: select menu

* Update apps/cowswap-frontend/src/modules/trade/containers/TradeWidget/index.tsx

Co-authored-by: Alexandr Kazachenko <[email protected]>

* feat: fix semicolons

* feat: menu styling

* feat: general styling

* feat: connect wallet internal

* feat: connect wallet internal

* feat: connect wallet internal

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* feat: widget configurator app

* refactor: extract AccountElement and AccountModalState

* feat: update theme

* feat: update modalheader

* feat: update modalheader

* feat: update modalheader

* feat: refactor code

* feat: iframe resizer

* feat: powered by footer

* feat: iframe WIP

* feat: revert tsconfig

* feat: fix import

* feat: fix gap loading spinner

* feat: cleanup + optimize iframeresizer

* feat: add ENUM

* feat: optimize iframeResizer script

* feat: fix height iframe

* feat: configurator background

* feat: fix fav tokens styles

* feat: fix img alt

---------

Co-authored-by: Michel <[email protected]>
Co-authored-by: Alexandr Kazachenko <[email protected]>
* feat: syntax highlight

* chore: delete dead code
* fix: don't fetch tokens list ens hashes

* fix: don't reset network cache in JsonRpcProvider

* chore: fix patch
* chore: flatten tradeAssets

* feat: show friendly appCode in snippet

* docs: add fixme
* feat: simplify theme config

* chore: remove override of colors
* feat(widget): include widget meta-data

* feat: make sure appData and widget values are correct

* feat: pass the environment instead of using it from the utils

* chore: update version in appCodes

* fix: fix tests

* chore: refactor name

* docs: add documentation

* fix: broken build
* feat: iterate on configurator

* feat: move embed code button (#3365)

* feat: move embed code button

* feat: add snackbar click to copy (#3366)

* feat: add snackbar click to copy

* feat: snackbar set timeout to 3s

* feat: revert click away and font fix

* feat: embed code button styling

* feat: embed code button refactor

* feat: remove comments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
RELEASE Included in the release that is being closed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants