Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1240 closed enhancement (fixed)

Implement "lazy loading" in the generic "item overview"

Reported by: Nicklas Nordborg Owned by: Martin Svensson
Priority: minor Milestone: BASE 2.11
Component: core Version:
Keywords: Cc:

Description (last modified by Nicklas Nordborg)

This means that a sub-tree should not be loaded until a user opens the parent node in the overview tree. To begin with only the root node and it's children should be displayed. To show more, the user has to open each child. The tree should open up one step at a time.

This ticket depends on #1245.

Lazy loading affects validation since we can't validate what has not been loaded. We need to complement the lazy loading with a possibility to update the validation information as more nodes are opened up.

This also affects the "Expand all" and "Collapse all" buttons in the overview. If we keep the buttons I think they should only use what has already been loaded. Eg. the "Expand all" button should not load the entire tree.

Lazy loading may not be appropriate when rooted at an experiment. This is because at this level there is often a need to validate the entire tree to make sure everything is set up properly. I think we may need a different solution for this case. It may be possible to start a background thread that does the loading/validation and show a progress bar... Hmm... maybe this should be a separate ticket...

Change History (10)

comment:1 by Nicklas Nordborg, 16 years ago

Description: modified (diff)

comment:2 by Martin Svensson, 16 years ago

Owner: changed from everyone to Martin Svensson
Status: newassigned

comment:3 by Martin Svensson, 16 years ago

(In [4816]) References #1240 The item-overview tree is now using lazy loading. The other parts of the ticket (eg. validation and buttons) are not yet covered and probably not fully functional at the moment.

comment:4 by Martin Svensson, 16 years ago

(In [4823]) References #1240. The node-icons are getting updated when expanding the item-tree and an error or warning appears.

comment:5 by Martin Svensson, 16 years ago

(In [4830]) References #1240. Some adjustments on menuitems' tooltip- and cursor- behavior. The validate-toolbutton is decided to validate the whole tree and not only already loaded nodes.

comment:6 by Martin Svensson, 16 years ago

(In [4840]) References #1240. The functionallity in the webclient is done. The documentation is not completely updated yet.

comment:7 by Martin Svensson, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [4842]) Fixes #1240. Implement "lazy loading" in the generic "item overview".

comment:8 by Martin Svensson, 16 years ago

(In [4847]) References #1240. Do not use lazy-icons in the item-tree when a node's children are already loaded.

comment:9 by Nicklas Nordborg, 16 years ago

(In [4849]) References #1240: Implement "lazy loading" in the generic "item overview"

Disable validation when lazy-loading nodes, since we are not interested in the result.

comment:10 by Nicklas Nordborg, 16 years ago

(In [4850]) References #1240: Implement "lazy loading" in the generic "item overview"

Disable lazy-loading for nodes that are known to not have any children.

Note: See TracTickets for help on using tickets.