-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improve deeplinks experience #5218
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
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 love this approach of intercepting the request! Are we able to add any tests to catch regressions in this behaviour?
@jpcloureiro did you check how this change behaves with the app specific schemas like |
@andreahaku opening any of these schemas inside the webview will open the alert dialog. If the user presses allow, it will execute as before. |
I've change the functionality so that we can have a set of whitelisted protocols that will be opened by the webview without an alert dialog. Any other protocol will display an alert dialog with the message `This website has been blocked from automatically opening an external application' |
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.
One minor comment for a method rename but other than that it looks good.
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
@jpcloureiro Can you add the scenarios you tested and update the lint errors? |
move functions around where they best fit
delete duplicate code & improve test coverage
96a35ad
to
2e989af
Compare
@cortisiko pushed a fix. It should go back to mm home page now. |
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.
Fix looks good @jpcloureiro, This is QA passed! 🌮 🌮
Development & PR Process
release-xx
label to identify the PR slated for a upcoming release (will be used in release discussion)needs-dev-review
label when work is completedneeds-qa
label when dev review is completedQA Passed
label when QA has signed offDescription
Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions,
1. What is the reason for the change?
2. What is the improvement/solution?
Screenshots/Recordings
If applicable, add screenshots and/or recordings to visualize the before and after of your change
Issue
Progresses #460
Checklist