feat(kuadrant): read-only Gateway detail view (#369) - #381
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
R-Lawton
force-pushed
the
issue-369-gateway-detail-view
branch
3 times, most recently
from
August 24, 2026 15:09
3b09d37 to
2e163d8
Compare
R-Lawton
marked this pull request as ready for review
August 24, 2026 15:09
emmaaroche
reviewed
Aug 24, 2026
R-Lawton
marked this pull request as draft
August 27, 2026 12:04
Contributor
Author
|
Rebasing of main now that other resources have been added. Will match their style and use their existing code |
R-Lawton
force-pushed
the
issue-369-gateway-detail-view
branch
2 times, most recently
from
August 31, 2026 14:22
9e52647 to
e6bfa6c
Compare
R-Lawton
marked this pull request as ready for review
August 31, 2026 14:23
emmaaroche
previously approved these changes
Aug 31, 2026
Member
|
Two small consistency nits with the other two detail pages (
Both nits, not blocking - approving as is. |
Member
|
Sorry, this will also need rebase 🙈 |
Contributor
|
not rebase yet ? |
R-Lawton
force-pushed
the
issue-369-gateway-detail-view
branch
from
September 1, 2026 16:48
cb38e8d to
7bf7ef0
Compare
Adds a read-only Details/YAML page for Gateway (gateway.networking.k8s.io/v1) at /kuadrant/gateways/:namespace/:name, reached by clicking a Gateway row in the MCP overview table. - backend: GET /gateways/:namespace/:name returns the full manifest - frontend: kuadrantApi.getGateway() + detail page (Details + YAML tabs) - MCP Gateways table Name column links to the detail view - centralise Gateway manifest types in types/mcp.ts - unit tests (utils + backend router) and Playwright e2e - docs: read-only resource detail view pattern Closes Kuadrant#369 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: R-Lawton <rlawton@redhat.com>
Signed-off-by: R-Lawton <rlawton@redhat.com>
Signed-off-by: R-Lawton <rlawton@redhat.com>
R-Lawton
force-pushed
the
issue-369-gateway-detail-view
branch
from
September 1, 2026 16:49
7bf7ef0 to
11f0b10
Compare
emmaaroche
reviewed
Sep 3, 2026
Signed-off-by: R-Lawton <rlawton@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Read-only detail view for the
Gateway(gateway.networking.k8s.io/v1) resource, at/kuadrant/gateways/:namespace/:name. You land on it by clicking a Gateway row in the MCP overview table (#355). Closes #369.What's here
Details tab — Name, Namespace, Ready/Status, Age, Labels, Annotations, Created at, Owner, and a Conditions table (Type, Status, Updated, Reason, Message).
YAML tab — the raw manifest, read-only, rendered with core-components
CodeSnippet.Changes
GET /gateways/:namespace/:namereturns the full Gateway manifest (mirrors the existing/httproutes/:namespace/:namehandler).kuadrantApi.getGateway(), the detail page, and the MCP Gateways table Name column now links to it.types/mcp.ts.Testing
GatewayDetailPage/utils.test.ts(14) + backendrouter.test.tsgateway-read cases (200/403/500).kuadrant-gateway-detail.spec.tsclicks through from the MCP Gateways table and checks the breadcrumb, Details tab, and YAML tab.yarn tscand the above unit tests pass locally.Definition of done
docs/ui-patterns.md)🤖 Generated with Claude Code