chinwagsocial/app/javascript/mastodon/actions
ThibG f895bf1984 Optimize makeGetStatus (#11211)
* Optimize makeGetStatus

Because `ImmutableList.filter` always returns a new object and `createSelector`
memoizes based on object identity, the selector returned by `makeGetStatus`
would *always* execute.

To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
deep equality, thus returning the same object as long as the filters haven't
changed, allowing the memoization of `makeGetStatus` to work.

Furthermore, we memoize the compiled regexs instead of recomputing them each
time the selector is called.

* Fix memoized result being cleared too often

* Make notifications use memoized getFiltersRegex
2019-06-30 00:12:38 +02:00
..
importer Apply filters to poll options (#11174) 2019-06-25 14:45:14 +02:00
push_notifications
accounts.js Optimize the process of following someone (#9220) 2018-11-08 21:05:42 +01:00
alerts.js Fix list not being automatically unpinned when it returns 404 in web UI (#11045) 2019-06-11 02:26:37 +02:00
blocks.js
bundles.js
columns.js
compose.js When sending a toot, ensure a CW is only set if the CW field is visible (#11206) 2019-06-29 18:32:36 +02:00
conversations.js Fix direct timeline pagination in the WebUI (#10126) 2019-02-27 19:13:16 +01:00
custom_emojis.js Fix loading indicator inconsistency (#9252) 2018-11-10 15:04:13 +01:00
domain_blocks.js
dropdown_menu.js
emojis.js
favourites.js Fix loading indicator inconsistency (#9252) 2018-11-10 15:04:13 +01:00
filters.js
height_cache.js
identity_proofs.js squashed identity proof updates (#10375) 2019-03-28 18:01:09 +01:00
interactions.js
lists.js
modal.js
mutes.js
notifications.js Optimize makeGetStatus (#11211) 2019-06-30 00:12:38 +02:00
onboarding.js Add new first-time tutorial (#9531) 2018-12-17 11:07:17 +01:00
pin_statuses.js
polls.js Fix poll options not rendering text after vote/refresh (#10189) 2019-03-06 05:35:52 +01:00
reports.js
search.js Add message telling FTS is disabled when no toot can be found because of this (#11112) 2019-06-27 21:12:26 +02:00
settings.js
statuses.js Add responsive panels to the single-column layout (#10820) 2019-05-25 21:27:00 +02:00
store.js
streaming.js Fix public timelines being broken by new toots when they are not mounted (#10131) 2019-03-07 22:17:52 +01:00
suggestions.js
timelines.js Fix alignment of items in the account gallery in web UI and load more per page (#10674) 2019-05-03 04:02:55 +02:00