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.48k stars 5.44k forks source link

`Show Stats` does nothing #32226

Open kuraga opened 2 hours ago

kuraga commented 2 hours ago

Description

No response

Screenshots

  1. Go to https://demo.gitea.com/kuraga/test/pulls/3/files

image

  1. Click ... (Diff Options).
  2. Click Show Stats.
  3. Nothing happened?

image

  1. Show Stats went gray.
  2. Click Show Stats.
  3. Nothing happened?
  4. Click ... (Diff Options).
  5. Show Stats didn't switch back from gray.

image

Gitea Version

1.23.0+dev-534-gf4b8f6fc40

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Calculate Linux (Gentoo-based)

Browser Version

129.0.6668.89 (Official build), (64 bit)

wxiaoguang commented 2 hours ago

It seems to be a regression bug in 1.23 (not in 1.22)

wxiaoguang commented 1 hour ago

OK, not really a regression:

Well, a strange UI design.


https://demo.gitea.com/wxiaoguang/test1/pulls/3/files

https://demo.gitea.com/wxiaoguang/test1/pulls/4/files

image

image

kuraga commented 1 hour ago

...and non-un-highlighting Show Stats...

wxiaoguang commented 1 hour ago

...and non-un-highlighting Show Stats...

Yup, that's another UI problem. Not only Show Stats, most items in a dropdrown which don't refresh the page would have the same problem.