WordPress / WordPress/plugin-check

Proposal: Add “Collapse” and “Expand” Controls to Results Page

Open
#1,334 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
362
Forks
126
Avg merge
1d 23h
Merged PRs (30d)
22

Description

While reviewing my own plugin with Plugin Check, I noticed that reports can become quite difficult to navigate when there are many warnings, errors, or notices spread across multiple files.

Each file section is currently expanded/collapsed individually, which can result in a lot of scrolling and clicking when working through larger reports.

I experimented with a small UI enhancement locally by adding two actions above the results list:

  • Collapse All
  • Expand All

These controls allow developers to quickly collapse or expand all file sections at once, making it much easier to review and navigate long reports.

Benefits

  • Reduces excessive scrolling on large reports
  • Improves navigation between files
  • Makes reviewing issues more efficient
  • Provides a better user experience for larger plugins

Example

I created a quick proof of concept locally and found it significantly improved the workflow when reviewing Plugin Check results with many issues.

Image

Thank you for considering this enhancement. I’d be happy to contribute a patch if this is something the team would be interested in adding.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the results page and inspect the existing per-file expand/collapse controls and their surrounding UI. Confirm that the proposed actions apply to every file section, then verify that Collapse All and Expand All make long reports easier to navigate.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.