-
Notifications
You must be signed in to change notification settings - Fork 441
feat: add watch mode only wallet address #1178
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
Merged
Merged
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
f30249b
feat(WalletWidget): added Alert component
MatthewCYLau 071d9f3
feat(mockWalletAddressContext): added mockWalletAddressContext
MatthewCYLau b9cfa76
feat(WalletSelector): added input to wallet selector for mock address
MatthewCYLau 58632a6
feat(WatchOnlyModeTooltip): added WatchOnlyMode tooltip
MatthewCYLau c9022d5
feat(WalletSelector): use web3 context for set mock adddress
MatthewCYLau eac8a37
chore(WalletWidget): removed console log
MatthewCYLau ee9c4c6
chore: merge with latest main
MatthewCYLau 7824af7
feat(WalletWidget): added warning icon
MatthewCYLau 92e0567
chore: updated message.js
MatthewCYLau aa1a46b
chore: update with main
MatthewCYLau c293c3f
chore: updated message.js
MatthewCYLau f57cc68
feat(Web3Provider): updated condition to render Wallet Modal
MatthewCYLau 3a836cc
feat(TxActionsWrapper): render warning text when using mockAddress
MatthewCYLau 87b0d25
chore: updated messages
MatthewCYLau 3c6417a
Merge branch 'main' of https://github.com/MatthewCYLau/interface into…
MatthewCYLau d5bd722
feat(WalletSelector): use utils to check if mock address is valid
MatthewCYLau 89a6dfa
feat(TxActionsWrapper): disabled button if mockAddress is present
MatthewCYLau 9db5194
chore(cypress.config): added eslint ignore
MatthewCYLau 892e62f
chore: updated message.js
MatthewCYLau bb3347f
feat: do not render ChangeNetworkWarning when mockAddress is present
MatthewCYLau 7242db2
feat(WalletWidget): added buttons to switch network and disconnect
MatthewCYLau 64f734c
feat(WalletWidget): adjusted margin
MatthewCYLau b1879d0
chore(WalletWidget): removed Disconnect Wallet button
MatthewCYLau 4c7360e
chore: removed temp value for max amount to borrow
MatthewCYLau 8fd8b89
chore: updated messages.po
MatthewCYLau e770173
Merge branch 'main' of https://github.com/MatthewCYLau/interface into…
MatthewCYLau a7bcecc
chore: updated markdown to trigger git delta
MatthewCYLau 9e1b442
chore: reverted changes to Code of Conduct md
MatthewCYLau 6229651
chore: updated with main
MatthewCYLau a0d9afe
chore: updated message.js
MatthewCYLau 259bc6b
chore: resolved merge conflict
MatthewCYLau eb7a675
chore: unimport WatchOnlyModeToolTip to ensure message.js is updated
MatthewCYLau 0d8b3b4
chore(cypress.config): removed eslint-disable
MatthewCYLau bad5b5d
chore(WalletSelector): re-import WatchOnlyModeToolTip
MatthewCYLau 3b89196
feat(WalletWidget): set wallet widget to close when clicking switch w…
MatthewCYLau dc8b726
feat(Web3Provider): when connect wallet, check and remove mock address
MatthewCYLau 3addedb
feat: if mockAddress is present, do not render approval help text and…
MatthewCYLau c7d3260
feat: on mobile, if mockAddress is present, render Close menu icon
MatthewCYLau 7315bac
feat(WalletWidget): update styling for warning text in mobile
MatthewCYLau 7b86ef8
feat(WalletWidget): on mobile, render CTAs at list buttom
MatthewCYLau b1015d3
chore: merged with main
MatthewCYLau c9d5398
feat(WalletWidget): add color styling to CTAs
MatthewCYLau a706a30
feat(WalletWidget): styling for avatar icon on mobile
MatthewCYLau e7f0d8c
chore: updated message.js
MatthewCYLau 934e149
feat(WalletWidget): update styling for warning icon background
MatthewCYLau 895cf0f
feat(WalletWidget): use hideWalletAccountText variable to determine m…
MatthewCYLau 1541aed
chore: merge with main
MatthewCYLau df2233f
chore(WalletWidget): removed un-used improt
MatthewCYLau 04b9336
feat(WalletWidget): fine-tune warning icon color
MatthewCYLau 4c2831e
feat(WalletWidget): updated styling to background and CTA buttons
MatthewCYLau 99af72f
feat(WalletWidget): added Divider
MatthewCYLau a4b418a
chore(WalletWidget): updated copy
MatthewCYLau 3bf300e
feat(WalletSelector): use fullWifth props for button
MatthewCYLau c25eeac
feat(WalletSelector): use fullWidfth props for input
MatthewCYLau 91c0766
feat(WatchOnlyModeTooltip): re-named component with correct casing
MatthewCYLau 4e1e4c2
feat(WalletSelector): added boolean state to check for valid address …
MatthewCYLau 7c8313f
feat(WalletWidget): added handle switch wallet method
MatthewCYLau 42de845
chore: updated messages.js
MatthewCYLau d7ad1b2
chore: code style changes
drewcook 50161f9
Merge branch 'main' into feat/watch-mode
grothem 92a2fe1
update tests
806d25b
fix: use proper app header color
drewcook 595025a
fix: prevent auto zoom on mobile on watch address input
grothem 20470e4
test: don't set a watch wallet in cypress tests
grothem a04434d
Merge branch 'main' into feat/watch-mode
grothem fe8ffb4
feat: wrap in form to allow input by pressing enter
defispartan b4b1997
feat: add support for watching ens names
defispartan b88bee8
feat: add ENS to placeholder text
defispartan 7ff4fdb
feat: enable watch button for ens inputs
defispartan 5cb35cd
chore: use proper submit button for form
drewcook 9c90b42
chore: sx styles
drewcook 57c3b18
fix tests
6789c1a
Merge branch 'main' into feat/watch-mode
grothem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Trans } from '@lingui/macro'; | ||
|
||
import { TextWithTooltip, TextWithTooltipProps } from '../TextWithTooltip'; | ||
|
||
export const WatchOnlyModeTooltip = ({ ...rest }: TextWithTooltipProps) => { | ||
return ( | ||
<TextWithTooltip {...rest}> | ||
<Trans> | ||
Watch-only mode allows to see address positions in Aave, but you won't be able to | ||
perform transactions. | ||
</Trans> | ||
</TextWithTooltip> | ||
); | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.