Repository navigation
Conversation
Adds a "Port forward" item in the resource row menu (above Delete) and a "Port forward" button in the resource detail header (next to Delete). Both render only when PortForwardModal is available from devtron-fe-lib (enterprise), FEATURE_RB_PORT_FORWARD_ENABLE is on (default false), and the resource kind is Service. FEATURE_RB_PORT_FORWARD_ENABLE is added to customEnv by module augmentation until devtron-fe-common-lib declares it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n |
|
|
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n |
There was a problem hiding this comment.
🔵 Needs a closer look
Inaccessible enterprise dependency PRs left integration contracts unverified, while both entry points and Service/non-Service header layouts still require runtime validation.
No open issues 🎉
What changed in this PR
Adds enterprise-only “Port forward” entry points for Services in the resource browser, controlled by a new feature flag that defaults to disabled.
Changes:
- Adds a row-menu action above Delete and a detail-header button beside Delete, both opening
PortForwardModal. - Gates availability on the enterprise modal, feature flag, and Service resource kind.
- Adds flag defaults, temporary shared-library type extensions, and documentation of the required backend proxy setting.
| File | Description |
|---|---|
src/index.tsx |
Declares the feature flag type and disabled runtime default. |
src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetail.component.tsx |
Adds the detail-header button and modal handling. |
src/components/ResourceBrowser/ResourceList/ResourceBrowserActionMenu.tsx |
Adds the row-menu action and modal handling. |
config.md |
Documents the feature flag and backend proxy prerequisite. |
.env |
Sets the feature flag to disabled by default. |
Review effort: Balanced




Description
Adds a "Port forward" entry point for Services in the resource browser:
Both render only when all three are true:
PortForwardModalis available from devtron-fe-lib (enterprise;importComponentFromFELibrary, sonullin OSS)FEATURE_RB_PORT_FORWARD_ENABLEis on (defaultfalse, added to.env,index.tsxdefaults andconfig.md)ServiceFEATURE_RB_PORT_FORWARD_ENABLEis added tocustomEnvby module augmentation insrc/index.tsxuntil devtron-fe-common-lib declares it. The menu id is widened locally (ResourceBrowserActionMenuEnum | 'port-forward') for the same reason. Both are marked TODO.The header actions are wrapped in a flex container. The
ml-16gap before Delete is kept for all kinds.No linked issue.
Related PRs (merge in this order)
make dep-update-entafter 1 merges)Type of change
How Has This Been Tested?
tsc --noEmitand ESLint clean on changed files.Checklist:
config.md)🤖 Generated with Claude Code