Project

General

Profile

feature request #7063

Updated by Andreas Müller over 5 years ago

The wizard for selection of areas for the distribution editor should be improved. 

  * while opening the wizard the vocabularies are not correctly marked if the whole vocabulary or only parts of it should be used in the distribution editor. 
  * the wizard is quite slow (performance) 

 For the first issue we decided to implement the following: 

  1. * we keep selection via tree structure 
  1. * the checkbox uses triple state:  
        a. * checked, if, and only if, all subareas, and their subareas are fully included 
        * undefined, if, some subareas are checked, but not all (including recursive subareas 
        * not checked, if no of the subareas is checked or in "undefinded" state it self 
  * opening a node in the tree works via "triangle button" 
  * click actions: **double functionality** is needed 
        * select/deselect all subareas 
        * select the given area (not including the subareas) 
        * problem: we want to avoid right click menus or other double functionality handling modes (e.g. single click/double click) as they are maybe not intuitive 
        * solution: to select/deselect the single area (without subareas) we add it to itself as child node at first position, without children 
  * click action "select all subareas" will 
        * open the for one more level 
        * check the parent checkbox and all child checkboxes 
        * check all grandchild checkboxes if expanded, however for all grand(grand) children the information needs to be stored that they are "checked" 
        * opening also all grandchildren takes a lot of rendering time and is not necessary 
  * click "deselect all" will  
        * unckeck all child and grandchild areas 
        * not change the expansion state of the tree 
       

Back