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

Group check results by filename in admin #456

Open
barrykooij opened this issue Apr 19, 2024 · 3 comments
Open

Group check results by filename in admin #456

barrykooij opened this issue Apr 19, 2024 · 3 comments
Labels
[Type] Enhancement A suggestion for improvement of an existing feature WP Admin Issues for the WP Admin screen

Comments

@barrykooij
Copy link
Member

barrykooij commented Apr 19, 2024

We're currently already group / separate the check results by filename. I suggest have only 1 table per filename and appending new findings to a filename table if it already exists.

image

@barrykooij barrykooij added [Type] Enhancement A suggestion for improvement of an existing feature WP Admin Issues for the WP Admin screen labels Apr 19, 2024
@swissspidy
Copy link
Member

The results page can indeed be quite confusing because there's no indication how results are grouped and why there can be multiple tables per file.

Right now all the tests are run in sequence using Ajax and each check reports its own errors & the files where it found them in. As the check progresses, results are printed.

Grouping results per file while this is in progress is probably not as straightforward and could lead to odd experience, as the page might be shuffled around multiple times.

It might be easier to just show a spinner while the checks are in progress, and then do the grouping at the end before displaying the final results.

@davidperezgar
Copy link
Member

I would suggest to group by Check so we could make an explanation for all of them. Now is confusing for users and we are not giving a guidance for solving the problems.

@ernilambar
Copy link
Member

We should also consider another part. Large plugins would take more than a minute to complete all checks. Time will be even higher if plugin is active. Showing spinner for such a long time will be bad UX. So we should find a middle ground.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement of an existing feature WP Admin Issues for the WP Admin screen
Projects
None yet
Development

No branches or pull requests

4 participants