retracted blocks shouldn't load content until expanded

Bug #1300544 reported by shanen on 2014-04-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Wishlist
Robert Lyon

Bug Description

Mahara 1.8

Hi All,
I have a mahara page with Mahara support videos embedded from youtube.
The page has about 12 videos and takes ages to load.

I have 11 of the video blocks collapsed and one open - hoping that the retracted ones wouldn't load until opened.

However even though the blocks are automatically retracted Mahara pre-loads all the blocks - and I'm hoping we can investigate the option of not loading automatically retracted blocks until the user expands them.

This wishlist item would be a cool strategy people could use to speed up page load times for heavy/intensive pages.

Thanks,
Shane.

Robert Lyon (robertl-9) wrote :

Hi Shane,

I think this would be a great idea. Only loading content when we need it would indeed speed things up.

I give this idea a +1

Cheers

Robert

Robert Lyon (robertl-9) on 2014-04-07
Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
milestone: none → 1.10.0
importance: Undecided → Medium
status: New → In Progress
importance: Medium → Wishlist

That's Cool Robert, Thanks very much for picking this up!

Reviewed: https://reviews.mahara.org/3206
Committed: http://gitorious.org/mahara/mahara/commit/4ece906e0a8124a35ed119552377c663ec722f0e
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit 4ece906e0a8124a35ed119552377c663ec722f0e
Author: Robert Lyon <email address hidden>
Date: Mon Apr 7 15:56:57 2014 +1200

Allow auto-retracted external video blocks to delay load (Bug #1300544)

Currently all block data is loaded on page load - but blocks that are
auto-retracted should wait and only load data when one click on their
arrow toggle.

Currently got externalmedia using iframe to handle this delay loading.

Change-Id: I2de32105b9805bd18cfb265161bef4758c422a7e
Signed-off-by: Robert Lyon <email address hidden>

Aaron Wells (u-aaronw) on 2014-04-11
Changed in mahara:
status: In Progress → Fix Committed

Thanks a lot Aaron and Robert.
Looking forward to 1.10 more and more :)

tags: added: nominatedfeature
Aaron Wells (u-aaronw) on 2014-10-21
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers