diff --git a/rsconcept/frontend/src/features/oss/backend/types.ts b/rsconcept/frontend/src/features/oss/backend/types.ts
index bb94ce17..b390c4b8 100644
--- a/rsconcept/frontend/src/features/oss/backend/types.ts
+++ b/rsconcept/frontend/src/features/oss/backend/types.ts
@@ -67,7 +67,7 @@ export const schemaOperation = z.strictObject({
alias: z.string(),
title: z.string(),
- comment: z.string(),
+ description: z.string(),
position_x: z.number(),
position_y: z.number(),
@@ -107,7 +107,7 @@ export const schemaOperationCreate = z.strictObject({
alias: z.string().nonempty(),
operation_type: schemaOperationType,
title: z.string(),
- comment: z.string(),
+ description: z.string(),
position_x: z.number(),
position_y: z.number(),
result: z.number().nullable()
@@ -145,7 +145,7 @@ export const schemaOperationUpdate = z.strictObject({
item_data: z.strictObject({
alias: z.string().nonempty(errorMsg.requiredField),
title: z.string(),
- comment: z.string()
+ description: z.string()
}),
arguments: z.array(z.number()),
substitutions: z.array(schemaCstSubstitute)
diff --git a/rsconcept/frontend/src/features/oss/components/info-operation.tsx b/rsconcept/frontend/src/features/oss/components/info-operation.tsx
index 497ba738..240d300f 100644
--- a/rsconcept/frontend/src/features/oss/components/info-operation.tsx
+++ b/rsconcept/frontend/src/features/oss/components/info-operation.tsx
@@ -63,10 +63,10 @@ export function InfoOperation({ operation }: InfoOperationProps) {
{operation.title}
) : null}
- {operation.comment ? (
+ {operation.description ? (
- Комментарий:
- {operation.comment}
+ Описание:
+ {operation.description}
) : null}
{operation.substitutions.length > 0 ? (
diff --git a/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/dlg-create-operation.tsx b/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/dlg-create-operation.tsx
index dc4984f1..c22a9a1b 100644
--- a/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/dlg-create-operation.tsx
+++ b/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/dlg-create-operation.tsx
@@ -56,7 +56,7 @@ export function DlgCreateOperation() {
position_y: defaultY,
alias: '',
title: '',
- comment: ''
+ description: ''
},
arguments: initialInputs,
create_schema: false,
diff --git a/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/tab-input-operation.tsx b/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/tab-input-operation.tsx
index 03b4786e..af5e1842 100644
--- a/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/tab-input-operation.tsx
+++ b/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/tab-input-operation.tsx
@@ -49,7 +49,7 @@ export function TabInputOperation() {
setValue('create_schema', false);
setValue('item_data.alias', schema.alias);
setValue('item_data.title', schema.title);
- setValue('item_data.comment', schema.comment, { shouldValidate: true });
+ setValue('item_data.description', schema.description, { shouldValidate: true });
}
return (
@@ -74,7 +74,7 @@ export function TabInputOperation() {
label='Описание'
noResize
rows={3}
- {...register('item_data.comment')}
+ {...register('item_data.description')}
/>
diff --git a/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/tab-synthesis-operation.tsx b/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/tab-synthesis-operation.tsx
index 17e538d7..ed86395f 100644
--- a/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/tab-synthesis-operation.tsx
+++ b/rsconcept/frontend/src/features/oss/dialogs/dlg-create-operation/tab-synthesis-operation.tsx
@@ -39,8 +39,8 @@ export function TabSynthesisOperation() {
label='Описание'
noResize
rows={3}
- {...register('item_data.comment')}
- error={errors.item_data?.comment}
+ {...register('item_data.description')}
+ error={errors.item_data?.description}
/>
diff --git a/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-operation/dlg-edit-operation.tsx b/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-operation/dlg-edit-operation.tsx
index 65b5d6b4..9cc52a6c 100644
--- a/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-operation/dlg-edit-operation.tsx
+++ b/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-operation/dlg-edit-operation.tsx
@@ -48,7 +48,7 @@ export function DlgEditOperation() {
item_data: {
alias: target.alias,
title: target.title,
- comment: target.comment
+ description: target.description
},
arguments: target.arguments,
substitutions: target.substitutions.map(sub => ({
diff --git a/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-operation/tab-operation.tsx b/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-operation/tab-operation.tsx
index 5370e05c..61c8f6e3 100644
--- a/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-operation/tab-operation.tsx
+++ b/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-operation/tab-operation.tsx
@@ -32,8 +32,8 @@ export function TabOperation() {
label='Описание'
noResize
rows={3}
- {...register('item_data.comment')}
- error={errors.item_data?.comment}
+ {...register('item_data.description')}
+ error={errors.item_data?.description}
/>
diff --git a/rsconcept/frontend/src/features/oss/pages/oss-page/editor-oss-card/form-oss.tsx b/rsconcept/frontend/src/features/oss/pages/oss-page/editor-oss-card/form-oss.tsx
index f199c39b..afdacc5d 100644
--- a/rsconcept/frontend/src/features/oss/pages/oss-page/editor-oss-card/form-oss.tsx
+++ b/rsconcept/frontend/src/features/oss/pages/oss-page/editor-oss-card/form-oss.tsx
@@ -38,7 +38,7 @@ export function FormOSS() {
item_type: LibraryItemType.RSFORM,
title: schema.title,
alias: schema.alias,
- comment: schema.comment,
+ description: schema.description,
visible: schema.visible,
read_only: schema.read_only
}
@@ -90,10 +90,10 @@ export function FormOSS() {
{isMutable || isModified ? (
diff --git a/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-rsform-card/form-rsform.tsx b/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-rsform-card/form-rsform.tsx
index 5bd668e2..52f25986 100644
--- a/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-rsform-card/form-rsform.tsx
+++ b/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-rsform-card/form-rsform.tsx
@@ -47,7 +47,7 @@ export function FormRSForm() {
item_type: LibraryItemType.RSFORM,
title: schema.title,
alias: schema.alias,
- comment: schema.comment,
+ description: schema.description,
visible: schema.visible,
read_only: schema.read_only
}
@@ -119,10 +119,10 @@ export function FormRSForm() {
{isContentEditable || isDirty ? (