Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show line counts in file header #8170

Closed
silverwind opened this issue Sep 13, 2019 · 0 comments · Fixed by #8396
Closed

Show line counts in file header #8170

silverwind opened this issue Sep 13, 2019 · 0 comments · Fixed by #8396
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@silverwind
Copy link
Member

The file header currently only shows file size:

Screen Shot 2019-09-13 at 10 35 48

It would be useful if it would also show the number of lines and possibly SLOC, like GitHub:

Screen Shot 2019-09-13 at 10 35 33

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Sep 13, 2019
silverwind added a commit to silverwind/gitea that referenced this issue Oct 6, 2019
Also reworked the header to remove the filename (which is redundant with
the file path above) and made the header a flexbox with a monospace
font.

Fixes: go-gitea#8170
techknowlogick pushed a commit that referenced this issue Oct 7, 2019
Also reworked the header to remove the filename (which is redundant with
the file path above) and made the header a flexbox with a monospace
font.

Fixes: #8170
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants