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

feat: add interest rate strategy link #1124

Merged

Conversation

defispartan
Copy link
Collaborator

No description provided.

>
<Typography variant="buttonS">
<Trans>Interest rate strategy</Trans>
</Typography>
Copy link
Contributor

Choose a reason for hiding this comment

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

Noticed something, is Typography tag necessary here, or should we add it to the other buttons that are similar, like GetAPBToken?

Side note on this style button, we've used this a lot in the designs. At what point do we want to abstract it out into an ExternalLinkButton?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

buttonS is actually the default so the Typography tag here was unnecessary and I removed it.

And for the second Q I created #1140, that would be a good cleanup.

@drewcook drewcook merged commit aa250ed into feat/graph-improvements Sep 16, 2022
@drewcook drewcook deleted the feat/add-interest-rate-strategy-link branch September 16, 2022 16:15
drewcook added a commit that referenced this pull request Sep 27, 2022
* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
grothem added a commit that referenced this pull request Sep 27, 2022
* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
grothem added a commit that referenced this pull request Sep 27, 2022
* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
grothem added a commit that referenced this pull request Sep 27, 2022
* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
defispartan added a commit that referenced this pull request Sep 28, 2022
* feat: wip

* feat: wip

* feat: wip

* feat(search):  styled to match designs

* chore: i18n

* feat(search): filter list based on search term

* chore: lint

* feat(search): auto focus on mobile, hide clear button when inactive

* feat(search): search on underlying address

* feat(search): show no results message

* chore: i18n

* feat(search): give input focus on clearing

* refactor: asset list titles

* feat(search): renamed file, cleanup

* feat(search): cleanup

* refactor: moved files

* feat(search): set font size to 16px on mobile to prevent auto zooming

* chore: small cleanup

* feat(search): focus input on clear on mobile, make code consistent

* chore: i18n

* feat(search): adjust no results message for mobile

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore: i18n

* chore: i18n

* refactor: renamed prop

* feat(search): added debounce to the input change handler

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: i18n

* fix: duplicate imports

* chore: i18n

* chore: i18n

Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
grothem added a commit that referenced this pull request Oct 3, 2022
* chore: automated cache update [skip cypress]

