Skip to content

Proxy management#1272

Open
ivosh wants to merge 22 commits intomainfrom
feat/proxies
Open

Proxy management#1272
ivosh wants to merge 22 commits intomainfrom
feat/proxies

Conversation

@ivosh
Copy link
Collaborator

@ivosh ivosh commented Feb 28, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 28, 2026 00:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces front-end support for Proxy management, wiring new OpenAPI-generated proxy API/types into the application and adding Redux state + UI pages to list, create, view, update, and delete proxies.

Changes:

  • Added OpenAPI models + API client for proxies and exposed them through the central API client.
  • Implemented Redux slice/epics and DTO↔model transforms for proxy CRUD flows.
  • Added Proxy list/detail/create UI (routing + sidebar entry) and shared proxy status formatting/color utilities with tests.

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/utils/proxy.ts Adds status options plus status→label/color helpers for proxy UI.
src/utils/proxy.spec.tsx Component-test coverage for proxy status formatting and color mapping.
src/types/user-interface.tsx Adds widget lock keys used by proxy list/detail widgets.
src/types/proxies.ts Introduces proxy-focused type aliases wrapping OpenAPI DTOs.
src/types/openapi/models/index.ts Exports new proxy-related OpenAPI models (plus an extra import).
src/types/openapi/models/Resource.ts Adds Proxies resource enum value for RBAC/menu gating.
src/types/openapi/models/ProxyUpdateRequestDto.ts New OpenAPI DTO for updating a proxy.
src/types/openapi/models/ProxyStatus.ts New OpenAPI enum defining proxy lifecycle/status values.
src/types/openapi/models/ProxyRequestDto.ts New OpenAPI DTO for creating a proxy.
src/types/openapi/models/ProxyListDto.ts New OpenAPI DTO for listing proxies.
src/types/openapi/models/ProxyInstallInstructionsDto.ts New OpenAPI DTO for installation instructions.
src/types/openapi/models/ProxyDto.ts New OpenAPI DTO for full proxy details.
src/types/openapi/apis/index.ts Exports the new ProxyManagementApi.
src/types/openapi/apis/ProxyManagementApi.ts Adds generated API methods for proxy CRUD/list/instructions.
src/ducks/transform/proxies.ts Adds simple transform helpers between OpenAPI DTOs and app models.
src/ducks/reducers.ts Registers the new proxies slice reducer.
src/ducks/proxies.ts Adds Redux slice/state/selectors/actions for proxies.
src/ducks/proxies-epic.ts Adds epics to call proxy API client and coordinate redirects/locks/alerts.
src/ducks/index.ts Registers proxy epics in the root epic combiner.
src/components/_pages/proxies/list/ProxiesList.tsx Adds proxy list UI with status filter, create modal, and multi-select delete.
src/components/_pages/proxies/form/ProxyForm.tsx Adds create-proxy form dialog content (name/description).
src/components/_pages/proxies/detail/ProxyDetail.tsx Adds proxy detail view with inline description editing and delete.
src/components/_pages/proxies/ProxyStatusBadge.tsx Adds a badge rendering status with consistent label/color mapping.
src/components/Layout/Sidebar/index.tsx Adds “Proxies” navigation item gated by Resource.Proxies.
src/components/AppRouter.tsx Adds routes for proxy list and detail pages.
src/api.ts Wires the new proxy API client into backendClient / ApiClients.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ivosh ivosh self-assigned this Feb 28, 2026
@ivosh ivosh added the enhancement New feature or request label Feb 28, 2026
@ivosh ivosh linked an issue Feb 28, 2026 that may be closed by this pull request
@ivosh ivosh requested a review from Copilot February 28, 2026 01:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 34 out of 34 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ivosh ivosh requested a review from soloviovmax March 3, 2026 08:45
soloviovmax
soloviovmax previously approved these changes Mar 3, 2026
@ivosh ivosh force-pushed the feat/proxies branch 2 times, most recently from 4afa5be to 014e499 Compare March 5, 2026 08:53
@sonarqubecloud
Copy link

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proxies - UI for CRUD

4 participants