forgejo/web_src/js/components
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
..
.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 14:31:06 +00:00
ContextPopup.vue [PORT] gitea##30237: Fix and rewrite contrast color calculation, fix project-related bugs 2024-05-14 15:50:47 +02:00
DashboardRepoList.vue Fixed link to commit status and tooltip on dashboard 2024-07-14 20:09:59 +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.vue Fix various overflows on actions view (#30344) (#30505) 2024-04-21 18:07:00 +02:00
RepoActivityTopAuthors.vue [UI] Replace vue-bar-graph with chart.js 2024-07-20 14:56:25 +02:00
RepoBranchTagSelector.vue Refactor all .length === 0 patterns in JS (#30045) 2024-03-30 07:17:30 +01:00
RepoCodeFrequency.vue Have time.js use UTC-related getters/setters (#30857) (#30869) 2024-05-14 15:25:52 +02:00
RepoContributors.vue Fix Activity Page Contributors dropdown (#31264) 2024-06-18 19:42:31 +00:00
RepoRecentCommits.vue Have time.js use UTC-related getters/setters (#30857) (#30869) 2024-05-14 15:25:52 +02:00
ScopedAccessTokenSelector.vue Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00