discourse/app/assets/javascripts/admin/addon/templates
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-badges UX: User badges tweaks (#20408) 2023-02-23 03:21:26 +01:00
logs DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
modal DEV: Convert theme-upload modal to component-based API (#22699) 2023-07-26 12:46:02 -05:00
admin-badges.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
admin.hbs DEV: Only show plugin tab for admin (#20841) 2023-03-27 16:08:16 +08:00
api-keys-index.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
api-keys-new.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
api-keys-show.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
api.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
backups-index.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
backups-logs.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
backups.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-colors-index.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-colors-show.hbs DEV: Correct hbs prettier violations 2023-02-02 13:03:11 +00:00
customize-colors.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-email-style-edit.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-email-style.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-email-templates-edit.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-email-templates.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-form-templates-edit.hbs DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
customize-form-templates-index.hbs DEV: Show active categories in form templates customize table (#20498) 2023-03-01 12:37:14 -08:00
customize-form-templates-new.hbs DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
customize-robots-txt.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-themes-edit.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-themes-index.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize-themes-show.hbs FEATURE: JSON editor for theme settings (#21647) 2023-07-27 13:48:59 -04:00
customize-themes.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
customize.hbs DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
dashboard_general.hbs DEV: Remove use of PluginOutlet @tagName argument in core 2023-01-31 12:15:37 +00:00
dashboard_moderation.hbs DEV: Rename all uses of PluginOutlet @args in core 2023-01-31 13:51:25 +00:00
dashboard_reports.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
dashboard_security.hbs DEV: Remove use of PluginOutlet @tagName argument in core 2023-01-31 12:15:37 +00:00
dashboard.hbs DEV: Remove use of PluginOutlet @tagName argument in core 2023-01-31 12:15:37 +00:00
email-advanced-test.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
email-bounced.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
email-index.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
email-preview-digest.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
email-received.hbs DEV: Add extra whitespace to tidy up prettified templates 2022-12-28 13:11:12 +00:00
email-rejected.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
email-sent.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
email-skipped.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
email.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
embedding.hbs FEATURE: Update topic/comment embedding parameters (#20181) 2023-02-28 14:31:59 +02:00
emojis.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
logs.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
permalinks.hbs DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
plugins-index.hbs FEATURE: display commit hash for each plugin on /admin/plugins page. (#22176) 2023-06-26 10:09:57 +05:30
plugins.hbs UX: move vertical admin plugin nav to horizontal overflow nav (#20319) 2023-02-17 10:21:30 -05:00
reports-show.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
search-logs-index.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
search-logs-term.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
site-settings-category.hbs FEATURE: Fuzzy search in site settings and raise limit to 100 matches (#21572) 2023-05-16 18:23:05 +10:00
site-settings.hbs FIX: Toggling overridden settings broke in #21572 (#22831) 2023-07-27 19:41:42 +02:00
site-text-edit.hbs DEV: Add endpoint for dismissing outdated translations (#22509) 2023-07-19 23:06:13 +08:00
site-text-index.hbs FEATURE: Warn about outdated translation overrides in admin dashboard (#22384) 2023-07-10 10:06:40 +08:00
site-text.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
user-badges.hbs FIX: Badge granting recursion error (#20750) 2023-03-20 21:07:21 +00:00
user-fields.hbs DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
user-index.hbs FEATURE: Count only approved flagged posts in user pages (#22799) 2023-07-31 13:33:10 +08:00
user-tl3-requirements.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
user.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
users-list-show.hbs FIX: update LoadMore selector for user tables (#20676) 2023-03-14 11:10:51 -04:00
users-list.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
watched-words-action.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
watched-words.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
web-hooks-edit.hbs DEV: Rename all uses of PluginOutlet @args in core 2023-01-31 13:51:25 +00:00
web-hooks-index.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
web-hooks-show.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
web-hooks.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00