Diff stats in PR tab bar #11045

Closed
opened 2025-11-02 09:26:01 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @silverwind on GitHub (Jun 17, 2023).

Feature Description

It would be nice if we could show a diff stat on the right side of the PR tab bar.

Screenshots

image
Originally created by @silverwind on GitHub (Jun 17, 2023). ### Feature Description It would be nice if we could show a diff stat on the right side of the PR tab bar. ### Screenshots <img width="1227" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/a7e92e71-0b8e-4cd3-a5a5-521c7db812a2">
GiteaMirror added the proposal/acceptedtype/feature labels 2025-11-02 09:26:01 -06:00
Author
Owner

@hiifong commented on GitHub (Jun 18, 2023):

How to calculate the number of squares is a problem?

@hiifong commented on GitHub (Jun 18, 2023): How to calculate the number of squares is a problem?
Author
Owner

@silverwind commented on GitHub (Jun 18, 2023):

We don't have squares in the file header either, so a "fluid" bar like there will do.

image
@silverwind commented on GitHub (Jun 18, 2023): We don't have squares in the file header either, so a "fluid" bar like there will do. <img width="260" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/a34e7dc2-f131-481b-8d8e-80a2c8e4f6f8">
Author
Owner

@hiifong commented on GitHub (Jun 19, 2023):

Which method is called by default when the path {user}/{repo}/pull/{index} is requested,
image
image

@hiifong commented on GitHub (Jun 19, 2023): Which method is called by default when the path `{user}/{repo}/pull/{index}` is requested, ![image](https://github.com/go-gitea/gitea/assets/89133723/c77ba4e4-4163-44f8-8633-1f2229839a8f) ![image](https://github.com/go-gitea/gitea/assets/89133723/5e4f4541-6577-4be6-9f14-6fc0d3b6ad21)
Author
Owner

@silverwind commented on GitHub (Jun 19, 2023):

Keep note that it should show an all tabs, e.g. the relevant context data needs to be added to GET /files and /commits as well.

@silverwind commented on GitHub (Jun 19, 2023): Keep note that it should show an all tabs, e.g. the relevant context data needs to be added to GET `/files` and `/commits` as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11045