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.35.3 #1401

Closed
wants to merge 87 commits into from
Closed

[release] Kintsugi 2.35.3 #1401

wants to merge 87 commits into from

Conversation

tomjeatt
Copy link
Collaborator

@tomjeatt tomjeatt commented Jul 4, 2023

Kintsugi 2.35.3

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
danielsimao and others added 22 commits June 28, 2023 15:44
* feature: add tooltip to asset cell

* fix: typo

* wip: ReactNode tooltip so that we can pass in link

* feature: add fee asset tooltip

* update text link component

* fix: revert changes to text links

* revert changes to text links

* fix: maintain compatibility with existing text links

* use correct location variable

* fix: remove log

* fix: tooltip const
* feat: add draft of onboarding page

* chore: update t&c links

* feat: add guided tour through app

* fix: typos and eslint warnings

* restrict width of onboarding cards

* feat: replace  UI faucet with discord link

* feat: improve CTA

* feat: add link to onboarding page

---------

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

* feat(pools): add trading fee APR

* refactor: clean-up naming
* chore: update monetary to latest 0.7.3

* chore: update lib to 2.3.5
# Conflicts:
#	package.json
#	src/App.tsx
#	src/assets/locales/en/translation.json
#	src/component-library/Modal/Modal.style.tsx
#	src/component-library/Modal/Modal.tsx
#	src/component-library/Select/Select.style.tsx
#	src/component-library/TextLink/TextLink.tsx
#	src/component-library/Tooltip/Tooltip.tsx
#	src/component-library/theme/theme.ts
#	src/component-library/utils/prop-types.ts
#	src/components/TransactionModal/TransactionModal.tsx
#	src/components/index.tsx
#	src/legacy-components/IssueUI/IssueRequestStatusUI/ConfirmedIssueRequest/index.tsx
#	src/lib/form/schemas/index.ts
#	src/lib/form/schemas/transfers.ts
#	src/lib/form/use-form.tsx
#	src/pages/AMM/Pools/components/DepositForm/DepositForm.tsx
#	src/pages/AMM/Pools/components/PoolModal/PoolModal.tsx
#	src/pages/AMM/Pools/components/PoolsInsights/PoolsInsights.tsx
#	src/pages/AMM/Pools/components/WithdrawForm/WithdrawForm.tsx
#	src/pages/AMM/Swap/components/SwapForm/SwapCTA.tsx
#	src/pages/AMM/Swap/components/SwapForm/SwapForm.tsx
#	src/pages/Bridge/BridgeOverview/components/LegacyBurnForm/LegacyBurnForm.tsx
#	src/pages/Bridge/BridgeOverview/components/LegacyRedeemModal/LegacyRedeemModal.tsx
#	src/pages/Bridge/IssueForm/index.tsx
#	src/pages/Bridge/RedeemForm/index.tsx
#	src/pages/Loans/LoansOverview/components/CollateralModal/CollateralModal.tsx
#	src/pages/Loans/LoansOverview/components/LoanActionInfo/RewardsGroup.tsx
#	src/pages/Loans/LoansOverview/components/LoanForm/LoanForm.tsx
#	src/pages/Loans/LoansOverview/components/LoansInsights/LoansInsights.tsx
#	src/pages/Transactions/IssueRequestsTable/IssueRequestModal/index.tsx
#	src/pages/Transactions/RedeemRequestsTable/RedeemRequestModal/index.tsx
#	src/pages/Transfer/CrossChainTransferForm/components/ChainIcon/icons/index.ts
#	src/pages/Transfer/CrossChainTransferForm/components/index.tsx
#	src/pages/Transfer/CrossChainTransferForm/index.tsx
#	src/pages/Transfer/TransferForm/index.tsx
#	src/pages/Transfer/TransferForms/CrossChainTransferForm.styles.tsx
#	src/pages/Transfer/TransferForms/CrossChainTransferForm.tsx
#	src/pages/Transfer/TransferForms/components/ChainIcon/icons/Acala.tsx
#	src/pages/Transfer/TransferForms/components/ChainIcon/icons/Astar.tsx
#	src/pages/Transfer/TransferForms/components/ChainIcon/icons/Bifrost.tsx
#	src/pages/Transfer/TransferForms/components/ChainIcon/icons/Heiko.tsx
#	src/pages/Transfer/TransferForms/components/ChainIcon/icons/Hydra.tsx
#	src/pages/Transfer/TransferForms/components/ChainIcon/icons/Karura.tsx
#	src/pages/Transfer/TransferForms/components/ChainIcon/icons/Parallel.tsx
#	src/pages/Transfer/TransferForms/components/ChainSelect/ChainSelect.style.tsx
#	src/pages/Transfer/TransferForms/components/ChainSelect/ChainSelect.tsx
#	src/pages/Transfer/TransferForms/components/ChainSelect/index.tsx
#	src/pages/Transfer/index.tsx
#	src/pages/Vaults/Vault/SubmittedIssueRequestModal/index.tsx
#	src/pages/Vaults/Vault/components/index.tsx
#	src/pages/Vaults/VaultsOverview/components/CreateVaultWizard/DespositCollateralStep.tsx
#	src/parts/Sidebar/SidebarContent/Navigation/index.tsx
#	src/parts/Topbar/index.tsx
#	src/utils/constants/links.ts
#	src/utils/context/Notifications.tsx
#	src/utils/hooks/api/xcm/use-xcm-bridge.ts
#	src/utils/hooks/transaction/extrinsics/lib.ts
#	src/utils/hooks/transaction/types/index.ts
#	src/utils/hooks/transaction/types/loans.ts
#	src/utils/hooks/transaction/use-transaction-notifications.tsx
#	src/utils/hooks/transaction/use-transaction.ts
* refactor: add feature flag

* fix: update dependencies

* add onboarding to env file
@vercel
Copy link

vercel bot commented Jul 4, 2023

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

Name Status Preview Updated (UTC)
interbtc-ui-interlay 🔄 Building (Inspect) Jul 4, 2023 9:43am
interbtc-ui-interlay-testnet 🔄 Building (Inspect) Jul 4, 2023 9:43am
interbtc-ui-kintsugi 🔄 Building (Inspect) Jul 4, 2023 9:43am
interbtc-ui-kintsugi-testnet 🔄 Building (Inspect) Jul 4, 2023 9:43am

@tomjeatt
Copy link
Collaborator Author

tomjeatt commented Jul 4, 2023

superseded

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.

6 participants