From 043648fc62b11be599f4230d88cda09961ee4fe5 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 3 Nov 2025 20:34:40 -0500 Subject: [PATCH 1/2] Refresh WebTorrent tracker defaults --- docs/release-notes.md | 12 ++++++++++++ js/constants.js | 8 +++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 docs/release-notes.md diff --git a/docs/release-notes.md b/docs/release-notes.md new file mode 100644 index 00000000..fdebf0cf --- /dev/null +++ b/docs/release-notes.md @@ -0,0 +1,12 @@ +# Release Notes + +## 2025-11-04 + +- **WebTorrent tracker refresh:** Updated the default browser-safe tracker pool in + [`js/constants.js`](../js/constants.js) to swap out the failing `tracker.fastcast.nz`, + `tracker.webtorrent.dev`, and `tracker.sloppyta.co` endpoints. The new roster is: + `wss://tracker.openwebtorrent.com`, `wss://tracker.ghostchu-services.top:443/announce`, + `wss://tracker.files.fm:7073/announce`, `wss://tracker.dler.org:443/announce`, + `wss://tracker.btorrent.xyz`, and `wss://tracker.novage.com.ua:443/announce`. Operators + who override the runtime `WSS_TRACKERS` flag should update their configs to match so + magnet fallback continues to connect without churn. diff --git a/js/constants.js b/js/constants.js index 0ef92f3c..39d2b5ea 100644 --- a/js/constants.js +++ b/js/constants.js @@ -106,9 +106,11 @@ function sanitizeTrustSeedList(candidate) { const DEFAULT_WSS_TRACKERS = Object.freeze([ "wss://tracker.openwebtorrent.com", - "wss://tracker.fastcast.nz", - "wss://tracker.webtorrent.dev", - "wss://tracker.sloppyta.co:443/announce", + "wss://tracker.ghostchu-services.top:443/announce", + "wss://tracker.files.fm:7073/announce", + "wss://tracker.dler.org:443/announce", + "wss://tracker.btorrent.xyz", + "wss://tracker.novage.com.ua:443/announce", ]); const SANITIZED_DEFAULT_BLUR_THRESHOLD = coerceNonNegativeInteger( From 831d5693fd4d631553ac9c5bfda7c704e556f503 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 3 Nov 2025 20:48:06 -0500 Subject: [PATCH 2/2] Fix lint violations in CSS and docs --- css/tailwind.source.css | 14 ++++++++------ docs/nips/64.md | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/css/tailwind.source.css b/css/tailwind.source.css index f3bf1364..eb908430 100644 --- a/css/tailwind.source.css +++ b/css/tailwind.source.css @@ -863,12 +863,14 @@ } .moderation-badge__action:focus-visible { - outline: 2px solid color-mix(in srgb, var(--status-warning) 38%, transparent); - outline-offset: 2px; + outline: var(--outline-thick-width) + solid color-mix(in srgb, var(--status-warning) 38%, transparent); + outline-offset: var(--space-3xs); } .moderation-badge[data-variant="neutral"] .moderation-badge__action:focus-visible { - outline: 2px solid color-mix(in srgb, var(--status-neutral) 38%, transparent); + outline: var(--outline-thick-width) + solid color-mix(in srgb, var(--status-neutral) 38%, transparent); } .moderation-badge__action[disabled] { @@ -2243,7 +2245,7 @@ padding-inline: var(--space-6xs); border-radius: var(--radius-full); font-family: var(--font-family-mono); - font-size: var(--font-size-2xs, 0.75rem); + font-size: var(--font-size-2xs); line-height: 1.2; color: var(--color-muted-strong); background-color: color-mix( @@ -2258,7 +2260,7 @@ align-items: center; flex-wrap: wrap; gap: clamp(var(--space-5xs), 0.5vw, var(--space-4xs)); - font-size: var(--font-size-2xs, 0.75rem); + font-size: var(--font-size-2xs); color: var(--color-muted-strong); min-width: 0; } @@ -3704,7 +3706,7 @@ flex-direction: column; align-items: center; gap: var(--space-md); - padding: calc(var(--space-xl) + env(safe-area-inset-top, 0px)) + padding: calc(var(--space-xl) + env(safe-area-inset-top)) var(--space-lg) var(--space-lg); pointer-events: none; opacity: 0; diff --git a/docs/nips/64.md b/docs/nips/64.md index 318ea87c..48bdd2b4 100644 --- a/docs/nips/64.md +++ b/docs/nips/64.md @@ -141,6 +141,6 @@ Nf2 42. g4 Bd3 43. Re6 1/2-1/2 [pgn_specification]: https://github.com/mliebelt/pgn-spec-commented/blob/main/pgn-specification.md [pgn_formal_syntax]: https://github.com/mliebelt/pgn-spec-commented/blob/main/pgn-specification.md#18-formal-syntax -[pgn_seven_tag_roster]: https://github.com/mliebelt/pgn-spec-commented/blob/main/pgn-specification.md#811-seven-tag-roster +[pgn_seven_tag_roster]: https://github.com/mliebelt/pgn-spec-commented/blob/main/pgn-specification.md%23811-seven-tag-roster [pgn_import_format]: https://github.com/mliebelt/pgn-spec-commented/blob/main/pgn-specification.md#31-import-format-allows-for-manually-prepared-data [pgn_export_format]: https://github.com/mliebelt/pgn-spec-commented/blob/main/pgn-specification.md#32-export-format-used-for-program-generated-output