Customize the number of pages displayed via the "My Pages" block on the profile and dashboard page

Bug #819080 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
raf

Bug Description

When a user has lots of portfolio pages, the block "My Pages", e.g. on the profile page, gets very long and unmanageable. It would be better to display only a certain number of pages and then have a "show all" link that goes to a page where all pages that are accessible to this user are shown.

Ideally, the user would have some freedom in configuration:
- the number of pages shown via the "My Pages" block
- whether the order is alphabetical or chronologically ascending or chronologically descending or according to the most comments

summary: Customize the number of pages displayed via the "My Pages" block on the
- profile page
+ profile and dashboard page
Changed in mahara:
status: New → Triaged
Revision history for this message
François Marier (fmarier) wrote :

Alternatively, bug #634689 suggests adding a pager.

tags: added: myviews
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

A combination of both would be good.

tags: added: block
tags: added: academy snack-sized
Changed in mahara:
assignee: nobody → Amelia Cordwell (amelia-stuffed)
Changed in mahara:
status: Triaged → Confirmed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/4181

Changed in mahara:
assignee: Amelia Cordwell (amelia-stuffed) → nobody
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Thank you for trying to create this feature, Amelia.

It turned out to be too difficult for the time available to fix and thus we abandonded the patch as it would have only worked for users, but not for anybody else.

For future implementation: We now have a paginator and display limiter for the "My groups" block. Some of that code might be reusable.

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/5932

raf (rafaelgoesmann)
Changed in mahara:
status: Confirmed → In Progress
assignee: nobody → raf (rafaelgoesmann)
Revision history for this message
Robert Lyon (robertl-9) wrote :

Ok, this bug report was originally for adding a paginator to the 'My pages' block - but as there was bug 634689 it got fix under that bug report number.

The latest patch here is to fix the ability to select how many results per page of paginator you want to see by adding the paginator dropdown option.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5932
Committed: https://git.mahara.org/mahara/mahara/commit/31b9a60454fa4ee5cd339b94bde318885b686fc1
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 31b9a60454fa4ee5cd339b94bde318885b686fc1
Author: RafGDev <email address hidden>
Date: Wed Jan 20 10:56:16 2016 +1300

Add paginator to My Portfolios block (Bug 819080)

behatnotneeded

Change-Id: I188dce9cd5970dd862158e569ead8012c682a5eb

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 16.04.0
tags: added: nominatedfeature
Changed in mahara:
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.