framework/extensions/mentions/js
Sami Mazouz fbbece4bda
perf(core,mentions): limit mentionedBy post relation results (#3780)
* perf(core,mentions): limit `mentionedBy` post relation results

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* Apply fixes from StyleCI

* chore: use a static property to allow customization

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: use a static property to allow customization

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: include count in show post endpoint

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: consistent locale key format

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: forgot to delete `FilterVisiblePosts`

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* test: `mentionedByCount` must not include invisible posts to actor

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* fix: visibility scoping on `mentionedByCount`

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* fix: `loadAggregates` conflicts with visibility scopers

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* Apply fixes from StyleCI

* chore: phpstan

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

---------

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-04-19 08:23:08 +01:00
..
dist Bundled output for commit 47b670aa29 2023-02-08 20:19:47 +00:00
src perf(core,mentions): limit mentionedBy post relation results (#3780) 2023-04-19 08:23:08 +01:00
.gitignore chore: flarum-cli audit infra --fix 2022-01-20 03:45:09 -05:00
admin.js New mentions format, decouple usernames from mentions (#65) 2021-04-21 10:58:54 +01:00
forum.js chore: flarum-cli audit infra --fix 2022-01-20 03:45:09 -05:00
package.json chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
tsconfig.json feat: introduce frontend extenders (#3645) 2023-01-17 19:10:24 +01:00
webpack.config.js chore: flarum-cli audit infra --fix 2022-01-20 03:45:09 -05:00