per1234
12. Oktober 2023 um 04:09
1
Priority/Severity:
Medium
Platform
Operating System
Browser
Google Chrome 117.0.5938.150 (Official Build) (64-bit)
Safari 17.0 (19616.1.27.211.1)
Discourse
e3e73a309185552fe70c3dce6def50665c7a94be
Discourse User Notes plugin 0.0.2 (317e97e
)
Description:
The “Discourse User Notes ” plugin provides two interfaces for staff members to add a “user note” to an account:
The “User Notes ” button on the user page.
The “Add User Note ” item in the “post admin options” menu:
The “Add User Note ” item is no longer shown in the “post admin options” menu.
Reproducible steps:
Log in to an account with staff privileges on a Discourse-based forum that has the “Discourse User Notes ” plugin enabled.
Click the wrench icon “post admin options” icon at the bottom of any post.
There is no “Add User Note ” item in the “post admin options” menu:
Additional context
I experience the fault on this Discourse-based forum (which uses a Discourse Enterprise hosting plan ):
The regression occurred sometime within the past few days at most.
The “Discourse User Notes ” plugin is enabled and I can view notes and add notes via the “User Notes ” button on the user page without any problems.
Due to the requirement for staff privileges, I am not able to check for the fault on other Discourse forums, so I don’t know whether the fault is specific to the configuration of Arduino Forum or universal to any Discourse instance.
2 „Gefällt mir“
Lilly
(Lillian Louis)
12. Oktober 2023 um 04:16
2
Hi @per1234 hmmm, I cannot reproduce this on any of my instances.
Have you tried safe mode with official plugins enabled? (disable last checkbox)
edit: have reproduced this
per1234
12. Oktober 2023 um 04:41
5
Thanks for your suggestion @Lilly . I can still reproduce the fault even when using the forum with that “safe mode ” configuration.
1 „Gefällt mir“
Lilly
(Lillian Louis)
12. Oktober 2023 um 04:46
6
Actually I can reproduce this. I mis-read the second part of your post as opposite (not appearing in the user profile admin) I get the user notes option everywhere I expect except for in the post-admin options
I too have a hosted instance running the latest beta2-dev.
I suspect it may have to do with recent updates to the admin-post-menu.gjs
file, and the plugin still using widgets:
api.decorateWidget("post-admin-menu:after", (dec) => {
return dec.h(
"ul",
dec.attach("post-admin-menu-button", {
icon: "pencil-alt",
label: "user_notes.attach",
action: "showUserNotes",
secondaryAction: "closeAdminMenu",
className: "add-user-note",
})
);
});
this topic seems related:
Hi @Sören_Geier - that’s correct, you’ll need to use plugin outlets to make changes in this part of the UI. Plugin outlets are a much more robust way to extend things, and will be more reliable across Discourse core updates.
If the existing Plugin Outlets don’t work for your use-case, then please let us know and we’ll be happy to look at introducing new ones.
In this case, you might be interested in the proposal in DEV: Add outlet and API for adding/controlling post selection buttons by keegan…
4 „Gefällt mir“
sam
(Sam Saffron)
13. Oktober 2023 um 00:46
9
We are having a look and will get this sorted in the next 30 days (maximum)
5 „Gefällt mir“
kelv
(Kelvin T)
26. Oktober 2023 um 10:12
13
8 „Gefällt mir“
This topic was automatically closed after 43 hours. New replies are no longer allowed.