Selase Krakani
353a00701f
FIX: Use period filters passed into plugin for admin reports ( #67 )
...
This replaces previously undefined period filters passed into
`AdminReport` component with args passed in from core
2022-11-25 00:50:22 +00:00
Selase Krakani
a9d6614526
DEV: Adopt modern ember primitives ( #66 )
...
Modernise components and controllers
2022-11-22 12:30:03 +00:00
Jan Cernik
db8479fbce
DEV: Replace bootbox confirm dialog ( #64 )
2022-10-27 16:21:54 -03:00
chapoi
ce0c433d53
UX: add btn-default class ( #62 )
2022-07-15 16:44:26 +02:00
Jarek Radosz
d4fe487e8d
DEV: Loading sanitizer was deprecated 6 years ago ( #61 )
...
in 3d21805022
2022-07-13 01:30:10 +02:00
Jarek Radosz
a7dcbf0765
DEV: Update linting setup and fix issues ( #58 )
2022-06-17 15:25:17 +02:00
Isaac Janzen
3f06516cf6
DEV: Remove use of run-loop-and-computed-dot-access ( #57 )
...
Context: https://deprecations.emberjs.com/v3.x/#toc_deprecated-run-loop-and-computed-dot-access
2022-06-17 15:01:51 +02:00
Roman Rizzi
549f46d62c
FIX: Make sure the user is an EmberObject. ( #53 )
...
User is a plain JSON object due to discourse-chat fetching a flagged message's user differently than other reviewables. While we work on making things consistent, let's make sure the user is always an EmberObject before calling get
on it.
2022-04-26 10:29:35 -03:00
Jarek Radosz
552c25a840
DEV: Fix imports ( #51 )
2022-03-07 00:32:37 +01:00
Jarek Radosz
7f05e6877d
DEV: Lose the es6 suffix ( #50 )
2022-03-07 00:20:28 +01:00
Jarek Radosz
549f76495d
DEV: Fix `store:main` deprecation ( #45 )
...
* DEV: Fix `store:main` deprecation
* more
2021-11-20 02:55:40 +01:00
Martin Brennan
8abc3ed1fb
DEV: Update code for eslint object-shorthand-rule ( #44 )
...
See 4f7aba06c0
2021-11-10 12:00:25 +11:00
Penar Musaraj
6713e8c541
UX: Fix alignment of user profile buttons ( #43 )
2021-09-27 18:03:39 -04:00
janzenisaac
1c72862328
Fix Plugin Depreciations ( #41 )
...
Co-authored-by: Isaac Janzen <isaac@brandnewbox.com>
2021-09-12 19:50:25 +02:00
Jordan Vidrine
737f3fdb0c
Add border to top of add-user-note button ( #39 )
2021-08-03 09:43:48 -05:00
Penar Musaraj
31dcacbbdc
DEV: Remove SCSS color vars fallbacks ( #33 )
2021-05-12 16:23:23 -04:00
Joffrey JAFFEUX
1326c7d07f
DEV: apply ember-template-lint fixes ( #29 )
2021-04-27 12:01:59 +02:00
Roman Rizzi
a50c72e769
UX: "Show post" should be a link so admins can open the post in a new tab. ( #27 )
2021-04-06 17:05:36 -03:00
Joffrey JAFFEUX
7f80369891
DEV: apply coding standards ( #17 )
2020-09-04 13:20:35 +02:00
Penar Musaraj
87971bbb36
Use CSS custom properties for SCSS colors
2020-08-05 15:45:02 -04:00
jjaffeux
d0dcad9635
FIX: ensures edit user notes button is created with correct HTML
2020-05-30 08:21:12 +02:00
jjaffeux
6e284b9283
FIX: ensures admin menu is closing when choosing this action
...
It was especially not working on android.
2020-05-13 17:46:43 +02:00
Jeff Wong
57c5bfa6a2
DEV: import ember controller
2020-04-20 17:50:33 -07:00
Jeff Wong
1b89def89e
DEV: remove global Ember usage.
...
Remove Ember from lint globals, along with jquery globals
2020-04-20 17:22:57 -07:00
Jeff Wong
ec025b4c93
DEV: use discourse-common import over ember-addons
2020-04-20 16:21:43 -07:00
Jeff Wong
186b94c384
DEV: use decorators for observes and init
...
on and observes produce deprecated warnings - use decorators instead
2020-04-20 16:15:28 -07:00
Jeff Wong
dea80b5ed8
FIX: Do not render if there is no user
2020-04-14 10:25:47 -07:00
Jeff Wong
1a60f5670f
Update staff note icon to appear on reviewable
...
Flagged posts have been folded into the review queue - this makes
staff notes appear on the flags in the review queue
Icon appears as a shorthand pencil emoji
2020-04-08 15:12:20 -07:00
Roman Rizzi
f94c9aaab3
FIX: We should always close the modal when clicking the show post button ( #14 )
2020-03-06 09:19:49 -03:00
Penar Musaraj
a43901c81c
Fix deprecated icon reference
2019-12-13 15:00:03 -05:00
Joffrey JAFFEUX
b06ca4e2aa
prettier
2019-10-02 19:45:27 +02:00
Joffrey JAFFEUX
1ef308e4ff
REFACTOR: old patterns and deprecations ( #12 )
2019-10-02 13:37:15 -04:00
Penar Musaraj
03366e344b
DEV: Rename files, functions and DB entries plus two small fixes
...
1. Shows the full list of notes for a user in the admin report (instead of just the first note).
2. Fixes a UI-only warning when adding or removing a note from the user card.
2019-07-24 22:58:08 -04:00
Joffrey JAFFEUX
65f01e6867
FIX: uses correct path
2019-07-24 21:42:37 +02:00
Kris
e706cc5819
Update setting names, readme, to reflect rename to user notes
2019-07-24 10:35:00 -04:00
Penar Musaraj
16c1887c91
Update deprecated icon names
2019-07-16 13:03:03 -04:00
Kris
9673e2cfc8
UX: Improve styling, rename staff notes to user notes in translations
2019-07-10 11:53:25 -04:00
Vinoth Kannan
b5cb662802
UX: Display staff notes popup instead of redirecting to user page
2019-03-20 08:07:28 +05:30
Vinoth Kannan
52338dd6eb
UX: Show staff notes icon in user card
...
If staff notes available then an icon will be displayed in user card by linking to user profile page
2019-03-14 21:04:16 +05:30
Jeff Wong
75bdf8eeb8
FEATURE: Reverse the order in which the notes are displayed
...
Attach note panel now appears at the top
2019-01-28 12:11:18 -08:00
David Taylor
89706d80e1
DEV: Apply prettier
2018-10-22 19:49:33 +01:00
Sam
f7fbdadf31
correct ordering so it renders near line 1
2018-10-02 13:17:37 +10:00
Sam
91ebd684b3
FIX: correct ordering of staff note icon
2018-10-02 12:59:00 +10:00
Joffrey JAFFEUX
e608b7af03
UI: uses trash-icon to delete staff note
2018-08-27 18:43:07 +02:00
Joffrey JAFFEUX
0d24d95375
FIX: do not try to add report to dashboard if disabled
2018-07-20 08:29:42 -04:00
Joffrey JAFFEUX
8b32408a3b
FEATURE: improves staff notes report to support dates
2018-07-19 21:51:11 -04:00
Joffrey JAFFEUX
e072f55f36
FEATURE: improves staff note report support
...
It will now appear in the new discourse core moderation tab in the dashboard
2018-07-19 14:39:52 -04:00
Robin Ward
166937b9c2
Widget settings to show staff notes under avatar instead of in name
2018-06-20 14:40:32 -04:00
Robin Ward
4724ae1223
Run prettier on the javascript
2018-06-20 14:34:29 -04:00
Robin Ward
3f5816204e
Show staff notes on flagged posts
2018-06-13 12:05:26 -04:00