mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-12-12 14:31:58 +01:00
f45928e608
- 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
|
||
---|---|---|
.. | ||
.eslintrc.yaml | ||
ActionRunStatus.vue | ||
ActivityHeatmap.vue | ||
ContextPopup.test.js | ||
ContextPopup.vue | ||
DashboardRepoList.vue | ||
DiffCommitSelector.vue | ||
DiffFileList.vue | ||
DiffFileTree.vue | ||
DiffFileTreeItem.vue | ||
PullRequestMergeForm.vue | ||
RepoActionView.vue | ||
RepoActivityTopAuthors.vue | ||
RepoBranchTagSelector.vue | ||
RepoCodeFrequency.vue | ||
RepoContributors.vue | ||
RepoRecentCommits.vue | ||
ScopedAccessTokenSelector.vue |