-
Notifications
You must be signed in to change notification settings - Fork 262
feat: add consent screen #2420
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
feat: add consent screen #2420
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
5fd5ed8
add consent tnc flow
lionellbriones bf7567a
get consent required from uiConfig
lionellbriones 1f92a53
get tnc links from root
lionellbriones 8ec3811
hide tnc text if consent required is enabled
lionellbriones 375ebf5
adjust size of the modal for consent screen
lionellbriones 7403d93
update consent screen
lionellbriones 8e6e769
Merge branch 'master' into feat/add-consent-screen
lionellbriones 95d0da7
update accept consent
lionellbriones 92a1630
Merge branch 'master' into feat/add-consent-screen
lionellbriones 8c25b8d
fix merge issue
lionellbriones 7a4cf10
update consent ui
lionellbriones 9108c09
remove default true value for consentRequired
lionellbriones 3ab20b1
smaller font for terms and privacy link
lionellbriones 5c3bde5
Merge branch 'master' into feat/add-consent-screen
chaitanyapotti 35f0cd9
use updated whitelabel type
lionellbriones 4775a09
fix missing access and refresh token
lionellbriones 0dbdd78
use event emitter to wait for consent
lionellbriones 9006216
show loaders for connect and authorization before consent
lionellbriones 4b17090
Merge branch 'master' into feat/add-consent-screen
lionellbriones 17874e1
consent response save to storage
lionellbriones 3223dd8
remove setting default value for tnc links
lionellbriones 01c18d5
update web3auth
lionellbriones 1dac801
consentAcceptedListener update
lionellbriones 068c375
add try catch for accept consent
lionellbriones 0ea4a86
remove checks for accept declide consent as these are required props
lionellbriones 5ace034
removed _consentRequired
lionellbriones 50fea9e
rename consent userId to userAddress
lionellbriones 6dd15cd
Merge branch 'master' into feat/add-consent-screen
lionellbriones f732d2e
- fix authorization page not showing on consent required
lionellbriones 6794db5
Merge branch 'master' into feat/add-consent-screen
lionellbriones 696e3a9
fix issue
lionellbriones b50458d
fix unconditionally showing connected state
lionellbriones f4c421e
check if there is pendingUser consent before connectedd
lionellbriones 4cd9b62
fixed chainId and chainnamespace not being updated on accept consent
lionellbriones 675e7dd
loading and rehydrate fix
lionellbriones 6a71868
keep currentConnectionReconnected
lionellbriones 72b82a3
Merge branch 'master' into feat/add-consent-screen
lionellbriones c853fff
fixed merged issues
lionellbriones e50352a
fix: fixed consent requiring check
lwin-kyaw 05e82e4
fix: fixed rehydration
lwin-kyaw f1ab9a8
feat: restructure consent state
lwin-kyaw 7245ecd
feat: handle CONSCENT_ACCEPTED in modalManager
lwin-kyaw 7f9b0a0
feat: update modal ui config
lwin-kyaw e18a2a9
feat: update vue-app-new demo
lwin-kyaw c708502
feat: update react context hook
lwin-kyaw 70de95c
feat: updated wagmi-react-app demo
lwin-kyaw fec94d2
fix: fixed build
lwin-kyaw 32c89fb
fix: added missing await on setState
lwin-kyaw c32ec3d
Merge branch 'master' into feat/add-consent-screen
chaitanyapotti 3b1084b
rename variables
chaitanyapotti 2373cad
cleanup unused state
chaitanyapotti b69a9f6
fix: fixed lock
lwin-kyaw 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think consentConfigMode is set only on dashboard. not sure if we should include it on sdk config.