project branch listing page only shows first batch

Bug #297892 reported by Jonathan Lange
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

The branch listing page for projects (https://code.launchpad.net/launchpad-bazaar) hides many branches without telling you that it's hiding them.

Specifically, there are branches that satisfy "Any active status", but their existence is not indicated anywhere. In other similar UIs, I would expect there to be a link at the bottom of the listing taking me to the next page of results.

Changing to e.g. any status' still only shows the first 75 or so, even though the ui claims there are hundreds of branches.

Tags: lp-code ui
Revision history for this message
Jonathan Lange (jml) wrote :

Tim asked me to ask you to have a look at this, Martin

Changed in launchpad-bazaar:
assignee: nobody → beuno
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Martin Albisetti (beuno) wrote :

I don't understand what this view is actually showing.
"All active branches ordered by most interesting"?
How do I get to the other ones? by filtering?

Revision history for this message
Jonathan Lange (jml) wrote : Re: [Bug 297892] Re: Default project branch listing page hides branches

On Wed, Nov 19, 2008 at 6:14 AM, Martin Albisetti <email address hidden> wrote:
> I don't understand what this view is actually showing.
> "All active branches ordered by most interesting"?
> How do I get to the other ones? by filtering?
>

OK, so you agree it's a bug :)

The listing is showing branches that:
    - are linked to series
    - are neither merged nor abandoned
    - have been changed recently
    - and are in the top N of these (my guess is ~70)

jml

Revision history for this message
Martin Albisetti (beuno) wrote :

On Tue, Nov 18, 2008 at 7:03 PM, Jonathan Lange <email address hidden> wrote:
> OK, so you agree it's a bug :)

Yes!
Let's fix it...

> The listing is showing branches that:
> - are linked to series
> - are neither merged nor abandoned
> - have been changed recently
> - and are in the top N of these (my guess is ~70)

We should show the grouping by projects more clearly, because of the
way the URLs are constructed, it isn't obvious.
One thing I can think of, is that we could bring ajax into the
picture, and show branches with the project name as a title, the "top
5 more relevant branches", and allow them to be expanded, and the list
can be fetched with ajax.

How does this per-project view sound?
My guess is that people really think in terms of projects.

Martin Albisetti (beuno)
Changed in launchpad-code:
assignee: Martin Albisetti (beuno) → nobody
description: updated
summary: - Default project branch listing page hides branches
+ project branch listing page only shows first batch
description: updated
Changed in launchpad:
importance: Medium → High
Revision history for this message
Curtis Hovey (sinzui) wrote :

ProductCodeIndexView.initial_branches may be the cause. it mutates the batch to place the series branches first. Other branch listing views (distribution, person, project group) work.

Revision history for this message
William Grant (wgrant) wrote :

Right, it's the "by most interesting" sort that is the problem here; all the others let you navigate to subsequent batches as expected. This is also why +code-index and +branches are separate views, the only such distinction that I haven't been able to remove. I suspect that we probably want to keep the series branches outside the main listing, so we can make it batched and merge the pages.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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