The issues table (displayed on project indexes, milestone pages etc) is still in the format that JILS used
ID, Type, Title, Status, Created, Assigned To
But, some of these don't really make sense in Gitlab land.
The vast majority of items will be Type Issue
because the only other option (by default) is Incident
.
If we want to be able to discern what type of issue something is, we probably need to include it's tags in the table.
Activity
26-Aug-22 17:11
mentioned in commit 71caec5d6ae1cc08d8b4e6fc03c907a72a2dfe3f
Message
Remove issue type and assignee from the issues table for websites/Gitlab-Issue-Listing-Script#36
This is the start of a review of it's layout
27-Aug-22 13:02
Whilst it'd be nice to display an issue's labels within the table, doing so isn't straightforward.
Gitlab's API returns a list of the associated label names, but doesn't include their IDs, so there isn't a way to link them directly with the CSS we generate.
On a project index page, we retrieve the labels separately (so that we can print the labels section), but that's not the only place we use the table.
We could add a lookup though, with a conditional to make sure we safely handle uses where the label listing isn't available.
That would at least us test the idea of displaying labels quickly.
27-Aug-22 13:15
mentioned in commit 2801c592d9b6c2b38625b1d2a1ad6ee3b238212f
Message
The issue listing table now supports label display (websites/Gitlab-Issue-Listing-Script#36)
If the variable
$labels
is set, the table will attempt to display label lozenges alongside issues.The variable
labels
can be populated in the correct format by calling$this->getProjectLabels($proj_path)
Label CSS must also have been rendered into the page - building that is currently handled by individual model functions which rely on it, should look at making it DRY in future
27-Aug-22 13:16
mentioned in commit b169cafa7bb1666051b6598b771cd81bb1ef0297
Message
Don't centre the issue listing table websites/Gitlab-Issue-Listing-Script#36
27-Aug-22 13:18
I think we're generally looking much better
Old
New
I think
Created
needs to stay, though we should reformat the time.27-Aug-22 13:21
mentioned in commit 5a015b96d0da5ee7cfd2ef63928b8248fd2fc984
Message
Switch issue table date from RFC 3339 to d M y (websites/Gitlab-Issue-Listing-Script#36)
27-Aug-22 13:25
mentioned in commit 35b967a852dd8a353f1308d1dbd815a3eaf7db85
Message
Fix table filtering on issue listing table (websites/Gitlab-Issue-Listing-Script#36)
Columns:
27-Aug-22 13:31
mentioned in commit 9dd04e4aaaaa5d61101fb8101470ce42cfd6b268
Message
Display labels in issues-table in milestone view (websites/Gitlab-Issue-Listing-Script#36)
27-Aug-22 13:32
Because the labels are included as part of the title, you can search by label by typing it's text (or part of it) into the search box