Make a new interface DiagramTypeGroup and a DiagramTypeGroups object to store all data and state related to diagram types and diagram type groups
Make a new service DiagramTypeGroupService for all updates of the DiagramTypeGroups object
Add a POC for a new diagram type nav based on data from DiagramTypeGroups in order to test the new logic for diagram type groups, but don't expose it in the API.
PS. Consider whether new nav should get data from @input or service (not both as it is in existing nav)
UPDATE: New nav component will get all data from a service.
Goal: to deprecate all old code related to storage/state of diagram types and (nav) diagram type groups, but refactoring of old code can wait for an later issue.
Acceptance Criteria
No visible changes, and no changes to functionality
DiagramTypeGroup
and aDiagramTypeGroups
object to store all data and state related to diagram types and diagram type groupsDiagramTypeGroupService
for all updates of theDiagramTypeGroups
objectDiagramTypeGroups
in order to test the new logic for diagram type groups, but don't expose it in the API.PS. Consider whether new nav should get data fromUPDATE: New nav component will get all data from a service.@input
or service (not both as it is in existing nav)Goal: to deprecate all old code related to storage/state of diagram types and (nav) diagram type groups, but refactoring of old code can wait for an later issue.
Acceptance Criteria No visible changes, and no changes to functionality