1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 13:19:37 -05:00
forgejo/templates
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
..
admin Fix some URLs whose sub-path is missing (#31289) 2024-06-09 12:05:43 +02:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 22:23:58 +00:00
base Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Fix some URLs whose sub-path is missing (#31289) 2024-06-09 12:05:43 +02:00
explore Rename repo_updated to repo_updated_v7 to prevent regressions (#4117) 2024-06-14 13:26:46 +00:00
mail Rename Str2html to SanitizeHTML and clarify its behavior (followup) (take 2) 2024-05-13 18:38:48 +00:00
org [BUG] Fix mobile UI for organisation creation 2024-07-08 18:48:58 +00:00
package Fix: Name conan remote forgejo 2024-07-12 13:28:14 +00:00
projects Remove .segment from .project-column (#31204) (#31239) 2024-06-09 11:47:34 +02:00
repo [UI] Replace vue-bar-graph with chart.js 2024-07-20 14:56:25 +02:00
shared Optimize runner-tags layout to enhance visual experience (#31258) (#31263) 2024-06-09 11:57:05 +02:00
status Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
swagger [SWAGGER] Make it consistent with reality 2024-06-19 06:40:17 +00:00
user Fix some URLs whose sub-path is missing (#31289) 2024-06-09 12:05:43 +02:00
webhook [FEAT] sourcehut webhooks 2024-04-05 19:36:04 +00:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
install.tmpl Fix some UI problems (install) (#30854) 2024-05-16 13:22:15 +00:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00