Project

General

Profile

Actions

Patch #43845

open

Remove the Raphael.js dependency and use the SVG API

Added by Mizuki ISHIKAWA about 18 hours ago. Updated about 15 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Third-party libraries
Target version:

Description

This issue proposes removing Redmine's dependency on Raphael.js.
The attached patch removes Raphael.js loading and related code, and unifies rendering on direct SVG drawing.

Background

  • The latest Raphael.js release is 2.3.0 (Aug 14, 2019).
  • Raphael.js was historically useful for SVG/VML compatibility, but VML is already deprecated, and Redmine no longer supports Internet Explorer.
  • In Redmine, Raphael.js is currently used only for relatively simple features, such as rendering the revision graph and some lines in the Gantt chart.

Proposal

  • Remove Raphael.js loading and related code
  • Switch to direct SVG generation in JavaScript

This should reduce frontend dependencies and improve long-term maintainability.

Screenshots

Before change After change

Files


Related issues

Blocks Redmine - Patch #43800: Manage third-party license files in doc/licenses directoryNewActions
Actions

Also available in: Atom PDF