Problem/Motivation
Forums have today 4 templates that should be simplified.
It taste & feels a lot like the forum havent been really updated for a long time.
forums.html.twig
is the main wrapper that keeps forums, topic & pager inside it, markup is a div wrapper. Thats not needed.
forum-list.html.twig
Is the main forum overview.
forum-icon.html.twig
Contains a div & span that sets the icon for the forum That should be inside forum-list.html.twig where it belongs
forum-submitted.html.twig
Is the by user on date snippet on a forum, should be in the forum-list.html, the seperation here makes little sense, feels like its leftover from wayback.
Looking at these templates it should be merged down to 1-2 files.
Proposed resolution
Merge forum-icon.html.twig
& forum-submitted.html.twig
into forum-list.html.twig and rename the file to be called forum.html.twig
Remaining tasks
get it done
Comments
Comment #1
mortendk CreditAttribution: mortendk commentedComment #2
Nitesh Pawar CreditAttribution: Nitesh Pawar commentedComment #15
quietone CreditAttribution: quietone at PreviousNext commentedForum is approved for removal. See #1898812: [policy] Deprecate forum module for removal in Drupal 11
This is now Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
It will be moved to the contributed extension once the Drupal 11 branch is open.