jenkinsci / jenkinsci/categorized-view-plugin

Use a single table instead of nested tables to better display column membership

Open
#110 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
13
Forks
28
Avg merge
1d 13m
Merged PRs (30d)
1

Description

### What feature do you want to see added?

Since I have just looked at the current design due to a redesign PR in the current release, I noticed again that the readability is currently somewhat suboptimal, as the table headings are not aligned with the cells.

For example, you might just think that Last Success and Last Failure were before 11h (i.e. that it is a combined cell). But Last Failure has the value "N/A":

![Image](https://github.com/user-attachments/assets/10fd4d92-9663-4002-a7b9-44815b461374)

Suggestion (Single table with indentation until job column):
![Image](https://github.com/user-attachments/assets/12eea04c-e89b-45f7-9a70-37451b7f89e8)

Suggestion (Single table with indentation of all columns):
![Image](https://github.com/user-attachments/assets/e2529aa2-2f7c-4eb4-93fb-7be05dee1314)

In the suggestion I removed the table (via Inspector, so I don't have a PR for this) and added to the "Status" and "Weather" cells a `margin-left: 40px` and to the job cell `margin-left: 15px` so that they have the same indentation as before, because I think that was there to make the sub-elements easier to see. Alternatively, you could, for example, slightly adjust the background of the category rows so that they stand out more without having to change the indentation (I don't know if other plugins often add columns or not, which you might have to consider).

### Upstream changes

_No response_

### Are you interested in contributing this feature?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the current Categorized Jobs View table rendering and its styling, then compare the existing layout with the supplied screenshots. The work is complete when column headings and cells are visibly aligned in a single table while category or sub-element indentation remains clear, or an equivalent category-row distinction is implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.