Refactor: Break up FilteredConnection component
Created by: umpox
FilteredConnection refactor
This breaks up the large FilteredConnection.tsx
file into a folder containing:
- FilteredConnection.tsx
- FilterControl.tsx
- ConnectionNodes.tsx
- ConnectionNodesSummary.tsx
- ConnectionType.ts
- utils.ts
Also:
- New components have been migrated to React function components
- State/Prop interfaces have been refactored to be more relevant to specific components,
FilteredConnection
only types have been hoisted to the parent component.
I think there's more we can do in terms of moving logic around and making our components more self contained, this PR is just concerned with organising our component definitions and types to make refactors to this part of the codebase much easier.