Commit Graph

59 Commits

Author SHA1 Message Date
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
Kris a724069dc1 FIX: adding margin to notes icon on mobile 2018-02-27 13:35:18 -05:00
Robin Ward 70b417272a FIX: Attach to the post so widgets can extend it better 2018-02-15 16:44:44 -05:00
Robin Ward 87825a8f51 Add a link to the post of the staff note, if provided 2018-01-16 15:40:46 -05:00
Robin Ward e1e2d0b9fe FIX: Support proper disabling of the plugin by name 2017-11-10 15:09:40 -05:00
Robin Ward 99ab454c74 UX: Add staff notes to admin user profile 2017-11-09 14:19:08 -05:00
Robin Ward 89962793d0 Update to new Connector API 2016-12-12 11:54:43 -05:00
Robin Ward 4203097376 Backwards compatibility for views for now 2016-11-24 11:22:39 -05:00
Robin Ward 8560859817 FIX: Yet another missing Ajax! 2016-11-04 10:41:50 -04:00
Régis Hanol d9db406967 FIX: 'fa-icon' import was renamed 2016-09-22 16:42:34 +02:00
Guo Xiang Tan 92532eff6e FIX: Handle case when emoji is disabled. 2016-07-29 12:07:45 +08:00
Guo Xiang Tan 06c35cc41a FIX: Don't show staff notes on user profile when disabled. 2016-07-29 11:54:09 +08:00
Robin Ward 228462b159 UX: Add confirmation when deleting a staff note 2016-04-01 12:35:03 -04:00
Arpit Jalan 550d5c73f4 FIX: staff notes button should only be visible to staff 2016-03-24 09:15:59 +05:30
Robin Ward 4c14cc59f0 UX: Move icon on mobile to somewhere better 2016-03-23 14:43:50 -04:00
Robin Ward 3444a161b9 FEATURE: Option to disallow moderators from removing staff notes 2016-03-16 15:16:18 -04:00