-
Notifications
You must be signed in to change notification settings - Fork 37
fix(37047) Fix the observability links in the workspace #1252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates routing paths from /workspace/link/ to /workspace/connector/ to align with the new routing structure. The changes ensure consistency between navigation logic in edge components and test expectations.
- Updated navigation paths in
MonitoringEdgeandDynamicEdgecomponents - Updated corresponding test assertions to match the new route pattern
- Added a new
useEffecthook to handle edge selection in the configuration panel controller
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| MonitoringEdge.tsx | Changed navigation path from /workspace/link/ to /workspace/connector/ |
| MonitoringEdge.spec.cy.tsx | Updated test assertion to verify new /workspace/connector/ route |
| DynamicEdge.tsx | Changed navigation path from /workspace/link/ to /workspace/connector/ |
| DynamicEdge.spec.cy.tsx | Updated test assertion to verify new /workspace/connector/ route |
| ConfigurationPanelController.tsx | Added useEffect to open panel when an edge is selected |
| .github/workflows/trigger.md | Unrelated file trigger change |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
hivemq-edge-frontend/src/modules/Workspace/components/controls/ConfigurationPanelController.tsx
Show resolved
Hide resolved
hivemq-edge-frontend/src/modules/Workspace/components/controls/ConfigurationPanelController.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some CI checks seem to be failing 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
See https://hivemq.kanbanize.com/ctrl_board/57/cards/37047/details/
The PR fixes a small bug in the
Workspace, where the navigation route to theObservabilitypanel for the connected entities was triggering a "Page Not Found" errorBefore
After