Skip to content
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

Removes cloudflare dependency from debug.html.ep #2078

Conversation

hernan604
Copy link

Summary

Removes cloudflare dependency from debug.html.ep and replaces the font awesome icons with svg from:

Motivation

User complains that debug.html.ep hangs when he is offline and the issue seems to be because of external dependency on icons hosted on cloudflare CDN

References

Jun/18/2023 - $user: it might be an improvement to remove the line referencing cloudflare in debug.html.ep
Jun/18/2023 - kraih: then there's no font awesome, feel free to propose an alternative way to load it that doesn't make it hang though

marcusramberg
marcusramberg previously approved these changes Jun 18, 2023
Copy link
Member

@marcusramberg marcusramberg left a comment

Choose a reason for hiding this comment

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

Nice. Commits need to be squashed, but lgtm :)

@hernan604 hernan604 force-pushed the remove_cloudflare_fontawesome_dep_from_debug_html branch from 1833e99 to aabbf57 Compare June 18, 2023 18:34
@mergify mergify bot dismissed marcusramberg’s stale review June 18, 2023 18:34

Pull request has been modified.

@hernan604
Copy link
Author

Squashed

@kraih
Copy link
Member

kraih commented Jun 18, 2023

Would be nice if you fixed the same issue in mojo.js too.

Copy link
Member

@marcusramberg marcusramberg left a comment

Choose a reason for hiding this comment

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

💯

@mergify mergify bot merged commit 9c6738e into mojolicious:main Jun 18, 2023
10 checks passed
@kraih
Copy link
Member

kraih commented Jun 18, 2023

It appears the mouseover effect no longer works after the patch.

@hernan604
Copy link
Author

Sent a fix in another PR #2079

@kraih
Copy link
Member

kraih commented Jun 19, 2023

Note that this PR breaks the license of the contributed 3rd party code, i have fixed this after the fact. Please be more careful in the future and respect license agreements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants