Skip to content

linkify-code in un-collapsed diffs - #3091

Closed
fregante wants to merge 6 commits into
masterfrom
linkify-everything
Closed

fregante wants to merge 6 commits into
masterfrom
linkify-everything

Conversation

@fregante

@fregante fregante commented May 13, 2020 •

Copy link
Copy Markdown
Member

Fixes #2091 using #3084

Test

Additional test URLs to be found on #2066 (comment)

  1. Open https://github.com/sindresorhus/refined-github/pull/636/files
  2. Click the "Expand up" button in the diff
  3. URL should be linkified:

@fregante fregante added the bug label May 13, 2020
@fregante
fregante marked this pull request as ready for review May 13, 2020 16:23

/** Like `IntersectionObserver`, but call callback ONCE when the observed element becomes visible */
export default class OnceVisibleObserver extends IntersectionObserver {
// `selector-observe` compatibility

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// `selector-observe` compatibility
// `selector-observer` compatibility

@fregante
fregante marked this pull request as draft May 14, 2020 10:05
@fregante

Copy link
Copy Markdown
Member Author

This is reapplied multiple times, I'll have to restore linkifiedURLClass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Apply auto-linking after unfolding diffs

2 participants