+
+
+
+ Do you really want to delete connection «{connection.name}»?
+
+
+
+
+ );
+};
diff --git a/src/features/connection/DeleteConnection/styles.module.less b/src/features/connection/DeleteConnection/styles.module.less
new file mode 100644
index 00000000..4341ad51
--- /dev/null
+++ b/src/features/connection/DeleteConnection/styles.module.less
@@ -0,0 +1,20 @@
+.root {
+ display: flex;
+ flex-direction: column;
+ gap: 24px;
+
+ .main {
+ display: flex;
+ align-items: flex-start;
+ gap: 24px;
+
+ .icon {
+ color: @red-6;
+
+ svg {
+ width: 24px;
+ height: 24px;
+ }
+ }
+ }
+}
diff --git a/src/features/connection/DeleteConnection/types.ts b/src/features/connection/DeleteConnection/types.ts
new file mode 100644
index 00000000..251fdc7d
--- /dev/null
+++ b/src/features/connection/DeleteConnection/types.ts
@@ -0,0 +1,7 @@
+import { Connection } from '@entities/connection';
+
+export interface DeleteConnectionProps {
+ connection: Connection;
+ onSuccess: () => void;
+ onCancel: () => void;
+}
diff --git a/src/features/connection/UpdateConnection/index.tsx b/src/features/connection/UpdateConnection/index.tsx
new file mode 100644
index 00000000..34b21958
--- /dev/null
+++ b/src/features/connection/UpdateConnection/index.tsx
@@ -0,0 +1,54 @@
+import React from 'react';
+import { ControlButtons, FormCurrentGroupDescription, ManagedForm } from '@shared/ui';
+import { Form, Input } from 'antd';
+import { useNavigate } from 'react-router-dom';
+import { Connection, ConnectionQueryKey, connectionService, ConnectionTypeForm } from '@entities/connection';
+
+import { adaptConnectionTypeRequest } from '../utils';
+
+import { UpdateConnectionForm, UpdateConnectionProps } from './types';
+import { getUpdateConnectionInitialValues } from './utils';
+
+export const UpdateConnection = ({ connection, group }: UpdateConnectionProps) => {
+ const navigate = useNavigate();
+
+ const handleUpdateConnection = ({ name, description, ...values }: UpdateConnectionForm) => {
+ return connectionService.updateConnection(
+ Object.assign({ id: connection.id, name, description }, adaptConnectionTypeRequest(values)),
+ );
+ };
+
+ const onSuccess = (response: Connection) => {
+ navigate(`/connections/${response.id}`);
+ };
+
+ const onCancel = () => {
+ navigate('/connections');
+ };
+
+ return (
+