loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request '[UI] Fix misalignment of authors for repo acctivity' (#5003) from gusted/forgejo-fix-chartjs into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5003
Reviewed-by: Otto <otto@codeberg.org>

Otto f9ba7521 90e03e41

+10 -1
+10 -1
web_src/js/components/RepoActivityTopAuthors.vue
··· 68 68 display: false, 69 69 }, 70 70 ticks: { 71 - color: 'transparent', // Disable drawing of labels on the x-axis. 71 + // Disable the drawing of the labels on the x-asis and force them all 72 + // of them to be 'shown', this avoids them being internally skipped 73 + // for some data points. We rely on the internally generated ticks 74 + // to know where to draw our own ticks. Set rotation to 90 degree 75 + // and disable autoSkip. autoSkip is disabled to ensure no ticks are 76 + // skipped and rotation is set to avoid messing with the width of the chart. 77 + color: 'transparent', 78 + minRotation: 90, 79 + maxRotation: 90, 80 + autoSkip: false, 72 81 }, 73 82 }, 74 83 y: {