~Added code to handle UI issues when selecting child nodes of a selected node #9

Merged
jjenko merged 1 commits from C2023-010 into Development 2023-07-06 10:59:22 -04:00
Contributor

Fixed issues in Global Search UI where if a child node was selected and the user selected the parent of that node, the UI was deselecting the child node but selecting all other "unselected" children. The same thing happened when you "deselected" the parent where any deselected child would then become selected.

Additionally, the way that the search list is populated is by using the node tag property. This worked fine until we added the capability of selecting a parent node. By design the parent did not have a tag since it was previously not selectable. Now that it is selectable I needed to modify the code to account for that. Previously the only node that did not have a tag is the "WORD Section" node. By adding an additional check on lines 2563 and 2587 we are able to determine if we are dealing with a WORD Section or a parent node without a tag value.

Lastly, since there is currently no code for handling the selection of child nodes programmatically, we have to set 2 properties and call the advTreeStepTypes_AfterCheck method again to process those child nodes.

Fixed issues in Global Search UI where if a child node was selected and the user selected the parent of that node, the UI was deselecting the child node but selecting all other "unselected" children. The same thing happened when you "deselected" the parent where any deselected child would then become selected. Additionally, the way that the search list is populated is by using the node tag property. This worked fine until we added the capability of selecting a parent node. By design the parent did not have a tag since it was previously not selectable. Now that it is selectable I needed to modify the code to account for that. Previously the only node that did not have a tag is the "WORD Section" node. By adding an additional check on lines 2563 and 2587 we are able to determine if we are dealing with a WORD Section or a parent node without a tag value. Lastly, since there is currently no code for handling the selection of child nodes programmatically, we have to set 2 properties and call the **advTreeStepTypes_AfterCheck** method again to process those child nodes.
jjenko was assigned by cglavan 2023-07-05 16:02:12 -04:00
cglavan added 1 commit 2023-07-05 16:02:12 -04:00
~Added code to ensure that the correct step types were added to the search list, and that the list was maintained when specific nodes were deselected
jjenko merged commit 50d462e806 into Development 2023-07-06 10:59:22 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Volian/SourceCode#9
No description provided.