Commit graph

5 commits

Author SHA1 Message Date
silentoplayz
a572cf4842 feat: add backend handling for unarchiving all chats
The previous implementation for unarchiving all chats in `ArchivedChatsModal.svelte` was inefficient, as it sent a separate request for each chat, which could potentially overload the server.

This commit introduces a new backend endpoint, `/chats/unarchive/all`, to handle the bulk unarchiving of all chats for a user with a single API call.

The frontend has been updated to use this new endpoint, resolving the performance issue by minimizing the number of requests to the server.
2025-09-28 13:25:34 -04:00
Timothy Jaeryang Baek
c07086401e refac 2025-09-18 17:47:32 -05:00
Timothy Jaeryang Baek
b2b1a21299 refac 2025-05-25 01:48:37 +04:00
Timothy Jaeryang Baek
6e8ca96799 enh: archived chats modal 2025-05-25 01:23:12 +04:00
Timothy Jaeryang Baek
7e6f1f8848 enh: archived chats modal 2025-05-25 00:48:30 +04:00