Add "Compare" link/button #13229

Open
opened 2025-11-02 10:35:37 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @kuraga on GitHub (Jul 3, 2024).

Feature Description

Good day!

I feel lack of the Compare link/button.

Don't really understand, how do I compare (as a user) two commit's or release's sources? What should I click?

Propose to add the Compare link/buttons:

  • on the repository page,
  • on the commit page,
  • on the release page,
  • on the tag page,
  • on the commits page (for each commit item),
  • on the tags page (for each tag item),
  • on the releases page (for each release item).

Thanks!

Screenshots

No response

Originally created by @kuraga on GitHub (Jul 3, 2024). ### Feature Description Good day! I feel lack of the `Compare` link/button. Don't really understand, how do I compare (as a user) two commit's or release's sources? What should I click? Propose to add the `Compare` link/buttons: * on the repository page, * on the commit page, * on the release page, * on the tag page, * on the commits page (for each commit item), * on the tags page (for each tag item), * on the releases page (for each release item). Thanks! ### Screenshots _No response_
GiteaMirror added the topic/ui-interactiontype/proposal labels 2025-11-02 10:35:37 -06:00
Author
Owner

@kemzeb commented on GitHub (Jul 3, 2024):

I don't see any associated Gitea documentation (which maybe should be there), but you can compare two commits/tags/branches by following the steps mentioned in the GitHub docs.

It was introduced in #6991, and after manually testing it by following these docs it works fine.

This does not mean we should blindly follow GitHub; I would welcome some way to access this compare web UI in a more convenient way.

@kemzeb commented on GitHub (Jul 3, 2024): I don't see any associated Gitea documentation (which maybe should be there), but you can compare two commits/tags/branches by following the steps mentioned in the GitHub [docs](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/viewing-and-comparing-commits/comparing-commits#comparing-commits). It was introduced in #6991, and after manually testing it by following these docs it works fine. This does not mean we should blindly follow GitHub; I would welcome some way to access this compare web UI in a more convenient way.
Author
Owner

@jpVm5jYYRE1VIKL commented on GitHub (Jan 7, 2025):

i think it will be super good to have possibility to compare in history what changed per file between commits because sometimes commits could be very big and contain a lot of files.

@jpVm5jYYRE1VIKL commented on GitHub (Jan 7, 2025): i think it will be super good to have possibility to compare in history what changed per file between commits because sometimes commits could be very big and contain a lot of files.
Author
Owner

@lunny commented on GitHub (Jan 7, 2025):

I'm starting #32786 to make these features easier to implement.

@lunny commented on GitHub (Jan 7, 2025): I'm starting #32786 to make these features easier to implement.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13229