discourse/app/assets/javascripts/discourse/tests
Alan Guo Xiang Tan 91588cf938
DEV: Improve composer-messages implementation for PMs (#22529)
What does this commit do??

This commit introduces two changes:

1. As a follow up review comment to
   cc463c3e9b, we remove the top level
recipientNames cache in composer message to be a property of the
`ComposerMessage` component instead. Across components, we're more
likely to get a cache miss than a hit since we're caching the entire
recipient array so we can just drop it. If we really need this
optimisation, we should probably use a map and cache the information for
each user instead. However, the request is fairly cheap so we avoid that
optimisation for now.

2. This commit adds a debounce to `_typeReply` as well since we were not
   debouncing and the method was being called each time we received the
event.
2023-07-11 10:49:27 +08:00
..
acceptance DEV: Improve composer-messages implementation for PMs (#22529) 2023-07-11 10:49:27 +08:00
addons/truth-helpers/integration/helpers Unsilence this-property-fallback (#21615) 2023-06-14 11:16:56 -07:00
fixtures DEV: Update moment-timezone-with-data (#22313) 2023-06-28 11:33:55 +02:00
helpers DEV: Remove unused testSelectKitModule (#22363) 2023-07-03 11:23:41 +02:00
integration DEV: makes chat modals use the new <DModal /> component (#22495) 2023-07-10 13:43:33 +02:00
unit DEV: Convert dismiss modals to component-based API (#22262) 2023-07-06 12:14:26 -05:00
index.html FIX: mobile share canonical URL (#22370) 2023-07-04 15:02:52 -03:00
setup-tests.js DEV: Set QUnit per-test timeout (#21102) 2023-04-15 14:34:13 +02:00
test-boot-ember-cli.js DEV: Make the setupTests a regular import (#19046) 2022-11-16 16:11:18 +08:00