Rewrite Controls utils objects
Open
type/cleanup
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Feature Request
Here's a screenshot of the before (left) and after:

The biggest benefit is that when calling the function one doesn't have to use `.call(discussion)` anymore and the code becomes more readable. Another benefit is that you can call one utils function from another in the same file, which was previously impractical, since `this` was already bound to the discussion.
Applies to `PostControls`, `DiscussionControls`, `UserControls`. Can be done probably when converting these files to TypeScript.
Contributor guide
Assessment
This issue has not been assessed yet.