From 429415314603b1941597c56dee86e729b6d95178 Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Wed, 6 Aug 2025 15:17:59 +0300 Subject: [PATCH] M: Minor UI fixes --- .../frontend/src/components/dropdown/dropdown.tsx | 1 - .../editor-oss-graph/context-menu/menu-operation.tsx | 10 +++++----- .../editor-oss-graph/side-panel/block-stats.tsx | 2 +- .../view-constituents/constituents-search.tsx | 2 +- .../editor-constituenta/editor-constituenta.tsx | 2 +- .../rsform-page/editor-term-graph/view-hidden.tsx | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/rsconcept/frontend/src/components/dropdown/dropdown.tsx b/rsconcept/frontend/src/components/dropdown/dropdown.tsx index 6d5bea1a..50626227 100644 --- a/rsconcept/frontend/src/components/dropdown/dropdown.tsx +++ b/rsconcept/frontend/src/components/dropdown/dropdown.tsx @@ -45,7 +45,6 @@ export function Dropdown({ margin, className )} - aria-hidden={!isOpen} inert={!isOpen} {...restProps} > diff --git a/rsconcept/frontend/src/features/oss/pages/oss-page/editor-oss-graph/context-menu/menu-operation.tsx b/rsconcept/frontend/src/features/oss/pages/oss-page/editor-oss-graph/context-menu/menu-operation.tsx index b84b4d39..4206d16c 100644 --- a/rsconcept/frontend/src/features/oss/pages/oss-page/editor-oss-graph/context-menu/menu-operation.tsx +++ b/rsconcept/frontend/src/features/oss/pages/oss-page/editor-oss-graph/context-menu/menu-operation.tsx @@ -246,10 +246,7 @@ export function MenuOperation({ operation, onHide }: MenuOperationProps) { disabled={isProcessing} /> ) : null} - {isMutable && - !operation.result && - operation.operation_type === OperationType.SYNTHESIS && - operation.arguments.length === 0 ? ( + {isMutable && !operation.result && operation.operation_type === OperationType.INPUT ? ( ) : null} - {isMutable && !operation.result && operation.operation_type === OperationType.SYNTHESIS ? ( + {isMutable && + !operation.result && + operation.operation_type === OperationType.SYNTHESIS && + operation.arguments.length > 0 ? ( item.operation_type === OperationType.REPLICA).length }; - return ; + return ; } diff --git a/rsconcept/frontend/src/features/rsform/components/view-constituents/constituents-search.tsx b/rsconcept/frontend/src/features/rsform/components/view-constituents/constituents-search.tsx index c9337fc7..5ffaa72b 100644 --- a/rsconcept/frontend/src/features/rsform/components/view-constituents/constituents-search.tsx +++ b/rsconcept/frontend/src/features/rsform/components/view-constituents/constituents-search.tsx @@ -28,7 +28,7 @@ export function ConstituentsSearch({ dense, hideGraphFilter }: ConstituentsSearc const toggleCrucial = useCstSearchStore(state => state.toggleCrucial); return ( -
+
-
+
{activeCst ? ( {items.map(cstID => {