discourse/app
Alan Guo Xiang Tan 30bd1dcefd
DEV: More efficiently trigger topic tracking state on state change (#16952)
* When loading topics in bulk, only trigger state change callbacks after
all the topics have been loaded and we determine that state has actually
changed.

* State change callbacks are also only triggered when state has changed.

The use of JSON.stringify might raise some performance concerns here as this is a
performance sensitive codepath. However, I measured the time for each
`_setState` function call locally, by wrapping the function call with
`performance.now()`, and did not see any significant overhead.
2022-05-31 10:20:55 +08:00
..
assets DEV: More efficiently trigger topic tracking state on state change (#16952) 2022-05-31 10:20:55 +08:00
controllers FEATURE: user status (#16875) 2022-05-27 13:15:14 +04:00
helpers DEV: allow running plugin tests for server_plugin_outlet (#16883) 2022-05-20 17:14:55 +05:30
jobs FIX: Skip pulling hotlinked images for nil user bio (#16901) 2022-05-24 11:52:13 +01:00
mailers FIX: respect user timezone in emails about silencing and suspending (#16918) 2022-05-27 13:58:54 +04:00
models FEATURE: propagate user status via message bus (#16944) 2022-05-30 13:41:53 +04:00
serializers FEATURE: user status (#16875) 2022-05-27 13:15:14 +04:00
services FIX: Apply censored words to inline onebox (#16873) 2022-05-25 14:51:47 +03:00
views FEATURE: Promote polymorphic bookmarks to default and migrate (#16729) 2022-05-23 10:07:15 +10:00