Kris
5d248b8843
UX: update emoji, better icon match ( #122 )
2025-03-21 17:49:19 -04:00
David Taylor
aa9d623db3
DEV: Remove unused modifyClass ( #119 )
...
The controller customizations are unused since 89962793d0
2025-03-05 10:12:04 +00:00
David Taylor
2f3eff4b81
DEV: Bump dependencies and fix linting ( #115 )
2025-02-06 17:59:02 +01:00
David Taylor
b7181ad632
DEV: Colocate component templates ( #113 )
2025-01-09 17:43:37 +01:00
Kelv
3ab669819e
DEV: Update more deprecated Font Awesome icon names ( #112 )
...
* DEV: Update more deprecated Font Awesome icon names
* update to pencil
2024-12-06 20:31:37 +01:00
Kelv
2075b3b748
DEV: Update deprecated Font Awesome icon names ( #111 )
2024-12-04 02:36:28 +01:00
David Taylor
ff810c65d8
DEV: Convert to native class syntax ( #110 )
2024-11-29 16:43:16 +01:00
David Taylor
3416703681
DEV: Update linting ( #108 )
2024-11-20 18:35:44 +01:00
David Taylor
ff6bae408f
DEV: Update eslint config ( #106 )
2024-11-19 11:32:28 +01:00
Jarek Radosz
5a44de5714
DEV: Resolve `getOwner` deprecations ( #97 )
2024-07-05 22:00:31 +02:00
David Taylor
31e41f2212
DEV: Modernize user card connector and resolve deprecations ( #96 )
...
Removes deprecated `parentView` access, and `getOwner`
2024-07-03 10:23:20 +01:00
Jarek Radosz
d46e783d9f
DEV: Update linting ( #89 )
2024-01-16 17:48:29 +01:00
Jarek Radosz
48be65a14f
FIX: Use the correct container ( #88 )
2023-12-15 14:45:43 +01:00
Kelv
279af22bcc
DEV: upgrade user-notes-modal to glimmer and new DModal API ( #87 )
...
* DEV: upgrade user-notes-modal to glimmer and new DModal API
* CSS cleanup
---------
Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
2023-11-27 17:18:37 +08:00
Kelv
6b66a06174
FIX: restore button to add user notes to post admin menu ( #85 )
...
* FIX: use api.addPostAdminMenuButton for modifying post admin menu instead of widget
We use app events here to force refresh of specific post, as previously the behaviour of the widget would trigger the re-render at the same time as the primary actions. This could also be handled in the modal instead of via the action passed by the button.
---------
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2023-10-26 18:07:30 +08:00
Keegan George
20f8f68d12
FIX: Note info not appearing ( #82 )
2023-08-15 11:05:53 -07:00
David Taylor
494a7a80e5
DEV: Update eslint-config-discourse, use prettier for hbs ( #72 )
2023-01-04 13:40:39 +01:00
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
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
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