This repository has been archived by the owner on Apr 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Open external URLs on openUrl event - Closes #787 #788
Merged
Conversation
This file contains 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
reyraa
changed the title
Open external URLs on openUrl event - Closes #787
Open external URLs on openUrl event - Closes #20, #787
Sep 29, 2017
yasharAyari
previously approved these changes
Sep 29, 2017
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.
You did a great job. thank you.
reyraa
changed the title
Open external URLs on openUrl event - Closes #20, #787
Open external URLs on openUrl event - Closes #787
Sep 29, 2017
I'd like to tweak this PR to ensure links won't break the routing. Also I'll add an alert message to inform user about the URL invalidity. |
alepop
approved these changes
Sep 29, 2017
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.
Good job!
reyraa
force-pushed
the
787-open-url-listener
branch
from
September 29, 2017 14:33
24c89a7
to
9738de3
Compare
yasharAyari
approved these changes
Sep 29, 2017
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.
good job
slaweet
approved these changes
Oct 2, 2017
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.
Good job @reyraa
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The change in this PR add a listener to openUrl event transmitted from main process.
How to test:
npm run build && npm run start
lisk://main/voting/send
: should open the send modal in voting tablisk://main/wrong-tab
: should show a toaster informing about wrong URLlisk://main/voting/wrong-dialog
: open voting tab without any modalslisk://register
: should open the register modal in login pageand so on.
Closes #787