This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
David Taylor b850c12793
PERF: Lazily lookup emoji-picker selected-diversity (#16917)
Looking up values from the `emojiStore` calls out to the browser's localStorage API and then decodes a JSON blob. This makes it relatively slow.

Previously we were doing this lookup in the emoji-picker's `init()` function, even if `isActive` was false. If many inactive emoji pickers are rendered simultaneously (e.g. for discourse-chat reactions), this performance hit quickly adds up.

This commit updates the service to notify about changes, and uses a computed property to provide a cached value in the emoji-picker.
2022-05-26 12:37:09 +01:00
..
assets PERF: Lazily lookup emoji-picker selected-diversity (#16917) 2022-05-26 12:37:09 +01:00
controllers FEATURE: Make S3 presigned GET URL expiry configurable (#16912) 2022-05-26 09:53:01 +10: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: Use our header value instead of custom header on duplicates (#16711) 2022-05-11 13:47:12 +10:00
models DEV: Add hook for plugins modify how slugs are computed (#16907) 2022-05-25 19:05:06 -03:00
serializers DEV: Bookmark cleanup (#16899) 2022-05-24 13:52:42 +10: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