Skip to content

Navigation: Rely on Id instead of name #229

@antoineatstariongroup

Description

@antoineatstariongroup

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the UI-DSM
  • I have searched open and closed issues to ensure it has not already been reported

Description

Currently, the navigation inside a view (by double clicking inside the context panel or on linked element of a comment) rely on name of the element. It should be adjusted to rely on id of the Thing.

Solution :

  • Modify the method TryNavigateToItem to take a Guid as parameter and adjust the method for each view
  • Modify the AppKeyValue(s) component to take a Tuple<string,Guid>/List<Tuple<string,Guid>> (or an new class) to be able to reference the Guid
  • Modify the CommentCard to call the onDoubleClick with the Iid of the Thing
  • Inside the ElementBreakdownStructureView, adjust the ComputeTreePath. The check of the parent can be wrong because it rely it does not check if the Element that we found contains the currentElement as children

Steps to Reproduce

System Configuration

  • UI-DSM version:
    • UI-DSM:
    • Other:
  • Environment (Operating system, version and so on):
  • .NET Framework version:
  • Additional information:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions