Skip to content
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

fix: navigation url to use summary #9696

Merged

Conversation

axel7083
Copy link
Contributor

What does this PR do?

All kubernetes path for a given resources need to specify which tab.. When I opened #9688 I thought we had some fallback or redirect, but we don't.

This PR adds /summary suffix to all routes. Here are the places where we use the router.goto, I will add #8294 to the next sprint.

https://github.com/containers/podman-desktop/blob/d739ee969394f9065a3829c4b024415ee2c2abc7/packages/renderer/src/lib/service/ServiceColumnName.svelte#L9

https://github.com/containers/podman-desktop/blob/d739ee969394f9065a3829c4b024415ee2c2abc7/packages/renderer/src/lib/configmaps-secrets/ConfigMapSecretColumnName.svelte#L13

https://github.com/containers/podman-desktop/blob/d739ee969394f9065a3829c4b024415ee2c2abc7/packages/renderer/src/lib/deployments/DeploymentColumnName.svelte#L9

https://github.com/containers/podman-desktop/blob/d739ee969394f9065a3829c4b024415ee2c2abc7/packages/renderer/src/lib/ingresses-routes/IngressRouteColumnName.svelte#L13

https://github.com/containers/podman-desktop/blob/d739ee969394f9065a3829c4b024415ee2c2abc7/packages/renderer/src/lib/node/NodeColumnName.svelte#L9

https://github.com/containers/podman-desktop/blob/d739ee969394f9065a3829c4b024415ee2c2abc7/packages/renderer/src/lib/pvc/PVCColumnName.svelte#L9

https://github.com/containers/podman-desktop/blob/d739ee969394f9065a3829c4b024415ee2c2abc7/packages/renderer/src/lib/service/ServiceColumnName.svelte#L9

Screenshot / video of UI

What issues does this PR fix or reference?

How to test this PR?

  • Tests are covering the bug fix or the new feature

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
@axel7083 axel7083 requested review from benoitf and a team as code owners October 31, 2024 10:13
@axel7083 axel7083 requested review from cdrage, deboer-tim, SoniaSandler, feloy and gastoner and removed request for a team and benoitf October 31, 2024 10:13
Copy link
Contributor

@gastoner gastoner left a comment

Choose a reason for hiding this comment

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

LGTM

@axel7083 axel7083 merged commit 30ad954 into podman-desktop:main Oct 31, 2024
15 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.15.0 milestone Oct 31, 2024
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.

4 participants