discourse/app/assets/javascripts
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
..
admin Build(deps): Bump @ember/string in /app/assets/javascripts (#21569) 2023-05-16 11:24:25 +02:00
bootstrap-json Build(deps): Bump jsdom from 21.1.1 to 22.0.0 in /app/assets/javascripts (#21350) 2023-05-08 11:45:28 +02:00
confirm-new-email DEV: Add error message styling (#21225) 2023-04-25 08:40:18 -04:00
dialog-holder Build(deps): Bump webpack in /app/assets/javascripts (#21496) 2023-05-11 17:27:09 +02:00
discourse FIX: Clear topic list cache after archiving a PM (#21602) 2023-05-17 14:23:23 +10:00
discourse-common Build(deps): Bump @ember/string in /app/assets/javascripts (#21569) 2023-05-16 11:24:25 +02:00
discourse-hbr Build(deps): Bump @ember/string in /app/assets/javascripts (#21569) 2023-05-16 11:24:25 +02:00
discourse-plugins Build(deps): Bump webpack in /app/assets/javascripts (#21496) 2023-05-11 17:27:09 +02:00
discourse-widget-hbs Build(deps): Bump @ember/string in /app/assets/javascripts (#21569) 2023-05-16 11:24:25 +02:00
docs
ember-addons
ember-cli-progress-ci DEV: Add progress output in CI during ember-cli build (#17977) 2022-08-17 22:39:52 +01:00
ember-production-deprecations DEV: Include ember deprecation messages in production builds (#20587) 2023-03-10 10:37:28 +00:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
pretty-text Build(deps): Bump @ember/string in /app/assets/javascripts (#21569) 2023-05-16 11:24:25 +02:00
select-kit A11Y: Improve select-kit accessibility (take 2) (#21530) 2023-05-16 09:57:50 -04:00
truth-helpers Build(deps): Bump @ember/string in /app/assets/javascripts (#21569) 2023-05-16 11:24:25 +02:00
wizard Build(deps): Bump @ember/string in /app/assets/javascripts (#21569) 2023-05-16 11:24:25 +02:00
.licensee.json Revert "DEV: Merge package.json files (#21172)" (#21182) 2023-04-20 14:57:40 +02:00
.npmrc
discourse-js-processor.js DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
handlebars-shim.js
package.json DEV: Move app build-time dependencies to devDependencies (#21310) 2023-05-03 09:25:13 +01:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FIX: Service worker for Safari (#21435) 2023-05-09 18:36:20 +03:00
yarn.lock Build(deps): Bump @ember/string in /app/assets/javascripts (#21569) 2023-05-16 11:24:25 +02:00