go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.26k stars 5.43k forks source link

Activity Heatmap: Also show date on zero-contribution-squares #24607

Open evur opened 1 year ago

evur commented 1 year ago

Feature Description

Currently when hovering over a square in the activity heatmap, which has 0 contributions, the date of the square is not shown. So my proposal is to format them the same as squares with contributions.

For example: <b>No contributions</b> on May 7, 2023

Screenshots

image

yp05327 commented 6 months ago

By default, it is supported by Heatmap, you can check the example here: https://razorness.github.io/vue3-calendar-heatmap/#example-2

But the locale was added in Gitea: image And it will render locale.no_contributions instead of what you want: image