Feature request: Buttons for "next commit" and "former commit" in commit view #1673

Closed
opened 2025-11-02 04:09:09 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @kernie on GitHub (Apr 3, 2018).

  • Gitea version (or commit ref): 1.4.0
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When opening the commit view to see code changes I would be happy to see somewhere a button which leads to the "next commit" and one that goes to the "former commit".

Reading thru commit changes involves too much clicks at the moment.

Thank you for this great software development tool!
Maarten
...

Screenshots

Originally created by @kernie on GitHub (Apr 3, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.4.0 - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description When opening the commit view to see code changes I would be happy to see somewhere a button which leads to the "next commit" and one that goes to the "former commit". Reading thru commit changes involves too much clicks at the moment. Thank you for this great software development tool! Maarten ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/enhancementissue/stale labels 2025-11-02 04:09:09 -06:00
Author
Owner

@vijfhoek commented on GitHub (Jun 4, 2018):

Note that the "former commit" button you mention already exists in the form of a "parent" button:

image

However, implementing the "next commit" button, or in git terminology browsing to a child commit, would be fairly more involved, considering a commit could have several children in case of branching.

I am not that well-versed in this part of git, but I can imagine it'd be fairly involved and maybe even quite an expensive operation, let alone the UI work needed to display all those children.

@vijfhoek commented on GitHub (Jun 4, 2018): Note that the "former commit" button you mention already exists in the form of a "parent" button: ![image](https://user-images.githubusercontent.com/345785/40945978-756a7d9a-685b-11e8-8567-d82c34b64d82.png) However, implementing the "next commit" button, or in git terminology browsing to a child commit, would be fairly more involved, considering a commit could have several children in case of branching. I am not that well-versed in this part of git, but I can imagine it'd be fairly involved and maybe even quite an expensive operation, let alone the UI work needed to display all those children.
Author
Owner

@stale[bot] commented on GitHub (Jan 24, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 24, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Feb 18, 2019):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Feb 18, 2019): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1673