-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Clear labels should remove checkmarks in popup #22222
Comments
I only have the I also checked for JS errors or something, but none are printed out in the console. I do not have any reloads happening, and I also do not have the case where it does not work at all. |
The problem is highly liked caused by a server/network problem. At the moment, the "label" works like this:
If any request in step 3 fails, the page won't be reloaded, then you see the stale page. If you could help to figure out why step 3 fails, it would be very helpful. |
Tested it just now again on https://try.gitea.io. Still almost the same behavior for me. The only difference from my initial report is that the popup stays open during step 5. No requests are made at all when I change the labels. Never had the Promise issue @KN4CK3R describes. Gitea Version1.20.0+dev-48-g04347eb81 Operating SystemPop!_OS 22.04 LTS 6.1.11-76060111-generic Browser VersionFirefox 110.0 (64-bit) |
Update: see below. It is a bug on "New Issue" page. Sorry for the misunderstanding ..... That's really strange. I just did a new test on try.gitea.io , I can clear lables and add labels. Firefox 110.0.1 (64-bit) (it couldn't be related to browser IMO) |
Oh, sorry, I see, you mean "New Issue"? That page seems to be broken for long time .... I could take a look if I get time. Thank you for your report. |
The fix: #23224 ps: I didn't change the "clear" behavior for hiding (although maybe it's better to hide after clearing). |
…clear (#23224) Regression of #10107 (https://github.com/go-gitea/gitea/pull/10107/files#diff-a15e36f2f9c13339f7fdd38bc2887db2ff2945cb8434464318ab9105fcc846bdR460) Fix #22222 Before: the "clear" action couldn't remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222212998-c9f33459-b71d-4e80-8588-2935f3b7050c.png) After: the "clear" action can remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222213048-2be98ed0-cac0-4e27-b72c-1dd0ac2637d5.png)
…clear (go-gitea#23224) Regression of go-gitea#10107 (https://github.com/go-gitea/gitea/pull/10107/files#diff-a15e36f2f9c13339f7fdd38bc2887db2ff2945cb8434464318ab9105fcc846bdR460) Fix go-gitea#22222 Before: the "clear" action couldn't remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222212998-c9f33459-b71d-4e80-8588-2935f3b7050c.png) After: the "clear" action can remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222213048-2be98ed0-cac0-4e27-b72c-1dd0ac2637d5.png)
…clear (go-gitea#23224) Regression of go-gitea#10107 (https://github.com/go-gitea/gitea/pull/10107/files#diff-a15e36f2f9c13339f7fdd38bc2887db2ff2945cb8434464318ab9105fcc846bdR460) Fix go-gitea#22222 Before: the "clear" action couldn't remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222212998-c9f33459-b71d-4e80-8588-2935f3b7050c.png) After: the "clear" action can remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222213048-2be98ed0-cac0-4e27-b72c-1dd0ac2637d5.png)
…clear (#23224) (#23228) Backport #23224 Regression of #10107 (https://github.com/go-gitea/gitea/pull/10107/files#diff-a15e36f2f9c13339f7fdd38bc2887db2ff2945cb8434464318ab9105fcc846bdR460) Fix #22222 Before: the "clear" action couldn't remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222212998-c9f33459-b71d-4e80-8588-2935f3b7050c.png) After: the "clear" action can remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222213048-2be98ed0-cac0-4e27-b72c-1dd0ac2637d5.png) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
…clear (#23224) (#23226) Backport #23224 Regression of #10107 (https://github.com/go-gitea/gitea/pull/10107/files#diff-a15e36f2f9c13339f7fdd38bc2887db2ff2945cb8434464318ab9105fcc846bdR460) Fix #22222 Before: the "clear" action couldn't remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222212998-c9f33459-b71d-4e80-8588-2935f3b7050c.png) After: the "clear" action can remove these check marks. ![image](https://user-images.githubusercontent.com/2114189/222213048-2be98ed0-cac0-4e27-b72c-1dd0ac2637d5.png) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Description
On the "New issue" or "New Pull Request" page in the "Labels" popup, the "Clear labels" function does not remove the checkmarks in the label list.
This can easily be reproduced:
The expected behavior would be, that the checkmarks also get removed when "Clear labels" is clicked.
Screenshots
Gitea Version
1.19.0+dev-223-gea5a752ee
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
Pop!_OS 22.04 LTS 6.0.6-76060006-generic
Browser Version
Firefox 108.0 (64-bit)
The text was updated successfully, but these errors were encountered: