Skip to content

Improvments to Public IP Widget#2059

Merged
lissy93 merged 9 commits into
masterfrom
fix/ip-widget
Apr 10, 2026
Merged

Improvments to Public IP Widget#2059
lissy93 merged 9 commits into
masterfrom
fix/ip-widget

Conversation

@lissy93

@lissy93 lissy93 commented Apr 10, 2026

Copy link
Copy Markdown
Owner

Category

Bugfix

Overview

This PR fixes and improves the Public IP widget. Becasuse most of the IP providers previously supported have changed their spec, or been depricated. So it was pretty broken.

@netlify

netlify Bot commented Apr 10, 2026

Copy link
Copy Markdown

Deploy Preview for dashy-dev ready!

Name Link
🔨 Latest commit a483adc
🔍 Latest deploy log https://app.netlify.com/projects/dashy-dev/deploys/69d93658d0fb3f0008ee7a0e
😎 Deploy Preview https://deploy-preview-2059--dashy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Dashy’s Public IP widget to use alternative IP providers, adds an option to hide location details, improves handling of long (IPv6) addresses, and hardens proxy/request error handling to avoid server crashes when forwarding failures.

Changes:

  • Reworked Public IP widget providers (new defaults + provider parsing/normalization) and added hideLocation plus long-IP font scaling.
  • Improved server-side request/proxy error serialization to avoid JSON circular-reference crashes.
  • Updated documentation and tweaked issue/tagging automation workflows.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
tests/setup.js Adds eslint suppression for console passthrough in test setup.
src/utils/defaults.js Adds new Public IP provider endpoints (freeipapi/ipinfo/ipquery).
src/components/Widgets/PublicIp.vue Refactors provider handling, adds hideLocation, and long-IP styling.
services/request.js Adds RequestError.toJSON() and makes response.request non-enumerable to prevent circular JSON crashes.
services/cors-proxy.js Minor comment punctuation update.
docs/widgets.md Updates Public IP widget docs (providers, proxy behavior, new options).
docs/troubleshooting.md Adds troubleshooting guidance for ipinfo/ipquery provider blocking.
docs/privacy.md Updates the Privacy page provider endpoint list for the Public IP widget.
.github/workflows/close-stale-issues.yml Adjusts stale-exemption logic (human comments/reopened issues).
.github/workflows/bump-and-tag.yml Tightens issue-reference parsing and improves tag/issue messaging metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/Widgets/PublicIp.vue Outdated
Comment thread src/components/Widgets/PublicIp.vue Outdated
Comment thread src/utils/defaults.js Outdated
Comment thread services/request.js
Comment thread docs/troubleshooting.md
Comment thread .github/workflows/close-stale-issues.yml
Comment thread .github/workflows/bump-and-tag.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants