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] Kintsugi 2.40.0 #1598

Merged
merged 199 commits into from
Nov 7, 2023
Merged

[release] Kintsugi 2.40.0 #1598

merged 199 commits into from
Nov 7, 2023

Conversation

tomjeatt
Copy link
Collaborator

@tomjeatt tomjeatt commented Nov 6, 2023

Kintsugi 2.40.0

peterslany and others added 30 commits May 19, 2023 11:15
* refactor: use updated tab component

* refactor: duplicated form titles

* refactor: remove redundant hook calls

* refactor: prefer title case

* wip: XCM transfer form UI

* wip: updated form UI

* wip: account selector placeholder component

* wip: account selector modal

* wip: modal open and close actions

* wip: update modal type

* wip: get accounts

* wip: add identicon and rename component for consistency

* wip: account input component

* fix: remove redundant icons prop

* feat: implement with SelectTrigger

* wip: styling and account selection value

* wip: handle setting account data

* refactor: better naming

* wip: address list styling

* refactor: rename defaultAccount

* wip: chain selector placeholder component

* wip: duplicate account component and rename

* chore: delete redundant legacy component

* wip: logic for fetching and rendering chain ids

* wip: chain item styling

* wip: selected chain styling

* chore: add comment

* refactor: pass through native token to icon component

* feature: add chain icon component

* chore: add comment

* chore: correct file name casing

* refactor: improve folder structure

* wip: form layout styling

* chore: add arrow icon

* chore: add logos and correct svg titles

* chore: remove redundant svg prop

* chore: rename arrow icon

* chore: consistent use of styled components

* refactor: remove padding from modal body

* wip: formik integration work

* wip: extend useXCMBridge to return available chains and utility methods

* chore: move Chain and Chains types to types directory

* feat: layout and form implementation

* feat: add schema

* feat: final

* wip: refactor useXCMBridge hook

* refactor: add endpoints type

* refactor: wrap methods in useCallback

* refactor: fix bug in hook method

* chore: bump bridge version

* wip: set originating and destination chain values

* refactor: set from chain value on field change

* wip: set originating chain value

* refactor: mergeProps to set field value

* refactor: handle setting origin/destination chain values

* wip: get tokens method

* wip: first iteration of balances function

* wip: handle tokens array

* wip: set token value

* wip: get token balances

* wip: return token and balances in single method

* wip: mapped tokens

* refactor: handle default chain values

* refactor: better organised function order

* wip: handle change events

* wip: handle setting tokens

* wip: handle fetching tokens and balances

* wip: convert input configs

* wip: handle token change

* wip: get token USD price

* Trigger Build

* chore: remove unused import

* chore: correct eslintignore syntax

* wip: handle breaking changes

* wip: disable token input when select items value is 1

* chore: set first token item as variable

* wip: handle setting and changing values

* chire: add loading spinner

* refactor: add loading state

* refactor: filter destination chains

* chore: remove console log

* chore: bump XCM bridge version

* chore: update config

* refactor: configure validation

* chore: revert change to useForm hook

* wip: form validation

* wip: working form validation

* wip: undefined validation parameters

* refactor: return dest fee estimate from bridge hook

* feature: show fees and fee estimates

* chore: conditional operators

* refactor: handle ticker change correctly

* wip: sendTransaction method

* Revert "wip: sendTransaction method"

This reverts commit 3ade26d.

* fix: USD amounts

* wip: send transactions

* refactor: bump bridge and use getNativeToken method

* chore: bump bridge

* refactor: move submit logic to useMutation hook

* fix: type mismatches

* refactor: white space/comments

* refactor: add transaction fee validation

* chore: typo

* chore: remove console log

* refactor: remove duplicated monetary conversion

* refactor: remove duplicate code

* Revert "refactor: remove duplicate code"

This reverts commit bd29f8c.

* Revert "refactor: remove duplicated monetary conversion"

This reverts commit 5fd3d64.

* refactor: use monetaryAmount when constructing transaction

* refactor: remove duplicated code for fetching tokens

* refactor: default XCM origin

* Revert "refactor: remove duplicated code for fetching tokens"

This reverts commit 8f31ee8.

* chore: remove comment

* chore: fix errors

* fix: set default value to empty string to prevent React error

* refactor: removed unwanted force validation parameters

* refactor: remove redundant method

* refactor: add method return type

* refactor: add method return type

* refactor: correct type error

* refactor: fix destFee type error

* refactor: remove fees validation and revert destFee return value

* chore: remove console log

* refactor: remove redundant method

* refactor: disable validation on change

* chore: remove commented out code

* wip: use select component for chain selector

* fix: handle chain select functions

* refactor: type chain id as ChainName

* Revert "refactor: type chain id as ChainName"

This reverts commit d05e012.

* chore: remove unused component files

* refactor: remove duplicated transaction logic

* fix: make to/from field types more specific

* fix: revert yup.custom changes and cast validation

* fix: set correct destination chain

* refator: handle token data

* refactor: add use callback

* fix: correct rendering logic

* fix: update dependencies

* chore: delete unused styles

* chore: fix merge issue with transfer form

* fix: change validation handling

* Revert "fix: change validation handling"

This reverts commit c0cb306.

* refactor: only display transfer amount if amount has been entered

* chore: config changes

* chore: add missing icons

* chore: Hydra chain icon

* fix: add error text to CTA

* Tom/xcm fixes (#1213)

* refactor: specify endpoints and remove unnecessary logic

* fix: save file before committing

* fix: disable refetch

* chore: update endpoints

* chore: remove log

* chore: rename file

* chore: add additional acala/karura endpoints

---------

Co-authored-by: Rui Simão <[email protected]>
* Chore - add vault healthcheck

* Chore - add vault healthcheck

* Chore - add vault healthcheck
* chore: bump icons dependency

* feature: earn strategies placeholder page and feature flag
* chore: update monetary to latest 0.7.3

* chore: update lib
* fix: add missing icons and remove erroring RPC

* Update src/pages/Transfer/CrossChainTransferForm/components/ChainIcon/icons/Acala.tsx

Co-authored-by: Peter Slaný <[email protected]>

* Update src/pages/Transfer/CrossChainTransferForm/components/ChainIcon/icons/Astar.tsx

Co-authored-by: Peter Slaný <[email protected]>

* Update src/pages/Transfer/CrossChainTransferForm/components/ChainIcon/icons/Parallel.tsx

Co-authored-by: Peter Slaný <[email protected]>

---------

Co-authored-by: Peter Slaný <[email protected]>
* chore: update monetary to latest 0.7.3

* wip

* feat(earn-strategies): add deposit and withdrawal form components

* refactor: add padding under tabs in earn strategy forms

* chore(earn-strategies): change file structure
* fix: use history replace instead of push to fix looping of bridge page

* chore: clean up and bump version

---------

Co-authored-by: tomjeatt <[email protected]>
* chore: update monetary to latest 0.7.3

* chore: update lib version
ns212 and others added 21 commits September 21, 2023 11:15
* api: refactor the market data api

* api: refactor the market data api

* api: refactor the market data api
* api: refactor the market data api

* api: refactor the market data api

* api: refactor the market data api

* wip: add log

* wip: hardcode value to run against market data api

* wip: try setting asset name

* fix: casing

* chore: add vKSM ids

* fix: handle VDOT and VKSM

* typo: quotation marks

* chore: fix switch statement and remove console log

* fix: revert change

---------

Co-authored-by: ns212 <[email protected]>
* chore: add token icons

* fix: correct ids for vDOT

* chore: TBTC icon
* update dependencies

* chore: bump dependencies

* chore: update dependencies and fix type errors

* chore: update dependencies

* remove redundant resolutions

* wip: try setting node options in package

* Trigger build

* update caniuse db

* fix: revert type casting

* chore: bump bridge version

* fix: xcm breaking changes

* fix: correct XCM adapter
* fix: add Bifrost polkadot icon

* fix: handle `.wh` suffix in tickers when fetching icons

* fix: display name
* feat(Staking): refactor

* feat: continue

* wip

* feat: continue

* feat: continue

* feat: final

* feat: final

* feat: add tests

* feat: continue tests

* feat: continue

* feat: add translations

* fix: code review

* feat: add staking limit

* fix: limit

* fix(Staking): limit parsing

---------

Co-authored-by: tomjeatt <[email protected]>
# Conflicts:
#	package.json
#	src/assets/locales/en/translation.json
#	src/component-library/Label/Label.style.tsx
#	src/component-library/List/List.style.tsx
#	src/component-library/utils/prop-types.ts
#	src/components/index.tsx
#	src/config/links.ts
#	src/hooks/api/escrow/use-get-account-staking-data.tsx
#	src/hooks/api/escrow/use-get-account-voting-balance.tsx
#	src/hooks/transaction/extrinsics/lib.ts
#	src/hooks/transaction/types/escrow.ts
#	src/hooks/transaction/utils/fee.ts
#	src/lib/form/schemas/index.ts
#	src/pages/Loans/LoansOverview/components/CollateralModal/CollateralForm.tsx
#	src/pages/Loans/LoansOverview/components/CollateralModal/CollateralModal.tsx
#	src/pages/Staking/ClaimRewardsButton/index.tsx
#	src/pages/Staking/WithdrawButton/index.tsx
#	src/pages/Staking/index.tsx
#	src/pages/Wallet/WalletOverview/WalletOverview.tsx
#	src/pages/Wallet/WalletOverview/components/AvailableAssetsTable/ActionsCell.tsx
#	src/pages/Wallet/WalletOverview/components/StakingTable/StakingTable.tsx
#	src/test/mocks/@interlay/interbtc-api/index.ts
#	src/test/mocks/@interlay/interbtc-api/parachain/api.ts
#	src/test/pages/Wallet.test.tsx
Copy link

vercel bot commented Nov 6, 2023

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

Name Status Preview Comments Updated (UTC)
interbtc-ui-interlay ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2023 0:44am
interbtc-ui-interlay-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2023 0:44am
interbtc-ui-kintsugi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2023 0:44am
interbtc-ui-kintsugi-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2023 0:44am

Copy link

github-actions bot commented Nov 6, 2023

Running Lighthouse audit...

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.

7 participants