* feat: add maticx icons (#1106)

* e2e - refactor  (#1131)

* init commands

* test version with commands without timeouts

* move all methods to CY commands

* fix matic e-mode

* add documentation

* add cy.wait for max amount

Co-authored-by: Nikita Boakrev <[email protected]>

* chore: automated cache update [skip cypress]

* chore: add prettier commands (#1142)

* chore: add prettierignore

* chore: add prettier commands

* chore: add combined linting commands

* chore: run yarn lint:fix

* chore: update lint-staged

* chore: update contributors

* chore: typo

* chore: typos

* chore: add license field

* chore: automated cache update [skip cypress]

* fix: lint-staged (#1145)

* chore: automated cache update [skip cypress]

* feat: refactor frozen warnings (#1141)

* feat: improve frozen warning mappings

* fix: clean up logic and make warnings responsive to frozen status

* fix: trans tag wrapping

* fix: simplify MarketWarning component

* chore: run i18n

* remove fantom market from CI while it frozen

Co-authored-by: Nikita Boakrev <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* feat: removed warnings related to eth borrow being disabled (#1113)

* feat: removed warnings related to eth borrow being disabled

* chore: prettier

* chore: fix missing param

* turn on eth tests

Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>

* feat: add custom error page templates (#1094)

* chore: stub out the minimal error pages

* feat: add custom 404 page

* chore: i18n

* chore: add 500 page

* chore: cleanup

* chore: remove img from 500

* chore: use native img tag

* chore: add light/dark mode graphics

* chore: more UI updates

* chore: 500 page ideas

* chore: 500 error updates

* chore: test error boundary component in prod

* chore: ignore for build (temp)

* chore: remove error boundary component

* chore: style updates

* chore: remove throw

* chore: merge branch 'main' into feat/error-pages

* chore: use lint-staged pre-commit

* fix: build fix

* chore: post-merge cleanup

* chore: post-merge cleanup

* chore(i18n): synchronize translations from crowdin [skip cypress]

* feat: warn about governance in borrow modal (#999)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* fix: btc.b symbol (#1152)

* fix-tests (#1159)

Co-authored-by: Nikita Boakrev <[email protected]>

* fix: use correct blocktime (#1147)

* fix: change item name (#1148)

* chore: automated cache update [skip cypress]

* chore: sort imports (#1127)

Co-authored-by: Drew Cook <[email protected]>

* chore: revise contributing doc and PR template (#1158)

* chore: update contributing doc

* chore: lint

* chore: add default PR template + labels

* chore: move to be used as default

* chore: lowercase labels

* fix: typo

* chore: add project, remove frontmatter from pr template

* chore: projects fix

* chore: remove projects from frontmatter

* chore: update fork link

* chore: use js code block

* feat: add in wallet fork config section

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: add @lidofinance/web3-ledgerhq-frame-connector (#1157)

* fix: debt ceiling wording (#1171)

* fix: tooltip wording

* fix: use correct warning component and sort imports

* chore: run i18n

Co-authored-by: Drew Cook <[email protected]>

* feat: market search (#1174)

* feat: wip

* feat: wip

* feat: wip

* feat(search):  styled to match designs

* chore: i18n

* feat(search): filter list based on search term

* chore: lint

* feat(search): auto focus on mobile, hide clear button when inactive

* feat(search): search on underlying address

* feat(search): show no results message

* chore: i18n

* feat(search): give input focus on clearing

* refactor: asset list titles

* feat(search): renamed file, cleanup

* feat(search): cleanup

* refactor: moved files

* feat(search): set font size to 16px on mobile to prevent auto zooming

* chore: small cleanup

* feat(search): focus input on clear on mobile, make code consistent

* chore: i18n

* feat(search): adjust no results message for mobile

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore: i18n

* chore: i18n

* refactor: renamed prop

* feat(search): added debounce to the input change handler

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: i18n

* fix: duplicate imports

* chore: i18n

* chore: i18n

Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>

* chore: automated cache update [skip cypress]

* chore: lint and pre-commit updates (#1169)

* chore: order imports

* chore: add files from i18n in pre-commit

Co-authored-by: Drew Cook <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: use a fallback IPFS gateway for dynamic proposals (#1182)

* chore: use a fallback IPFS gateway for dynamic proposals

* fix: typo

* fix: lint (#1185)

* chore: update 404 image (#1184)

* chore: update 404 image

* chore: remove-brackets

* fix tests

Co-authored-by: Nikita Boakrev <[email protected]>

* feat: add watch mode only wallet address (#1178)

* feat(WalletWidget): added Alert component

* feat(mockWalletAddressContext): added mockWalletAddressContext

* feat(WalletSelector): added input to wallet selector for mock address

* feat(WatchOnlyModeTooltip): added WatchOnlyMode tooltip

* feat(WalletSelector): use web3 context for set mock adddress

* chore(WalletWidget): removed console log

* feat(WalletWidget): added warning icon

* chore: updated message.js

* chore: updated message.js

* feat(Web3Provider): updated condition to render Wallet Modal

* feat(TxActionsWrapper): render warning text when using mockAddress

* chore: updated messages

* feat(WalletSelector): use utils to check if mock address is valid

* feat(TxActionsWrapper): disabled button if mockAddress is present

* chore: updated message.js

* feat: do not render ChangeNetworkWarning when mockAddress is present

* feat(WalletWidget): added buttons to switch network and disconnect

* feat(WalletWidget): adjusted margin

* chore(WalletWidget): removed Disconnect Wallet button

* chore: removed temp value for max amount to borrow

* chore: updated messages.po

* chore: updated markdown to trigger git delta

* chore: reverted changes to Code of Conduct md

* chore: updated message.js

* chore: unimport WatchOnlyModeToolTip to ensure message.js is updated

* chore(cypress.config): removed eslint-disable

* chore(WalletSelector): re-import WatchOnlyModeToolTip

* feat(WalletWidget): set wallet widget to close when clicking switch wallet

* feat(Web3Provider): when connect wallet, check and remove mock address

* feat: if mockAddress is present, do not render approval help text and button

* feat: on mobile, if mockAddress is present, render Close menu icon

* feat(WalletWidget): update styling for warning text in mobile

* feat(WalletWidget): on mobile, render CTAs at list buttom

* feat(WalletWidget): add color styling to CTAs

* feat(WalletWidget): styling for avatar icon on mobile

* chore: updated message.js

* feat(WalletWidget): update styling for warning icon background

* feat(WalletWidget): use hideWalletAccountText variable to determine mockAddress styling

* chore(WalletWidget): removed un-used improt

* feat(WalletWidget): fine-tune warning icon color

* feat(WalletWidget): updated styling to background and CTA buttons

* feat(WalletWidget): added Divider

* chore(WalletWidget): updated copy

* feat(WalletSelector): use fullWifth props for button

* feat(WalletSelector): use fullWidfth props for input

* feat(WatchOnlyModeTooltip): re-named component with correct casing

* feat(WalletSelector): added boolean state to check for valid address error

* feat(WalletWidget): added handle switch wallet method

* chore: updated messages.js

* chore: code style changes

* update tests

* fix: use proper app header color

* fix: prevent auto zoom on mobile on watch address input

* test: don't set a watch wallet in cypress tests

* feat: wrap in form to allow input by pressing enter

* feat: add support for watching ens names

* feat: add ENS to placeholder text

* feat: enable watch button for ens inputs

* chore: use proper submit button for form

* chore: sx styles

* fix tests

Co-authored-by: matthew.lau <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: use gateway retry logic anywhere we fetch ipfs data (#1186)

* fix: swap ipfs gateway

* fix: replace pinata gateway with ipfs one

* fix: use retry logic anywhere we try to get proposal from ipfs

* fix: remove unused param

* chore: add JSDoc comments

Co-authored-by: Drew Cook <[email protected]>

* fix: lint

Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>
defispartan added a commit that referenced this pull request Oct 11, 2022
* fix: repay type select styling

* fix: remove repay with collateral warning

* feat: add slippage components

* feat: add slippage select to tx modal

* feat: update asset input styling

* feat: redesign repay with collateral modal

* run i18n

* removed psp warning

* fix: paraswap icon

* fix: input box alignment

* feat: add price impact tooltip

* fix: slippage select styling

* fix: update collateral repay modal styling

* fix: don't allow frozen assets to be used as collateral repay

* fix: match toggle button style from repay modal

* fix: match bridge and faucet button styles with emode button

* feat: update collateral swap modal up to design specs

* chore: run i18n

* fix: handle collateral balance being less than the debt amount when trying to repay

* Automated cache update [skip cypress]

* Automated cache update [skip cypress]

* Automated cache update [skip cypress]

* fix: remove weird stuff (#958)

* fix: switch default env from staging to prod (#961)

* fix: default env from staging to prod

* feat: update env setup in CONTIRUBTING.md

* fix: token click area (#963)

* fix: token click area

* fix: update some ui and build deps

* fix: update babel loader

* cleanup: remove caching service for stake (#937)

* cleanup: remove caching service for stake

* fix: remove unused var

* fix: Use selected slippage when getting swap parameters instead of hard coded 1%

* fix: handle repay collateral amount being less than the debt amount

* chore: i18n

* fix: reverting changes, matching latest design

* fix: remove exluded dexes for testing

* fix: remove console log

* fix: don't exclude any pools from paraswap

* chore: i18n

* fix: show correct asset name in collateral repay actions when approving

* feat: wip

* feat: wip

* feat: wip

* feat: separate component for tx details

* feat: continuing with design updates

* chore: run i18n

* feat: add supply balances after swap section

* feat: refactor collateral repay

* feat: update warning text

* fix: warning styling

* chore: i18n

* chore: i18n

* chore: i18n

* fix: reset state when no there is invalid swap data

* fix: remove console log

* fix: added change handler back in so we can reset the state on asset change

* fix: console logs

* fix: cleanup swap/repay

* feat: refactor swap and repay logic

feat: refactor swap logic

* chore: merge main (#1194)

* chore: automated cache update [skip cypress]

* feat: add maticx icons (#1106)

* e2e - refactor  (#1131)

* init commands

* test version with commands without timeouts

* move all methods to CY commands

* fix matic e-mode

* add documentation

* add cy.wait for max amount

Co-authored-by: Nikita Boakrev <[email protected]>

* chore: automated cache update [skip cypress]

* chore: add prettier commands (#1142)

* chore: add prettierignore

* chore: add prettier commands

* chore: add combined linting commands

* chore: run yarn lint:fix

* chore: update lint-staged

* chore: update contributors

* chore: typo

* chore: typos

* chore: add license field

* chore: automated cache update [skip cypress]

* fix: lint-staged (#1145)

* chore: automated cache update [skip cypress]

* feat: refactor frozen warnings (#1141)

* feat: improve frozen warning mappings

* fix: clean up logic and make warnings responsive to frozen status

* fix: trans tag wrapping

* fix: simplify MarketWarning component

* chore: run i18n

* remove fantom market from CI while it frozen

Co-authored-by: Nikita Boakrev <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* feat: removed warnings related to eth borrow being disabled (#1113)

* feat: removed warnings related to eth borrow being disabled

* chore: prettier

* chore: fix missing param

* turn on eth tests

Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>

* feat: add custom error page templates (#1094)

* chore: stub out the minimal error pages

* feat: add custom 404 page

* chore: i18n

* chore: add 500 page

* chore: cleanup

* chore: remove img from 500

* chore: use native img tag

* chore: add light/dark mode graphics

* chore: more UI updates

* chore: 500 page ideas

* chore: 500 error updates

* chore: test error boundary component in prod

* chore: ignore for build (temp)

* chore: remove error boundary component

* chore: style updates

* chore: remove throw

* chore: merge branch 'main' into feat/error-pages

* chore: use lint-staged pre-commit

* fix: build fix

* chore: post-merge cleanup

* chore: post-merge cleanup

* chore(i18n): synchronize translations from crowdin [skip cypress]

* feat: warn about governance in borrow modal (#999)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* fix: btc.b symbol (#1152)

* fix-tests (#1159)

Co-authored-by: Nikita Boakrev <[email protected]>

* fix: use correct blocktime (#1147)

* fix: change item name (#1148)

* chore: automated cache update [skip cypress]

* chore: sort imports (#1127)

Co-authored-by: Drew Cook <[email protected]>

* chore: revise contributing doc and PR template (#1158)

* chore: update contributing doc

* chore: lint

* chore: add default PR template + labels

* chore: move to be used as default

* chore: lowercase labels

* fix: typo

* chore: add project, remove frontmatter from pr template

* chore: projects fix

* chore: remove projects from frontmatter

* chore: update fork link

* chore: use js code block

* feat: add in wallet fork config section

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: add @lidofinance/web3-ledgerhq-frame-connector (#1157)

* fix: debt ceiling wording (#1171)

* fix: tooltip wording

* fix: use correct warning component and sort imports

* chore: run i18n

Co-authored-by: Drew Cook <[email protected]>

* feat: market search (#1174)

* feat: wip

* feat: wip

* feat: wip

* feat(search):  styled to match designs

* chore: i18n

* feat(search): filter list based on search term

* chore: lint

* feat(search): auto focus on mobile, hide clear button when inactive

* feat(search): search on underlying address

* feat(search): show no results message

* chore: i18n

* feat(search): give input focus on clearing

* refactor: asset list titles

* feat(search): renamed file, cleanup

* feat(search): cleanup

* refactor: moved files

* feat(search): set font size to 16px on mobile to prevent auto zooming

* chore: small cleanup

* feat(search): focus input on clear on mobile, make code consistent

* chore: i18n

* feat(search): adjust no results message for mobile

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore: i18n

* chore: i18n

* refactor: renamed prop

* feat(search): added debounce to the input change handler

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: i18n

* fix: duplicate imports

* chore: i18n

* chore: i18n

Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>

* chore: automated cache update [skip cypress]

* chore: lint and pre-commit updates (#1169)

* chore: order imports

* chore: add files from i18n in pre-commit

Co-authored-by: Drew Cook <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: use a fallback IPFS gateway for dynamic proposals (#1182)

* chore: use a fallback IPFS gateway for dynamic proposals

* fix: typo

* fix: lint (#1185)

* chore: update 404 image (#1184)

* chore: update 404 image

* chore: remove-brackets

* fix tests

Co-authored-by: Nikita Boakrev <[email protected]>

* feat: add watch mode only wallet address (#1178)

* feat(WalletWidget): added Alert component

* feat(mockWalletAddressContext): added mockWalletAddressContext

* feat(WalletSelector): added input to wallet selector for mock address

* feat(WatchOnlyModeTooltip): added WatchOnlyMode tooltip

* feat(WalletSelector): use web3 context for set mock adddress

* chore(WalletWidget): removed console log

* feat(WalletWidget): added warning icon

* chore: updated message.js

* chore: updated message.js

* feat(Web3Provider): updated condition to render Wallet Modal

* feat(TxActionsWrapper): render warning text when using mockAddress

* chore: updated messages

* feat(WalletSelector): use utils to check if mock address is valid

* feat(TxActionsWrapper): disabled button if mockAddress is present

* chore: updated message.js

* feat: do not render ChangeNetworkWarning when mockAddress is present

* feat(WalletWidget): added buttons to switch network and disconnect

* feat(WalletWidget): adjusted margin

* chore(WalletWidget): removed Disconnect Wallet button

* chore: removed temp value for max amount to borrow

* chore: updated messages.po

* chore: updated markdown to trigger git delta

* chore: reverted changes to Code of Conduct md

* chore: updated message.js

* chore: unimport WatchOnlyModeToolTip to ensure message.js is updated

* chore(cypress.config): removed eslint-disable

* chore(WalletSelector): re-import WatchOnlyModeToolTip

* feat(WalletWidget): set wallet widget to close when clicking switch wallet

* feat(Web3Provider): when connect wallet, check and remove mock address

* feat: if mockAddress is present, do not render approval help text and button

* feat: on mobile, if mockAddress is present, render Close menu icon

* feat(WalletWidget): update styling for warning text in mobile

* feat(WalletWidget): on mobile, render CTAs at list buttom

* feat(WalletWidget): add color styling to CTAs

* feat(WalletWidget): styling for avatar icon on mobile

* chore: updated message.js

* feat(WalletWidget): update styling for warning icon background

* feat(WalletWidget): use hideWalletAccountText variable to determine mockAddress styling

* chore(WalletWidget): removed un-used improt

* feat(WalletWidget): fine-tune warning icon color

* feat(WalletWidget): updated styling to background and CTA buttons

* feat(WalletWidget): added Divider

* chore(WalletWidget): updated copy

* feat(WalletSelector): use fullWifth props for button

* feat(WalletSelector): use fullWidfth props for input

* feat(WatchOnlyModeTooltip): re-named component with correct casing

* feat(WalletSelector): added boolean state to check for valid address error

* feat(WalletWidget): added handle switch wallet method

* chore: updated messages.js

* chore: code style changes

* update tests

* fix: use proper app header color

* fix: prevent auto zoom on mobile on watch address input

* test: don't set a watch wallet in cypress tests

* feat: wrap in form to allow input by pressing enter

* feat: add support for watching ens names

* feat: add ENS to placeholder text

* feat: enable watch button for ens inputs

* chore: use proper submit button for form

* chore: sx styles

* fix tests

Co-authored-by: matthew.lau <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: use gateway retry logic anywhere we fetch ipfs data (#1186)

* fix: swap ipfs gateway

* fix: replace pinata gateway with ipfs one

* fix: use retry logic anywhere we try to get proposal from ipfs

* fix: remove unused param

* chore: add JSDoc comments

Co-authored-by: Drew Cook <[email protected]>

* fix: lint

Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>

* fix: ui polish for 'exactIn'  swap case

* refactor: swap and collateral repay hooks

* chore: added jsdoc comments

* fix: make sure input amount is valid, set correct slippage on swap

* fix: error handling

* fix: clean up merge files

* fix: clean up merge files

Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>
defispartan added a commit that referenced this pull request Dec 14, 2022
* feat: paraswap feature updates (#1218)

* fix: repay type select styling

* fix: remove repay with collateral warning

* feat: add slippage components

* feat: add slippage select to tx modal

* feat: update asset input styling

* feat: redesign repay with collateral modal

* run i18n

* removed psp warning

* fix: paraswap icon

* fix: input box alignment

* feat: add price impact tooltip

* fix: slippage select styling

* fix: update collateral repay modal styling

* fix: don't allow frozen assets to be used as collateral repay

* fix: match toggle button style from repay modal

* fix: match bridge and faucet button styles with emode button

* feat: update collateral swap modal up to design specs

* chore: run i18n

* fix: handle collateral balance being less than the debt amount when trying to repay

* Automated cache update [skip cypress]

* Automated cache update [skip cypress]

* Automated cache update [skip cypress]

* fix: remove weird stuff (#958)

* fix: switch default env from staging to prod (#961)

* fix: default env from staging to prod

* feat: update env setup in CONTIRUBTING.md

* fix: token click area (#963)

* fix: token click area

* fix: update some ui and build deps

* fix: update babel loader

* cleanup: remove caching service for stake (#937)

* cleanup: remove caching service for stake

* fix: remove unused var

* fix: Use selected slippage when getting swap parameters instead of hard coded 1%

* fix: handle repay collateral amount being less than the debt amount

* chore: i18n

* fix: reverting changes, matching latest design

* fix: remove exluded dexes for testing

* fix: remove console log

* fix: don't exclude any pools from paraswap

* chore: i18n

* fix: show correct asset name in collateral repay actions when approving

* feat: wip

* feat: wip

* feat: wip

* feat: separate component for tx details

* feat: continuing with design updates

* chore: run i18n

* feat: add supply balances after swap section

* feat: refactor collateral repay

* feat: update warning text

* fix: warning styling

* chore: i18n

* chore: i18n

* chore: i18n

* fix: reset state when no there is invalid swap data

* fix: remove console log

* fix: added change handler back in so we can reset the state on asset change

* fix: console logs

* fix: cleanup swap/repay

* feat: refactor swap and repay logic

feat: refactor swap logic

* chore: merge main (#1194)

* chore: automated cache update [skip cypress]

* feat: add maticx icons (#1106)

* e2e - refactor  (#1131)

* init commands

* test version with commands without timeouts

* move all methods to CY commands

* fix matic e-mode

* add documentation

* add cy.wait for max amount

Co-authored-by: Nikita Boakrev <[email protected]>

* chore: automated cache update [skip cypress]

* chore: add prettier commands (#1142)

* chore: add prettierignore

* chore: add prettier commands

* chore: add combined linting commands

* chore: run yarn lint:fix

* chore: update lint-staged

* chore: update contributors

* chore: typo

* chore: typos

* chore: add license field

* chore: automated cache update [skip cypress]

* fix: lint-staged (#1145)

* chore: automated cache update [skip cypress]

* feat: refactor frozen warnings (#1141)

* feat: improve frozen warning mappings

* fix: clean up logic and make warnings responsive to frozen status

* fix: trans tag wrapping

* fix: simplify MarketWarning component

* chore: run i18n

* remove fantom market from CI while it frozen

Co-authored-by: Nikita Boakrev <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* feat: removed warnings related to eth borrow being disabled (#1113)

* feat: removed warnings related to eth borrow being disabled

* chore: prettier

* chore: fix missing param

* turn on eth tests

Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>

* feat: add custom error page templates (#1094)

* chore: stub out the minimal error pages

* feat: add custom 404 page

* chore: i18n

* chore: add 500 page

* chore: cleanup

* chore: remove img from 500

* chore: use native img tag

* chore: add light/dark mode graphics

* chore: more UI updates

* chore: 500 page ideas

* chore: 500 error updates

* chore: test error boundary component in prod

* chore: ignore for build (temp)

* chore: remove error boundary component

* chore: style updates

* chore: remove throw

* chore: merge branch 'main' into feat/error-pages

* chore: use lint-staged pre-commit

* fix: build fix

* chore: post-merge cleanup

* chore: post-merge cleanup

* chore(i18n): synchronize translations from crowdin [skip cypress]

* feat: warn about governance in borrow modal (#999)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* fix: btc.b symbol (#1152)

* fix-tests (#1159)

Co-authored-by: Nikita Boakrev <[email protected]>

* fix: use correct blocktime (#1147)

* fix: change item name (#1148)

* chore: automated cache update [skip cypress]

* chore: sort imports (#1127)

Co-authored-by: Drew Cook <[email protected]>

* chore: revise contributing doc and PR template (#1158)

* chore: update contributing doc

* chore: lint

* chore: add default PR template + labels

* chore: move to be used as default

* chore: lowercase labels

* fix: typo

* chore: add project, remove frontmatter from pr template

* chore: projects fix

* chore: remove projects from frontmatter

* chore: update fork link

* chore: use js code block

* feat: add in wallet fork config section

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: add @lidofinance/web3-ledgerhq-frame-connector (#1157)

* fix: debt ceiling wording (#1171)

* fix: tooltip wording

* fix: use correct warning component and sort imports

* chore: run i18n

Co-authored-by: Drew Cook <[email protected]>

* feat: market search (#1174)

* feat: wip

* feat: wip

* feat: wip

* feat(search):  styled to match designs

* chore: i18n

* feat(search): filter list based on search term

* chore: lint

* feat(search): auto focus on mobile, hide clear button when inactive

* feat(search): search on underlying address

* feat(search): show no results message

* chore: i18n

* feat(search): give input focus on clearing

* refactor: asset list titles

* feat(search): renamed file, cleanup

* feat(search): cleanup

* refactor: moved files

* feat(search): set font size to 16px on mobile to prevent auto zooming

* chore: small cleanup

* feat(search): focus input on clear on mobile, make code consistent

* chore: i18n

* feat(search): adjust no results message for mobile

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore: i18n

* chore: i18n

* refactor: renamed prop

* feat(search): added debounce to the input change handler

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: i18n

* fix: duplicate imports

* chore: i18n

* chore: i18n

Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>

* chore: automated cache update [skip cypress]

* chore: lint and pre-commit updates (#1169)

* chore: order imports

* chore: add files from i18n in pre-commit

Co-authored-by: Drew Cook <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: use a fallback IPFS gateway for dynamic proposals (#1182)

* chore: use a fallback IPFS gateway for dynamic proposals

* fix: typo

* fix: lint (#1185)

* chore: update 404 image (#1184)

* chore: update 404 image

* chore: remove-brackets

* fix tests

Co-authored-by: Nikita Boakrev <[email protected]>

* feat: add watch mode only wallet address (#1178)

* feat(WalletWidget): added Alert component

* feat(mockWalletAddressContext): added mockWalletAddressContext

* feat(WalletSelector): added input to wallet selector for mock address

* feat(WatchOnlyModeTooltip): added WatchOnlyMode tooltip

* feat(WalletSelector): use web3 context for set mock adddress

* chore(WalletWidget): removed console log

* feat(WalletWidget): added warning icon

* chore: updated message.js

* chore: updated message.js

* feat(Web3Provider): updated condition to render Wallet Modal

* feat(TxActionsWrapper): render warning text when using mockAddress

* chore: updated messages

* feat(WalletSelector): use utils to check if mock address is valid

* feat(TxActionsWrapper): disabled button if mockAddress is present

* chore: updated message.js

* feat: do not render ChangeNetworkWarning when mockAddress is present

* feat(WalletWidget): added buttons to switch network and disconnect

* feat(WalletWidget): adjusted margin

* chore(WalletWidget): removed Disconnect Wallet button

* chore: removed temp value for max amount to borrow

* chore: updated messages.po

* chore: updated markdown to trigger git delta

* chore: reverted changes to Code of Conduct md

* chore: updated message.js

* chore: unimport WatchOnlyModeToolTip to ensure message.js is updated

* chore(cypress.config): removed eslint-disable

* chore(WalletSelector): re-import WatchOnlyModeToolTip

* feat(WalletWidget): set wallet widget to close when clicking switch wallet

* feat(Web3Provider): when connect wallet, check and remove mock address

* feat: if mockAddress is present, do not render approval help text and button

* feat: on mobile, if mockAddress is present, render Close menu icon

* feat(WalletWidget): update styling for warning text in mobile

* feat(WalletWidget): on mobile, render CTAs at list buttom

* feat(WalletWidget): add color styling to CTAs

* feat(WalletWidget): styling for avatar icon on mobile

* chore: updated message.js

* feat(WalletWidget): update styling for warning icon background

* feat(WalletWidget): use hideWalletAccountText variable to determine mockAddress styling

* chore(WalletWidget): removed un-used improt

* feat(WalletWidget): fine-tune warning icon color

* feat(WalletWidget): updated styling to background and CTA buttons

* feat(WalletWidget): added Divider

* chore(WalletWidget): updated copy

* feat(WalletSelector): use fullWifth props for button

* feat(WalletSelector): use fullWidfth props for input

* feat(WatchOnlyModeTooltip): re-named component with correct casing

* feat(WalletSelector): added boolean state to check for valid address error

* feat(WalletWidget): added handle switch wallet method

* chore: updated messages.js

* chore: code style changes

* update tests

* fix: use proper app header color

* fix: prevent auto zoom on mobile on watch address input

* test: don't set a watch wallet in cypress tests

* feat: wrap in form to allow input by pressing enter

* feat: add support for watching ens names

* feat: add ENS to placeholder text

* feat: enable watch button for ens inputs

* chore: use proper submit button for form

* chore: sx styles

* fix tests

Co-authored-by: matthew.lau <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: use gateway retry logic anywhere we fetch ipfs data (#1186)

* fix: swap ipfs gateway

* fix: replace pinata gateway with ipfs one

* fix: use retry logic anywhere we try to get proposal from ipfs

* fix: remove unused param

* chore: add JSDoc comments

Co-authored-by: Drew Cook <[email protected]>

* fix: lint

Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>

* fix: ui polish for 'exactIn'  swap case

* refactor: swap and collateral repay hooks

* chore: added jsdoc comments

* fix: make sure input amount is valid, set correct slippage on swap

* fix: error handling

* fix: clean up merge files

* fix: clean up merge files

Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>

* feat: re-add missing tooltips

* feat: handle swapping to asset with no incentives

* feat: include collateral repay tests

* chore: automated cache update [skip cypress]

* chore: add aip end date (#1220)

* chore: add aip end date

* chore: update date format for AIP dates

* chore: clean up from feedback

* chore: remove typography double tags

* chore: fix hasexpired logic

* chore: fix ternary

Co-authored-by: Andrew Schmidt <[email protected]>

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* Add label with fork pr pipeline result (#1108)

* Labeling step

Added step to the pipeline so it will use the new action to add the pipeline end status to the pr as a label.

* Added labeling action

Added action to add label to the fork pr with the pipeline result.

* checkout version

setting checkout version as it was

* Change label content

Changed labels content added

* Change actions version

Changed actions to add label from v1 to commit_sha to make it immutable

* Add token

Add token manually to be sure it doesn't get error.

* Add token

Added token to the action to assure it won't become an error later on (As of previous tests, in private repository, it didn't need the token as it took it manually, but in recent tests it gave error because it cannot find it)

* chore: automated cache update [skip cypress]

* feat: v3 rate history (#1210)

* feat: enable rate history endpoint on v3 markets

* feat: modify rate history queries for v3 endpoint schema

* fix: unused import

* feat: testing new deployment with indexing fixes

* feat: update to production endpoint

* chore(deps): bump @mui/material from 5.10.8 to 5.10.9 (#1235)

Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.10.8 to 5.10.9.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.10.9/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @aave/contract-helpers from 1.5.1 to 1.7.1 (#1236)

Bumps [@aave/contract-helpers](https://github.com/aave/aave-utilities) from 1.5.1 to 1.7.1.
- [Release notes](https://github.com/aave/aave-utilities/releases)
- [Commits](https://github.com/aave/aave-utilities/compare/@aave/[email protected]...@aave/[email protected])

---
updated-dependencies:
- dependency-name: "@aave/contract-helpers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: make IPFS pin failures more visible (#1240)

* chore: automated cache update [skip cypress]

* fix: graph initial load error (#1241)

* fix: fixed dependencies to prevent unecessary re-fetch

* chore: prettier

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: use correct aave price on amm market (#1245)

* chore: automated cache update [skip cypress]

* chore: bump utils (#1248)

* chore: bump utilities

* chore: support default value for faucet mints

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: factor supply apy in on exact in and normalize the returned amount

* feat: add skeleton state to price impact

* feat: add loading state to asset input

* feat: add skeleton state to transaction details

* feat: apply loading states to collateral swap

* feat: apply loading states to repay with collateral

* chore: i18n

* feat: add fetching data button state

* fix: collateral tests for avalanche

* fix: calculation for collateral amount required to cover debt

* fix: show usd value when using exactIn logic

* chore: merge

* fix: remove unused prop

* fix: amount after repay usd

* fix: paraswap route blacklist (#1297)

* feat: separate hook for paraswap getRate

* feat: use rate hook in place of transaction in display components

* feat: separate slice function for building only approval tx for paraswap features

* feat: separate transaction hook for paraswap to buildTx at final step

* chore: remove tx params/function calls from paraswap hooks

* feat: use paraswap transaction hook in repay with collateral and collateral swap

* chore: remove unecessary deps from paraswap hooks

* fix: approval and action loading in Paraswap hook

* fix: skip broken tests

* fix: enable skiped test

* chore: simplify approval transactions for paraswap

* fix: success states

* refactor: paraswap cleanup (#1338)

* refactor: paraswap hooks and util functions

* chore: lint

* fix: set default values to zero

* fix: enable swap/repay buttons on error so user can retry

Co-authored-by: NikitaY <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>

* fix: adjusted early exit condition

* fix: don't refetch route on error

* fix: handle initial loading of route, removed min received calc from swap modal component

* fix: minor cleanup

* fix: show paraswap errors in repay modal

* fix: design updates

* fix: don't refetch route on a timer

* fix: use flash loan

* fix: handle gas estimation and error states

* fix: code review comments

* test(fix): fix e-mode for polygon

* fix: cleanup from review comments

* fix: render issue

* chore: bump utils

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>
Co-authored-by: marcPineiroAave <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Yumatov <[email protected]>
grothem added a commit that referenced this pull request Dec 16, 2022
* feat: paraswap feature updates (#1218)

* fix: repay type select styling

* fix: remove repay with collateral warning

* feat: add slippage components

* feat: add slippage select to tx modal

* feat: update asset input styling

* feat: redesign repay with collateral modal

* run i18n

* removed psp warning

* fix: paraswap icon

* fix: input box alignment

* feat: add price impact tooltip

* fix: slippage select styling

* fix: update collateral repay modal styling

* fix: don't allow frozen assets to be used as collateral repay

* fix: match toggle button style from repay modal

* fix: match bridge and faucet button styles with emode button

* feat: update collateral swap modal up to design specs

* chore: run i18n

* fix: handle collateral balance being less than the debt amount when trying to repay

* Automated cache update [skip cypress]

* Automated cache update [skip cypress]

* Automated cache update [skip cypress]

* fix: remove weird stuff (#958)

* fix: switch default env from staging to prod (#961)

* fix: default env from staging to prod

* feat: update env setup in CONTIRUBTING.md

* fix: token click area (#963)

* fix: token click area

* fix: update some ui and build deps

* fix: update babel loader

* cleanup: remove caching service for stake (#937)

* cleanup: remove caching service for stake

* fix: remove unused var

* fix: Use selected slippage when getting swap parameters instead of hard coded 1%

* fix: handle repay collateral amount being less than the debt amount

* chore: i18n

* fix: reverting changes, matching latest design

* fix: remove exluded dexes for testing

* fix: remove console log

* fix: don't exclude any pools from paraswap

* chore: i18n

* fix: show correct asset name in collateral repay actions when approving

* feat: wip

* feat: wip

* feat: wip

* feat: separate component for tx details

* feat: continuing with design updates

* chore: run i18n

* feat: add supply balances after swap section

* feat: refactor collateral repay

* feat: update warning text

* fix: warning styling

* chore: i18n

* chore: i18n

* chore: i18n

* fix: reset state when no there is invalid swap data

* fix: remove console log

* fix: added change handler back in so we can reset the state on asset change

* fix: console logs

* fix: cleanup swap/repay

* feat: refactor swap and repay logic

feat: refactor swap logic

* chore: merge main (#1194)

* chore: automated cache update [skip cypress]

* feat: add maticx icons (#1106)

* e2e - refactor  (#1131)

* init commands

* test version with commands without timeouts

* move all methods to CY commands

* fix matic e-mode

* add documentation

* add cy.wait for max amount

Co-authored-by: Nikita Boakrev <[email protected]>

* chore: automated cache update [skip cypress]

* chore: add prettier commands (#1142)

* chore: add prettierignore

* chore: add prettier commands

* chore: add combined linting commands

* chore: run yarn lint:fix

* chore: update lint-staged

* chore: update contributors

* chore: typo

* chore: typos

* chore: add license field

* chore: automated cache update [skip cypress]

* fix: lint-staged (#1145)

* chore: automated cache update [skip cypress]

* feat: refactor frozen warnings (#1141)

* feat: improve frozen warning mappings

* fix: clean up logic and make warnings responsive to frozen status

* fix: trans tag wrapping

* fix: simplify MarketWarning component

* chore: run i18n

* remove fantom market from CI while it frozen

Co-authored-by: Nikita Boakrev <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* feat: removed warnings related to eth borrow being disabled (#1113)

* feat: removed warnings related to eth borrow being disabled

* chore: prettier

* chore: fix missing param

* turn on eth tests

Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>

* feat: add custom error page templates (#1094)

* chore: stub out the minimal error pages

* feat: add custom 404 page

* chore: i18n

* chore: add 500 page

* chore: cleanup

* chore: remove img from 500

* chore: use native img tag

* chore: add light/dark mode graphics

* chore: more UI updates

* chore: 500 page ideas

* chore: 500 error updates

* chore: test error boundary component in prod

* chore: ignore for build (temp)

* chore: remove error boundary component

* chore: style updates

* chore: remove throw

* chore: merge branch 'main' into feat/error-pages

* chore: use lint-staged pre-commit

* fix: build fix

* chore: post-merge cleanup

* chore: post-merge cleanup

* chore(i18n): synchronize translations from crowdin [skip cypress]

* feat: warn about governance in borrow modal (#999)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* fix: btc.b symbol (#1152)

* fix-tests (#1159)

Co-authored-by: Nikita Boakrev <[email protected]>

* fix: use correct blocktime (#1147)

* fix: change item name (#1148)

* chore: automated cache update [skip cypress]

* chore: sort imports (#1127)

Co-authored-by: Drew Cook <[email protected]>

* chore: revise contributing doc and PR template (#1158)

* chore: update contributing doc

* chore: lint

* chore: add default PR template + labels

* chore: move to be used as default

* chore: lowercase labels

* fix: typo

* chore: add project, remove frontmatter from pr template

* chore: projects fix

* chore: remove projects from frontmatter

* chore: update fork link

* chore: use js code block

* feat: add in wallet fork config section

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: add @lidofinance/web3-ledgerhq-frame-connector (#1157)

* fix: debt ceiling wording (#1171)

* fix: tooltip wording

* fix: use correct warning component and sort imports

* chore: run i18n

Co-authored-by: Drew Cook <[email protected]>

* feat: market search (#1174)

* feat: wip

* feat: wip

* feat: wip

* feat(search):  styled to match designs

* chore: i18n

* feat(search): filter list based on search term

* chore: lint

* feat(search): auto focus on mobile, hide clear button when inactive

* feat(search): search on underlying address

* feat(search): show no results message

* chore: i18n

* feat(search): give input focus on clearing

* refactor: asset list titles

* feat(search): renamed file, cleanup

* feat(search): cleanup

* refactor: moved files

* feat(search): set font size to 16px on mobile to prevent auto zooming

* chore: small cleanup

* feat(search): focus input on clear on mobile, make code consistent

* chore: i18n

* feat(search): adjust no results message for mobile

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore: i18n

* chore: i18n

* refactor: renamed prop

* feat(search): added debounce to the input change handler

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: i18n

* fix: duplicate imports

* chore: i18n

* chore: i18n

Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>

* chore: automated cache update [skip cypress]

* chore: lint and pre-commit updates (#1169)

* chore: order imports

* chore: add files from i18n in pre-commit

Co-authored-by: Drew Cook <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: use a fallback IPFS gateway for dynamic proposals (#1182)

* chore: use a fallback IPFS gateway for dynamic proposals

* fix: typo

* fix: lint (#1185)

* chore: update 404 image (#1184)

* chore: update 404 image

* chore: remove-brackets

* fix tests

Co-authored-by: Nikita Boakrev <[email protected]>

* feat: add watch mode only wallet address (#1178)

* feat(WalletWidget): added Alert component

* feat(mockWalletAddressContext): added mockWalletAddressContext

* feat(WalletSelector): added input to wallet selector for mock address

* feat(WatchOnlyModeTooltip): added WatchOnlyMode tooltip

* feat(WalletSelector): use web3 context for set mock adddress

* chore(WalletWidget): removed console log

* feat(WalletWidget): added warning icon

* chore: updated message.js

* chore: updated message.js

* feat(Web3Provider): updated condition to render Wallet Modal

* feat(TxActionsWrapper): render warning text when using mockAddress

* chore: updated messages

* feat(WalletSelector): use utils to check if mock address is valid

* feat(TxActionsWrapper): disabled button if mockAddress is present

* chore: updated message.js

* feat: do not render ChangeNetworkWarning when mockAddress is present

* feat(WalletWidget): added buttons to switch network and disconnect

* feat(WalletWidget): adjusted margin

* chore(WalletWidget): removed Disconnect Wallet button

* chore: removed temp value for max amount to borrow

* chore: updated messages.po

* chore: updated markdown to trigger git delta

* chore: reverted changes to Code of Conduct md

* chore: updated message.js

* chore: unimport WatchOnlyModeToolTip to ensure message.js is updated

* chore(cypress.config): removed eslint-disable

* chore(WalletSelector): re-import WatchOnlyModeToolTip

* feat(WalletWidget): set wallet widget to close when clicking switch wallet

* feat(Web3Provider): when connect wallet, check and remove mock address

* feat: if mockAddress is present, do not render approval help text and button

* feat: on mobile, if mockAddress is present, render Close menu icon

* feat(WalletWidget): update styling for warning text in mobile

* feat(WalletWidget): on mobile, render CTAs at list buttom

* feat(WalletWidget): add color styling to CTAs

* feat(WalletWidget): styling for avatar icon on mobile

* chore: updated message.js

* feat(WalletWidget): update styling for warning icon background

* feat(WalletWidget): use hideWalletAccountText variable to determine mockAddress styling

* chore(WalletWidget): removed un-used improt

* feat(WalletWidget): fine-tune warning icon color

* feat(WalletWidget): updated styling to background and CTA buttons

* feat(WalletWidget): added Divider

* chore(WalletWidget): updated copy

* feat(WalletSelector): use fullWifth props for button

* feat(WalletSelector): use fullWidfth props for input

* feat(WatchOnlyModeTooltip): re-named component with correct casing

* feat(WalletSelector): added boolean state to check for valid address error

* feat(WalletWidget): added handle switch wallet method

* chore: updated messages.js

* chore: code style changes

* update tests

* fix: use proper app header color

* fix: prevent auto zoom on mobile on watch address input

* test: don't set a watch wallet in cypress tests

* feat: wrap in form to allow input by pressing enter

* feat: add support for watching ens names

* feat: add ENS to placeholder text

* feat: enable watch button for ens inputs

* chore: use proper submit button for form

* chore: sx styles

* fix tests

Co-authored-by: matthew.lau <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: use gateway retry logic anywhere we fetch ipfs data (#1186)

* fix: swap ipfs gateway

* fix: replace pinata gateway with ipfs one

* fix: use retry logic anywhere we try to get proposal from ipfs

* fix: remove unused param

* chore: add JSDoc comments

Co-authored-by: Drew Cook <[email protected]>

* fix: lint

Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Andrew Schmidt <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>

* fix: ui polish for 'exactIn'  swap case

* refactor: swap and collateral repay hooks

* chore: added jsdoc comments

* fix: make sure input amount is valid, set correct slippage on swap

* fix: error handling

* fix: clean up merge files

* fix: clean up merge files

Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>

* feat: re-add missing tooltips

* feat: handle swapping to asset with no incentives

* feat: include collateral repay tests

* chore: automated cache update [skip cypress]

* chore: add aip end date (#1220)

* chore: add aip end date

* chore: update date format for AIP dates

* chore: clean up from feedback

* chore: remove typography double tags

* chore: fix hasexpired logic

* chore: fix ternary

Co-authored-by: Andrew Schmidt <[email protected]>

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* Add label with fork pr pipeline result (#1108)

* Labeling step

Added step to the pipeline so it will use the new action to add the pipeline end status to the pr as a label.

* Added labeling action

Added action to add label to the fork pr with the pipeline result.

* checkout version

setting checkout version as it was

* Change label content

Changed labels content added

* Change actions version

Changed actions to add label from v1 to commit_sha to make it immutable

* Add token

Add token manually to be sure it doesn't get error.

* Add token

Added token to the action to assure it won't become an error later on (As of previous tests, in private repository, it didn't need the token as it took it manually, but in recent tests it gave error because it cannot find it)

* chore: automated cache update [skip cypress]

* feat: v3 rate history (#1210)

* feat: enable rate history endpoint on v3 markets

* feat: modify rate history queries for v3 endpoint schema

* fix: unused import

* feat: testing new deployment with indexing fixes

* feat: update to production endpoint

* chore(deps): bump @mui/material from 5.10.8 to 5.10.9 (#1235)

Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.10.8 to 5.10.9.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.10.9/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @aave/contract-helpers from 1.5.1 to 1.7.1 (#1236)

Bumps [@aave/contract-helpers](https://github.com/aave/aave-utilities) from 1.5.1 to 1.7.1.
- [Release notes](https://github.com/aave/aave-utilities/releases)
- [Commits](https://github.com/aave/aave-utilities/compare/@aave/[email protected]...@aave/[email protected])

---
updated-dependencies:
- dependency-name: "@aave/contract-helpers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: make IPFS pin failures more visible (#1240)

* chore: automated cache update [skip cypress]

* fix: graph initial load error (#1241)

* fix: fixed dependencies to prevent unecessary re-fetch

* chore: prettier

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: use correct aave price on amm market (#1245)

* chore: automated cache update [skip cypress]

* chore: bump utils (#1248)

* chore: bump utilities

* chore: support default value for faucet mints

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: factor supply apy in on exact in and normalize the returned amount

* feat: add skeleton state to price impact

* feat: add loading state to asset input

* feat: add skeleton state to transaction details

* feat: apply loading states to collateral swap

* feat: apply loading states to repay with collateral

* chore: i18n

* feat: add fetching data button state

* fix: collateral tests for avalanche

* fix: calculation for collateral amount required to cover debt

* fix: show usd value when using exactIn logic

* chore: merge

* fix: remove unused prop

* fix: amount after repay usd

* fix: paraswap route blacklist (#1297)

* feat: separate hook for paraswap getRate

* feat: use rate hook in place of transaction in display components

* feat: separate slice function for building only approval tx for paraswap features

* feat: separate transaction hook for paraswap to buildTx at final step

* chore: remove tx params/function calls from paraswap hooks

* feat: use paraswap transaction hook in repay with collateral and collateral swap

* chore: remove unecessary deps from paraswap hooks

* fix: approval and action loading in Paraswap hook

* fix: skip broken tests

* fix: enable skiped test

* chore: simplify approval transactions for paraswap

* fix: success states

* refactor: paraswap cleanup (#1338)

* refactor: paraswap hooks and util functions

* chore: lint

* fix: set default values to zero

* fix: enable swap/repay buttons on error so user can retry

Co-authored-by: NikitaY <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>

* fix: adjusted early exit condition

* fix: don't refetch route on error

* fix: handle initial loading of route, removed min received calc from swap modal component

* fix: minor cleanup

* fix: show paraswap errors in repay modal

* fix: design updates

* fix: don't refetch route on a timer

* fix: use flash loan

* fix: handle gas estimation and error states

* fix: code review comments

* test(fix): fix e-mode for polygon

* fix: cleanup from review comments

* fix: render issue

* chore: bump utils

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Mark Grothe <[email protected]>
Co-authored-by: Cache bot <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Nikita Boakrev <[email protected]>
Co-authored-by: Drew Cook <[email protected]>
Co-authored-by: Crowdin bot <[email protected]>
Co-authored-by: Mark Hinschberger <[email protected]>
Co-authored-by: Jonathan Reem <[email protected]>
Co-authored-by: derasd <[email protected]>
Co-authored-by: slundy-ledger <[email protected]>
Co-authored-by: 0xGraham <[email protected]>
Co-authored-by: matthew.lau <[email protected]>
Co-authored-by: marcPineiroAave <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Yumatov <[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