1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 13:49:13 -05:00
forgejo/web_src/js/components
Gusted a3fc16bb03
[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:42:14 +02:00
..
.eslintrc.yaml Implement contributors graph (#27882) 2024-02-17 23:24:31 +01:00
ActionRunStatus.vue Fix incorrect tailwind migration (#30007) 2024-03-26 19:04:27 +01:00
ActivityHeatmap.vue Enforce trailing comma in JS on multiline (#30002) 2024-03-26 19:04:27 +01:00
ContextPopup.test.js [BUG] Render emojis in labels in issue info popup 2024-03-30 11:18:46 +01:00
ContextPopup.vue [PORT] gitea##30237: Fix and rewrite contrast color calculation, fix project-related bugs 2024-04-15 16:11:34 +02:00
DashboardRepoList.vue Fixed link to commit status and tooltip on dashboard 2024-07-14 17:39:35 +00:00
DiffCommitSelector.vue Migrate font-family to tailwind (#30118) 2024-03-30 07:17:32 +01:00
DiffFileList.vue Migrate font-family to tailwind (#30118) 2024-03-30 07:17:32 +01:00
DiffFileTree.vue Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
DiffFileTreeItem.vue Enforce trailing comma in JS on multiline (#30002) 2024-03-26 19:04:27 +01:00
PullRequestMergeForm.vue Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
RepoActionView.test.js Add frontend test 2024-04-23 15:55:39 +02:00
RepoActionView.vue Merge pull request 'Adds support for log-line groups' (#3337) from Mai-Lapyst/forgejo:actions-add-logline-groups into forgejo 2024-04-23 14:32:23 +00:00
RepoActivityTopAuthors.vue [UI] Replace vue-bar-graph with chart.js 2024-07-20 14:42:14 +02:00
RepoBranchTagSelector.vue Fix long branch name overflows (https://github.com/go-gitea/gitea/pull/30345) 2024-05-24 22:11:37 +05:00
RepoCodeFrequency.vue Have time.js use UTC-related getters/setters (#30857) 2024-05-12 20:03:09 +02:00
RepoContributors.vue Fix Activity Page Contributors dropdown (#31264) 2024-06-18 20:05:23 +02:00
RepoRecentCommits.vue Have time.js use UTC-related getters/setters (#30857) 2024-05-12 20:03:09 +02:00
ScopedAccessTokenSelector.vue Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00