Breadcrumbs for builds could do with improvement

Bug #534216 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
William Grant

Bug Description

There isn't currently a breadcrumb for IBuild, so they end up with page titles like "PPA for William Grant : William Grant", and hierarchies along the lines of "William Grant > PPA for William Grant". Distro builds are "Ubuntu > “dpkg” package".

Even using IBuild.title as the breadcrumb text would be a vast improvement, but I think we can do much better than that. Something like this would be good:

Ubuntu > “dpkg” package > 1.15.5.6ubuntu1 > i386 build
William Grant > PPA for William Grant > i386 build of dpkg 1.15.5.6ubuntu1

There is perhaps an argument for including the distroseries or pocket, but it seems less important than avoiding the ellipsis imposed on long breadcrumbs by the template. Note that the first one includes a DistributionSourcePackageRelease breadcrumb, which doesn't yet exist but would be useful and is trivially added.

Another question is what to do when there are multiple builds for one architecture tag (this should only occur when a build fails in one series and its source is later copied to another). We should either ignore it or include the series in that case.

Tags: lp-soyuz qa-ok

Related branches

William Grant (wgrant)
Changed in soyuz:
assignee: nobody → William Grant (wgrant)
status: New → In Progress
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Just a record of a pre-implementation conversation:

09:33 < wgrant> noodles775: Morning.
09:33 < noodles775> Hi wgrant!
09:33 < wgrant> noodles775: Can you please have a look at bug #534216 and maybe give some suggestions?
09:34 < noodles775> Suer.
09:34 < noodles775> Sure.
09:38 < noodles775> wgrant: pleasantly surprised that it's not a security bug :) So, +1 for the suggested breadcrumb urls, and regarding the second question,
09:38 < wgrant> noodles775: I decided that you didn't need any more of them in one week. :)
09:38 < noodles775> Why does it matter if two builds have the same breadcrumb (it's not a url), and the last breadcrumb (the i386) won't be a link anyway.
09:38 < noodles775> heh.
09:39 < wgrant> Right, it's not really important.
09:39 < wgrant> And it's a rare case anyway.
09:40 < noodles775> Yep, so +1 from me :).
09:40 < wgrant> Great, thanks.
09:40 * wgrant quickly implements.
09:41 < noodles775> wgrant: are you against there being a 'Packages for..." breadcrumb after the PPA title?
09:42 < noodles775> (ie. look at the breadcrumb when you traverse to +packages)
09:42 < wgrant> noodles775: Ah, yes, I thought about that earlier but it slipped my mind.
09:42 < noodles775> Great.
09:43 < wgrant> There should be, and probably a Builds breadcrumb as well. But that needs a custom hierarchy thingy.
09:45 < noodles775> Yeah, although the Builds breadcrumb is a nice-to-have-but-less-important IMO, as I'm assuming that most of the time people get to an individual build directly from the +packages page, rather than searching from +builds.
09:46 < wgrant> Right, probably.

Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in soyuz:
milestone: none → 10.03
status: In Progress → Fix Committed
tags: added: qa-needstesting
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 534216 Fix released

Fixed released in launchpad-project 10.03.

Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.