-
Improvement
-
Resolution: Fixed
-
Critical
-
3.7
-
MOODLE_37_STABLE
-
MOODLE_37_STABLE
-
mod_forum-discussion-poc
-
Forum is a very old module in Moodle and has slowly evolved over time into a pretty complex system with lots of features. That evolution has made it costly (in terms of time and complexity) to add some of the more modern features we want. We need to change the forum rendering code to render using templates rather than HTML writer.
Part of the process to transition over to using templates will require us to model the forum data a bit better, add renderers, add exporters, and more formally structure the code.
The key benefit for moving to templates will be unlocking the ability to render parts of the forum using JavaScript which means we can add features such as inline replies, inline editing, starring, etc. Themers can also freely override templates to easily change the look and feel of the forum in their theme.
In addition, we will be able to structure the code a bit better to make it more maintainable for the future.