Skip to content

Commit

Permalink
[FR-206] Added ability to refresh graphs (#1649)
Browse files Browse the repository at this point in the history
* [FR-206] Added ability to refresh graphs

- added button to refresh coordinates of devices by using the refreshCoordinates mutation from Topology-discovery.

Signed-off-by: Marek <[email protected]>

* Fixed checkstyle

Signed-off-by: Marek <[email protected]>

* fixed codegen from correct branch of topology-discovery

Signed-off-by: Marek <[email protected]>

* resolve conflicting graphql types (inventory <> topology)

* Fixed a slow re-rendering of graphs

Signed-off-by: Marek <[email protected]>

* fixed formatting

Signed-off-by: Marek <[email protected]>

* remove unused import

Signed-off-by: Marek <[email protected]>

* regenerate types for device inventory

* fixed review comments

- removed props and callback and create refresh coordinates mutation as a ThunkAction that updates stat.

Signed-off-by: Marek <[email protected]>

* fixed codestyle

Signed-off-by: Marek <[email protected]>

* fixed name of state

Signed-off-by: Marek <[email protected]>

---------

Signed-off-by: Marek <[email protected]>
Co-authored-by: Martin Sottnik <[email protected]>
  • Loading branch information
mpastorek and soson authored Oct 4, 2024
1 parent 336da0b commit b3689de
Show file tree
Hide file tree
Showing 9 changed files with 3,617 additions and 78 deletions.
7 changes: 6 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/frinx-device-topology/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"vitest": "0.34.3"
},
"dependencies": {
"@chakra-ui/icons": "^2.1.1",
"@frinx/shared": "^2.0.0",
"@types/react": "17.0.65",
"chakra-ui-autocomplete": "^1.4.5",
Expand Down
Loading

0 comments on commit b3689de

Please sign in to comment.