kernelci / kernelci/dashboard

Tests table: auto expand/don't group if group has only one item.

Open
#2,013 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
31
Avg merge
3d 19h
Merged PRs (30d)
16

Description

The tests table in `/test///` groups tests by their path. However, in many cases paths have only one test or subpath associated with them. I suggest ignoring grouping if it groups only one item, to ease navigation.

With this change, a tree that looks like this:
```
.
├── A
│ └── p
├── B
│ └── C
│ ├── q
│ ├── r
│ └── s
└── D
│ └── E
│ └── t
└── F
└── G
├── H
│ └── u
└── I
└── v
```

Would instead look like this:
```
.
├── A.p # single test in a group
├── B.C # single group in a group
│ ├── q
│ ├── r
│ └── s
├── D.E.t # multiple levels compacted
└── F.G
├── H.u
└── I.v
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the tests table implementation for the /test/// route and how it builds grouped paths. Verify the displayed tree against the issue's before-and-after examples; done means groups containing one item are compacted while multi-item groups remain expanded.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.