Conversation
|
@rica-carv Yes, you are fixing problem for you, but others can have other opinion. PR should be created only if there is approved approach to solve issue like this. Your PR is related to this: If I got it right, you are hidding delete button if user is moderator. This is not correct for me. User should always had option to delete post if:
Moderator should see delete button, if:
Do you see what I mean? It is opposite approach then yours, this should be discussed and only after final solution PR should be created. To complicate things:
So, yes, this is something what should be solved, but not by direct PR, by discussing and making rules. For example, I don't know why only last post can be deleted by moderator. This is example of next approach (changed label "mod" - to let know you are deleting post as moderator): Just my 2 cents. |
Moderator already can see the user buttons, so why had duplicated buttons that do the same thing? To add confusion? I know that the forum plugin needs a major rework, but it's scheduled to do, but.... |
You prefer delete button in moderator's section, I prefer delete button in user section and hide it for moderator . The same thing but different approach. |
|
Code Climate has analyzed commit b8a0177 and detected 1 issue on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 100.0% (80% is the threshold). This pull request will bring the total coverage in the repository to 48.9% (0.0% change). View more on Code Climate. |


Motivation and Context
Prevent duplicated delete buttons when in moderator mode
Description
Added moderator check
How Has This Been Tested?
E107 latest github
Types of Changes
Checklist