From 48273cfe9daadada68eedac2245c32c8947713ba Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 6 Jan 2026 15:05:29 -0500 Subject: [PATCH] more ui tweaks --- index.html | 1036 +++++++++++++++++++++++++++------------------------- 1 file changed, 530 insertions(+), 506 deletions(-) diff --git a/index.html b/index.html index fa56030..6130288 100644 --- a/index.html +++ b/index.html @@ -220,7 +220,23 @@ params: { limit: 100 }, }); this.accounts = accountsRes.repos; - this.accountsComplete == !accountsRes.cursor; + + // weird thing with the ref pds: it *always* has a cursor on the first page + if (accountsRes.cursor) { + // so grab a second page just to see if there really is a second page + try { + const secondPage = await query('com.atproto.sync.listRepos', { + params: { limit: 1, cursor: accountsRes.cursor }, + }); + this.accountsComplete = !secondPage.cursor || secondPage.repos.length == 0; + } catch (e) { + // we're in a niche spot. ignore errors and look at the original (faulty) cursor + this.accountsComplete = !accountsRes.cursor; // 🤷‍♀️ + } + } else { + this.accountsComplete = true; + } + } catch (e) { if (window.isXrpcErr(e)) { this.error = e.error; @@ -554,145 +570,444 @@ }) - -
+ +
-

PDS Debugger

+

PDS Debugger

+
+ +
+
+ + +
+
+
+
-

Work in progress!

-
- Future features -
    -
  • firehose & jetstream listeners
  • -
-
-
- Limitations -
    -
  • The Bluesky production relay at bsky.network runs the old bgs implementation, and is missing many relay XRPC endpoints.
  • -
  • The Blacksky relay at atproto.africa runs an independent implementation, and is also missing many relay XRPC endpoints.
  • -
  • All diagnostics run in your browser, so servers that don't enable CORS (some PDS hosts, Upcloud's relay) will fail tests.
  • -
-
+
+ -
+