project Websites / Gitlab Issue Listing Script avatar

websites/Gitlab-Issue-Listing-Script#29: Improve page titles



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.4
Created: 21-Apr-22 07:11



Description

Whilst page titles do currently convey meaning, the way they're structured isn't particularly optimal:

[subsection] / [project name]: [issue name]

It's even worse for milestones/releases as you end up with a title like Websites / Gitlab Issue Listing Script: Gitlab Issue Listing Script / Milestone: v0.3

Whilst it's accurate, it's quite a lot to read.

The most granular bit will also likely be truncated in search results and window managers, depriving the user of the most useful bits of information

We should reverse the ordering so the most granular information comes first



Toggle State Changes

Activity


assigned to @btasker

I've re-ordered the title on issue listing pages:

<title><?php echo $issue['issue']['short_reference'];?> <?php echo htmlentities($issue['issue']['title']) . " : {$issue['issue']['gitlab_reference']}";; ?></title>

Giving

[#29](/issue/websites/Gitlab-Issue-Listing-Script/29.html) Improve page titles : websites/Gitlab-Issue-Listing-Script[#29](/issue/websites/Gitlab-Issue-Listing-Script/29.html)
verified

mentioned in commit 61ad277a55ca5d57b83b615d19cfc60467e30acf

Commit: 61ad277a55ca5d57b83b615d19cfc60467e30acf 
Author: B Tasker                            
                            
Date: 2022-04-21T08:15:08.000+01:00 

Message

Re-order issue page title for websites/Gitlab-Issue-Listing-Script#29

This moves the more granular information to the front of the title

+1 -1 (2 lines changed)

The milestone page has been adjusted in a similar way

<title>Milestone <?php echo $milestone['title']; ?> : <?php echo htmlspecialchars($milestone['project']->name_with_namespace); ?></title>

Giving

Milestone: 0.1 : Websites / Gitlab Issue Listing Script
verified

mentioned in commit c7b122a24302e35be17cc9cf120a932133f09bfc

Commit: c7b122a24302e35be17cc9cf120a932133f09bfc 
Author: B Tasker                            
                            
Date: 2022-04-21T08:17:29.000+01:00 

Message

Reorder milestone page title for websites/Gitlab-Issue-Listing-Script#29

+1 -1 (2 lines changed)

Same for releases

<title>Release: <?php echo htmlspecialchars($release['release']->name); ?> : <?php echo htmlspecialchars($release['project']->name_with_namespace); ?></title>

Giving

Release: v0.2.2 : Websites / Gitlab Issue Listing Script
verified

mentioned in commit 9a7679330503dcd0e517dcef031dbe41efd29504

Commit: 9a7679330503dcd0e517dcef031dbe41efd29504 
Author: B Tasker                            
                            
Date: 2022-04-21T08:20:12.000+01:00 

Message +1 -1 (2 lines changed)

Wiki and Container pages didn't need any adjustment.