-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
New default Link behavior setting #2634
base: main
Are you sure you want to change the base?
Conversation
Hey there 👋,
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2634 +/- ##
==========================================
- Coverage 33.23% 33.21% -0.02%
==========================================
Files 742 742
Lines 48154 48182 +28
==========================================
+ Hits 16003 16005 +2
- Misses 32151 32177 +26
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Overall looks good.
Added one minor remarked which need to be answer before merge.
if (url == null || !url.hasAuthority) { | ||
_log.info('Opening internally: $url'); | ||
// not a valid URL, try local routing | ||
await context.push(target); | ||
return true; |
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.
What is !url.hasAuthority
which is removed in new code?
And internal url opening code also removed?
Minor UX improvement allowing the user to configure what should happen if a link is clicked: by default it opens with the system behavior but you can also ask it to just put it into the clipboard now.
what-to-do-wth-links.mp4