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 @@ }) -
-Work in progress!
-bsky.network runs the old bgs implementation, and is missing many relay XRPC endpoints.atproto.africa runs an independent implementation, and is also missing many relay XRPC endpoints.uh oh:
+ -uh oh:
- +Loading…
+ + + + +|
+
+
+ |
+
+
+ loading…
+
+
+
+
+ i
+
+
+
+
+
+ |
+
+
+
+
+
+
+ |
+
+ Loading…
- - -
-
-
-
+ | Loading… | +|||
| Error: | +||||
| + no previous PDS | +||||
-
- active
-
-
+
|
- - Loading… - + | - | ||
| - (more accounts not shown) - | + ++ + current + | + + ++ + active + | +||
|
-
-
- |
-
-
- loading…
-
-
-
-
- i
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
Loading…
+| DNS | +
+
+ |
+ + + | +
| Http | +
+
+ |
+ + + | +
- | Loading… | +||
| Error: | +||
- Rev:
-
+ no previous handle
|
||
| - PDS: + |
+
+ |
+ |
- Size:
-
-
- loading…
-
-
-
-
-
-
- MiB
-
-
-
-
-
-
- |
-
|
-
-
- |
-
- - loading… - | - - -
-
-
- i
-
- |
-
-
- - - active - - - | - - -- current - behind - ahead - | - -
Loading…
-| DNS | -
-
- |
- - - | -
| Http | -
-
- |
- - - | -
Account label lookup
+ +