Closed (won't fix)
Project:
Module Filter
Version:
6.x-1.6
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2011 at 20:49 UTC
Updated:
12 Dec 2011 at 18:03 UTC
Usually the modules list is very slow to load If you have a large number of modules, would it be possible to prevent loading of each section until it was clicked on in the tabs on the left?
Thanks for the great module btw! it should be much more popular.
Comments
Comment #1
greenskin commentedUnfortunately it wouldn't work to wait to load a tab until the tab was clicked because the default tab is 'All' and 'All' has all the modules. What happens when a tab is clicked is modules that do not belong to that tab are hidden and ones that do are shown (if hidden). Basically the modules page is one big table that dynamically hides/shows rows based on the tab. I guess it is possible to let the page load then populate the table via AJAX, but probably not worth the effort. The main use of the page is that table so why essentially make two HTTP requests (initial page load and AJAX call) instead of one.
I have thought about creating an AJAX option to render the shown/hidden modules based on the tab and filter input instead of relying on the client to process via JavaScript. But I'm not convinced it would be more efficient. You'd still have to wait for the AJAX response.
The reason it can take longer the more modules you have is because there are more rows that need to be hidden or shown.
Comment #2
greenskin commentedWhoops, didn't mean to close.
I want to hear the communities thoughts on improving performance and if AJAX calls might help do that.
Comment #3
greenskin commentedHousekeeping...