プロジェクト

全般

プロフィール

Vote #81838

完了

Update Chart.js to 3.7.1

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Third-party libraries_47
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
47
version_id:
155
issue_org_id:
36701
author_id:
579843
assigned_to_id:
332
comments:
4
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Redmine is now using 2.8.0 which was released almost 3 years ago (14 Mar 2019). There are use cases in which plugin developers would want to use Chart.js but to use latest features they have to ship another js bundle.

"Chart.js 2.8.0":https://github.com/chartjs/Chart.js/releases/tag/v2.8.0
"Chart.js 3.7.1":https://github.com/chartjs/Chart.js/releases/tag/v3.7.1

I looked into code, there are only few usages, so it should not be hard to upgrade.

Also it would be nice to upgrade jQuery to latest (3.6.0 atm).
I wonder why jQuery is shipped in single bundle with jQueryUI and Rails UJS making them harder to upgrade.


journals

Please see #35729 for jQuery 3.6.0.

I'm in favour of updating the Chart.js library.
--------------------------------------------------------------------------------
Made an update following this guide: https://www.chartjs.org/docs/latest/getting-started/v3-migration.html
--------------------------------------------------------------------------------
Thank you for posting the patch. Charts on Issue summary page and repository page are displayed without problem.

Setting the target version to 5.0.0.
--------------------------------------------------------------------------------
Committed the patch. Thank you for your contribution.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリThird-party libraries_47 にセット
  • 対象バージョン5.0.0_155 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0