mcp: optional resource URL template for UI links
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Start by locating the server's command-line flag handling, list and get response construction, and chart value configuration. Trace how resource metadata distinguishes namespaced from cluster-scoped resources. Done means the optional template adds URLs to both response types when configured and leaves responses unchanged when unset.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Motivation
Platforms built on kcp usually have a UI. Agents should be able to hand the user a link to the resource they are talking about, but the URL scheme is platform knowledge the generic server cannot have.
Proposal
An optional flag:
--resource-url-template=https://ui.example.com/w/{workspace}/r/{group}/{version}/{resource}/{namespace}/{name}
When set, list and get responses include a url field per item, rendered from the template. Unset means no change to responses. The server stays platform-agnostic, each deployment injects its own scheme through chart values.
Notes
Template variables should cover workspace (name and cluster ID), group, version, resource, namespace and name. Cluster-scoped resources render without the namespace segment.
- Ngôn ngữ chính
- Go
- Star
- 1
- Fork
- 2
- Merge trung bình
- 8 giờ 16 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của kcp-dev/contrib-virtual-workspaces
-
Add UIĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Add producer/marketplace VWĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của kcp-dev/contrib-virtual-workspaces
Issue tương tự
-
ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
jordansmall/spindrift#7895 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation priority: medium skill: intermediate status: ready for dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
hyperledger-labs/fabric-smart-client#2830 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày