discourse/app
Alan Guo Xiang Tan bf64a184ea
FIX: Clear topic list cache after archiving a PM (#21602)
Context of the problem

When viewing the topic list for either the personal inbox or the group
PM inbox, we store a cache of the topic list if the user has loaded more
topics in the topic list. This cache is used to improve the experience
for users so that navigating to a topic and then back would not make
them lose their "last read" position in the topic list. Without this
cache, users will have to start from the top of the topic list each time
they navigate back after reading a topic.

What is the problem?

After archiving a PM, the user is redirected to either the personal
inbox or the group PM inbox. The problem is that if a topic list cache
exists, we will render the topic list using the cache. However, this
means that the archived PM will still appear in the list leading to
confusion for our users.

What is the fix?

To fix this, we will simply clear the topic list cache after a user
archives a topic.
2023-05-17 14:23:23 +10:00
..
assets FIX: Clear topic list cache after archiving a PM (#21602) 2023-05-17 14:23:23 +10:00
controllers FEATURE: Show user cards for inactive users (#21387) 2023-05-15 21:45:26 +03:00
helpers UX: Improve login required page (#20847) 2023-03-28 07:09:44 -05:00
jobs FEATURE: Add new notification for admin problems (#21287) 2023-05-03 19:35:22 +03:00
mailers FIX: Likes received count in digest email (#21458) 2023-05-09 19:19:26 +02:00
models DEV: Set limit for Invite#custom_message 2023-05-15 09:55:28 +02:00
serializers FEATURE: Show user cards for inactive users (#21387) 2023-05-15 21:45:26 +03:00
services FIX: Handle all UTF-8 characters (#21344) 2023-05-15 12:45:04 +03:00
views FIX: Likes received count in digest email (#21458) 2023-05-09 19:19:26 +02:00