mirror of
1
Fork 0
forgejo/web_src
Gusted f45928e608
[UI] Replace `vue-bar-graph` with `chart.js`
- Backport of #4571
- The usage of the `vue-bar-graph` is complicated, because of the `GSAP`
dependency they pull in, the dependency uses a non-free license.
- The code is rewritten to use the `chart.js` library, which is already
used to draw other charts in the activity tab. Due to the limitation of
`chart.js`, we have to create a plugin in order to have images as labels
and do click handling for those images.
- The chart isn't the same as the previous one, once again simply due to
how `chart.js` works, the amount of commits isn't drawn anymore in the
bar, you instead have to hover over it or look at the y-axis.
- Resolves #4569

(cherry picked from commit a83002679d)
2024-07-20 14:56:25 +02:00
..
css [UI] Replace `vue-bar-graph` with `chart.js` 2024-07-20 14:56:25 +02:00
fomantic Remove fomantic checkbox module (#30162) (#30168) 2024-04-08 11:28:31 +02:00
js [UI] Replace `vue-bar-graph` with `chart.js` 2024-07-20 14:56:25 +02:00
svg Customizable "Open with" applications for repository clone (#29320) 2024-03-23 11:58:54 +01:00