Sidebar - restore - spaces - delete all button not working properly

Sidebar - restore - spaces - delete all button not deleting all at once.
Video: https://www.loom.com/share/969c70c64ba14a0eb9d905ea8de499df?sid=5a1a07a6-07c7-42f4-9d3c-9a6dcddb0b56

just from looking at this , and not remembering how the code works, i’m guessing there’s a limit on the number of removed spaces that are retrieved from the server to be shown on this list.

when you click delete all, it probably sends all the ids in this list to the server to delete. so it misses anything too old to be on the list.

:railway_track: instead the server route shouldn’t take ids and instead should just delete all the user’s removed spaces

hmm turns out the server already works the way it should. Possibly what you’re seeing in the vid is that you’re re-requesting a list of your removed spaces too soon. The spaces are still being deleted server-side. If you clicked delete all , and then came back to it in a couple minutes the list appears empty in my testing.

If that is indeed the case, then I’m gonna file this as not worth the time to fix bc most ppl won’t be immediately reloading their removed spaces list after ‘deleting all’

1 Like