Modernizing the Project Tree Plugin for Redmine 6

Open-source contribution

Starting point

In Redmine installations with thousands of projects, the built-in project overview loads all projects at once, and the 2019 plugin that addresses this is no longer compatible with Redmine 6 and Rails 7.

Challenge

In large Redmine installations with thousands of projects, the built-in project overview reaches its limits. It loads all projects at once, which overloads the page and makes it sluggish.

A plugin that closes this gap was created in 2019. With the move to Redmine 6 and Rails 7, it was no longer technically compatible:

  • changed routing conventions
  • new asset pipeline
  • stricter security and API rules
  • modernized controller signatures

The goal was a complete but clean rework without changing the original principle. The modernization is a contribution to a free project.

Solution

The plugin was technically modernized and brought up to current Rails conventions.

Plugin für Redmine 6 und Rails 7Aufruf, Aufklappenper AJAXBrowserProjektbaumRoutingBaumansicht,NachladenControllermit RechteprüfungViewHTML, CSS,JavaScriptProjektein Redmine
The tree view loads subprojects only when they are expanded. (Diagram labels in German.)
  • Plugin structure: Layout and registration adapted to Redmine 6.
  • Routing: Calling the tree view and loading subprojects realigned.
  • Controllers: Logic streamlined, permission checks unified.
  • Views: HTML structure revised, CSS and JavaScript integrated cleanly.
  • JavaScript: Expand/collapse and lazy loading reworked.
  • Assets: Icons and resources moved into a consistent system.

Do you have a similar project in mind?

I am happy to contribute my experience and support your implementation end-to-end.

Arrange an initial call