-
Notifications
You must be signed in to change notification settings - Fork 13
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
feature: Terms and Privacy modals #97
Conversation
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.
LGTM in general with some minor comment on the text and recommendation that don't need to be addressed in this PR:
- The privacy modal is a bit unnecessary as it's the same as the terms modal. We can have a generic modal component that would fit both use-cases. (We need to host the documents in different url anyway in the next cap, so it's ok to leave it as it is)
- Is this really fits into
src/app/providers.tsx
as a global context? IMO, the global stats from the useContext is a good place for core things such as the btc height and global params where a lot of components will be using. But we don't need to use the terms and privacy in different components, right? Let's move it out in laterdev
branch when we do the improvement. The terms and private has big text paragraphs, it may have performance impact on the dApp when loaded at the context. Although i tested it seems to be ok today.
Understand right now is not the best time for doing this. I will track this in our github issues
fyi, i bumped the package json version (Ouch! Didn't see another PR with the version bump 😮💨 )
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.
terms review
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.
privacy notice review
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.
content lgtm
604746f
to
23924dd
Compare
@vitsalis @jeremy-babylonlabs @jrwbabylonlab please carefully check the text content
@jeremy-babylonlabs please additionally check out any stylings inconsistencies