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

Fix ts check and refactor token select #689

Conversation

yvesfracari
Copy link
Contributor

@yvesfracari yvesfracari commented May 29, 2024

The token selected new features are:

  • Import custom token;
  • use cow token list;
  • search tokens
  • wip: toast not working;

To fix the ts-errors, the TX processing pages and running amm hook were deleted (were not working anymore and this should be fixed later)

Copy link

linear bot commented May 29, 2024

Copy link

vercel bot commented May 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
balancer-tools ❌ Failed (Inspect) May 29, 2024 4:08pm
chainlink-data-feeds-api 🛑 Canceled (Inspect) May 29, 2024 4:08pm
cow-amm-deployer ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 29, 2024 4:08pm
cow-tools ❌ Failed (Inspect) May 29, 2024 4:08pm

@ribeirojose ribeirojose changed the base branch from main to jose/cow-252-create-withdraw-flow May 29, 2024 15:21
<CommandInput />
{/* @ts-ignore */}
<CommandList>
{/* @ts-ignore */}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what was it complaining about?

Copy link
Contributor Author

@yvesfracari yvesfracari May 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the interface, it doesn't expect a child, to solve this we have to solve the errors on command file.

@yvesfracari yvesfracari marked this pull request as ready for review May 29, 2024 16:52
@yvesfracari yvesfracari merged commit 465c7a7 into jose/cow-252-create-withdraw-flow May 29, 2024
6 of 9 checks passed
@yvesfracari yvesfracari deleted the jose/cow-252-create-withdraw-flow-fix-ts-errors branch May 29, 2024 16:52
yvesfracari added a commit that referenced this pull request May 29, 2024
* deploy AMM using ConstantProductFactory

* move standalone cow-amm code from composble-cow-api repo

* run formatting

* remove ts-retry

* add initial version of standalone amm page

* fix lint issues

* add format command

* remove commented code

* add insuficient token balance error

* refactor: use standalone amm types

* wip: refactor amm manager page

* rename bleu-fi to bleu everywhere

* add gql.tada and graphql-request to make queries

* fix ts errors in homewrapper

* fix ts issues

* run formatting

* refactor data fetching

* update deps

* Create Withdraw page (#687)

* Refactor interface of token info and token logo components

* Add withdraw relevant data to ICoWAMM

* Add withdraw page

* Remove unecessary imagesSrc states on token logo component

* use react cache

* remove vercel actions

* use owner on cow explorer link (#688)

Co-authored-by: José Ribeiro <[email protected]>

* add turbo to project

* update voting gauges

* fix prettier

* disallow parallel ci runs for the same branch

* fix: fix contracts test workflow file

* fix import

* Fix ts check and refactor token select (#689)

* delete tx processing pages

* delegte use running amm info hook

* no check command ui ts errors

* Use cow token list on token select

* Fix token amount input now showing balance if 0

* fix formatting

* avoid using localstorage if window is undefined

* fix ts errors

* ignore zod ts errors

---------

Co-authored-by: José Ribeiro <[email protected]>
Co-authored-by: José Ribeiro <[email protected]>

---------

Co-authored-by: Pedro Yves Fracari <[email protected]>
Co-authored-by: Pedro Yves Fracari <[email protected]>
ribeirojose added a commit that referenced this pull request May 31, 2024
* deploy AMM using ConstantProductFactory

* move standalone cow-amm code from composble-cow-api repo

* run formatting

* remove ts-retry

* add initial version of standalone amm page

* fix lint issues

* add format command

* remove commented code

* add insuficient token balance error

* refactor: use standalone amm types

* wip: refactor amm manager page

* rename bleu-fi to bleu everywhere

* add gql.tada and graphql-request to make queries

* fix ts errors in homewrapper

* fix ts issues

* run formatting

* refactor data fetching

* update deps

* Create Withdraw page (#687)

* Refactor interface of token info and token logo components

* Add withdraw relevant data to ICoWAMM

* Add withdraw page

* Remove unecessary imagesSrc states on token logo component

* use react cache

* remove vercel actions

* use owner on cow explorer link (#688)

Co-authored-by: José Ribeiro <[email protected]>

* add turbo to project

* update voting gauges

* fix prettier

* disallow parallel ci runs for the same branch

* fix: fix contracts test workflow file

* fix import

* Fix ts check and refactor token select (#689)

* delete tx processing pages

* delegte use running amm info hook

* no check command ui ts errors

* Use cow token list on token select

* Fix token amount input now showing balance if 0

* fix formatting

* avoid using localstorage if window is undefined

* fix ts errors

* ignore zod ts errors

---------

Co-authored-by: José Ribeiro <[email protected]>
Co-authored-by: José Ribeiro <[email protected]>

* add disable and refactor edit transactions

* refactor transactions args and add enable and disable action

* run formating

---------

Co-authored-by: José Ribeiro <[email protected]>
Co-authored-by: José Ribeiro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants