discourse/app/assets/javascripts
Kelv 5f0bc4557f
FEATURE: Count only approved flagged posts in user pages (#22799)
FEATURE: Only approved flags for post counters

* Why was this change necessary?
The counters for flagged posts in the user's profile and user index from
the admin view include flags that were rejected, ignored or pending
review. This introduces unnecessary noise. Also the flagged posts
counter in the user's profile includes custom flags which add further
noise to this signal.

* How does it address the problem?

* Modifying User#flags_received_count to return posts with only approved
  standard flags
* Refactoring User#number_of_flagged_posts to alias to
  User#flags_received_count
* Updating the flagged post staff counter hyperlink to navigate to a
  filtered view of that user's approved flagged posts to maintain
  consistency with the counter
* Adding system tests for the profile page to cover the flagged posts
  staff counter
2023-07-31 13:33:10 +08:00
..
admin FEATURE: Count only approved flagged posts in user pages (#22799) 2023-07-31 13:33:10 +08:00
bootstrap-json Build(deps-dev): Bump node-fetch from 3.3.1 to 3.3.2 in /app/assets/javascripts (#22792) 2023-07-26 09:21:25 +08:00
confirm-new-email DEV: Add error message styling (#21225) 2023-04-25 08:40:18 -04:00
deprecation-silencer DEV: move deprecation silencer to a shared package (#22668) 2023-07-18 19:07:20 +01:00
dialog-holder Build(deps): Bump a11y-dialog from 7.5.2 to 8.0.0 in /app/assets/javascripts (#22751) 2023-07-25 06:43:02 +08:00
discourse FEATURE: Count only approved flagged posts in user pages (#22799) 2023-07-31 13:33:10 +08:00
discourse-common DEV: introduce Ember <template> tag support (.gjs) (#22719) 2023-07-20 21:01:12 +01:00
discourse-hbr Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
discourse-plugins DEV: introduce Ember <template> tag support (.gjs) (#22719) 2023-07-20 21:01:12 +01:00
discourse-widget-hbs Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Clean up package.json files (#22349) 2023-06-30 13:01:45 +02:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
pretty-text Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
select-kit UX: Minor change to compact tag chooser (#22796) 2023-07-26 11:43:46 -04:00
truth-helpers Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
wizard DEV: Revert "DEV: Update replaceWith on Route (#22645)" (#22693) 2023-07-19 10:47:31 -05:00
.licensee.json DEV: Update sub-dependencies (#22325) 2023-06-29 17:08:33 +02:00
.npmrc
discourse-js-processor.js DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
handlebars-shim.js
package.json Build(deps-dev): Bump patch-package in /app/assets/javascripts (#22844) 2023-07-28 00:58:36 +02:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FIX: Attempt to reconnect to server when browser visibilty changes (#22259) 2023-06-23 11:32:34 -05:00
yarn.lock Build(deps-dev): Bump eslint from 8.45.0 to 8.46.0 in /app/assets/javascripts (#22868) 2023-07-31 09:17:31 +08:00