bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
11.13k stars 1.41k forks source link

Lists tab on the profile page: broken pagination #6204

Open imax9000 opened 6 days ago

imax9000 commented 6 days ago

Steps to Reproduce

  1. Open profile of an account with more than 30 lists
  2. Open browser devtool and switch to "Network" tab to see the requests
  3. In the page, switch to "Lists" tab
  4. Observe that there's only one app.bsky.graph.getLists request sent
  5. Scroll to the bottom of the page
  6. Observe that no additional requests are sent to fetch the rest of the lists

Attachments

No response

What platform(s) does this occur on?

Web (Desktop)

Device Info

Firefox 132.0.1 on Windows

What version of the app are you using?

Build version: 1.93.0; Bundle info: 7731136 (prod); Bundle date: 24110818; Platform: web

Additional Information

No response

khuddite commented 6 days ago

@imax9000 Could you attach the link to the profile with more than 30 lists?

imax9000 commented 5 days ago

Here are a few:

bluesky=# select count, 'https://bsky.app/profile/' || did from (select repo as id, count(*) from records where collection='app.bsky.graph.list' and not deleted group by repo) join repos using (id) order by count desc limit 10;
 count |                         ?column?                          
-------+-----------------------------------------------------------
   210 | https://bsky.app/profile/did:plc:pwlfo4w6auzwihryxik32t6d
   171 | https://bsky.app/profile/did:plc:tsfj4ybk5ke3gxfymzksnhwu
   161 | https://bsky.app/profile/did:plc:a3pshickwc2522q5l73vsweq
   109 | https://bsky.app/profile/did:plc:l3xkhxqujdpybq6uwxjgrkrz
   100 | https://bsky.app/profile/did:plc:sbzvs4amqvtmveswkrs34qon
    91 | https://bsky.app/profile/did:plc:ndywsez2becfh2hxp7ugrwwz
    85 | https://bsky.app/profile/did:plc:tdq2tzpiggojebao3mgwemqt
    81 | https://bsky.app/profile/did:plc:z5rc7zwgmfg6v35steefdeyb
    74 | https://bsky.app/profile/did:plc:7qbjf7s5trvjyy3qsw6ehcos
    73 | https://bsky.app/profile/did:plc:d4efji3r7iqvev73zc5kjelp
(10 rows)

I've checked two of them myself and it seemed to work fine =/ But breaks on this one: https://bsky.app/profile/did:plc:bmjomljebcsuxolnygfgqtap