Skip to content

kmesh: waypoints: Fix broken back link on Waypoint detail page - #1217

Open
itvi-1234 wants to merge 1 commit into
headlamp-k8s:mainfrom
itvi-1234:fix/kmesh-waypoint-backlink
Open

kmesh: waypoints: Fix broken back link on Waypoint detail page#1217
itvi-1234 wants to merge 1 commit into
headlamp-k8s:mainfrom
itvi-1234:fix/kmesh-waypoint-backlink

Conversation

@itvi-1234

Copy link
Copy Markdown
Contributor

Summary

Resolve the back link via createRouteURL(routeName) instead of a raw literal path, matching the pattern used by other plugins. Raw paths aren't cluster-prefixed, so clicking Back navigated to a URL that didn't match any registered route.

Resolve the back link via createRouteURL(routeName) instead of a raw
literal path, matching the pattern used by other plugins. Raw paths
aren't cluster-prefixed, so clicking Back navigated to a URL that
didn't match any registered route.

Signed-off-by: Sumit Goyal <rjsumit71@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the Waypoint detail page’s Back link by generating a cluster-aware URL from the registered route name.

Changes:

  • Uses Router.createRouteURL for both Waypoint detail states.
  • References the registered Waypoint list route name.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants