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

Incorrect selection behavior at repo list , on the left side of the issues page. #26653

Closed
zjjhot opened this issue Aug 22, 2023 · 1 comment · Fixed by #26657
Closed

Incorrect selection behavior at repo list , on the left side of the issues page. #26653

zjjhot opened this issue Aug 22, 2023 · 1 comment · Fixed by #26657
Labels

Comments

@zjjhot
Copy link
Contributor

zjjhot commented Aug 22, 2023

Description

this url : https://your-gitea-url/issues

When entering the issues page for the first time, the repo list on the left is all-selected state.
This resulted in a STRANGE behavior:
When I click on a repo name in the list, the actual result is that the issue title list on the right side excludes the repo I just clicked on.
The EXPECTED effect should be, which repo(s) did I choose and which repo(s) issue list should be displayed on the right side.

image

Gitea Version

main branch

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

1.21.0-dev

Operating System

windows

How are you running Gitea?

windows exe

Database

MSSQL

@CaiCandong
Copy link
Member

Current selected all:

image

Correctly selected all:

image

techknowlogick pushed a commit that referenced this issue Aug 23, 2023
This PR has multiple parts, and I didn't split them because
it's not easy to test them separately since they are all about the
dashboard page for issues.

1. Support counting issues via indexer to fix #26361
2. Fix repo selection so it also fixes #26653
3. Keep keywords in filter links.

The first two are regressions of #26012.

After:

https://github.com/go-gitea/gitea/assets/9418365/71dfea7e-d9e2-42b6-851a-cc081435c946

Thanks to @CaiCandong  for helping with some tests.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants