diff --git a/GUI/src/components/Flow/EdgeTypes/AddEndpointModal.tsx b/GUI/src/components/Flow/EdgeTypes/AddEndpointModal.tsx index 754559ac3..fcefee8f5 100644 --- a/GUI/src/components/Flow/EdgeTypes/AddEndpointModal.tsx +++ b/GUI/src/components/Flow/EdgeTypes/AddEndpointModal.tsx @@ -188,7 +188,7 @@ const AddEndpointModal: React.FC = ({ const modalTitle = mode === 'edit' ? t('newService.editEndpoint') : t('newService.createNewEndpoint'); return ( - + = ({ onAddToCanvas }) => minWidth: 0, height: 40, padding: '4px 8px', - background: '#FFFFFF', - border: '1px solid #9799A4', borderRadius: 4, fontFamily: "'Roboto', sans-serif", fontSize: 16, fontWeight: 400, lineHeight: '24px', - color: '#09090b', outline: 'none', boxSizing: 'border-box', }} @@ -222,17 +219,15 @@ const ApiElementsPanel: React.FC = ({ onAddToCanvas }) => > - + - @@ -339,6 +330,7 @@ const ApiElementsPanel: React.FC = ({ onAddToCanvas }) => useToastStore.getState().error({ title: t('global.notificationError') }); }); }} + className="api-elements-panel__action-btn" style={{ background: 'none', border: 'none', @@ -346,7 +338,6 @@ const ApiElementsPanel: React.FC = ({ onAddToCanvas }) => padding: 6, opacity: isTesting ? 0.4 : 1, lineHeight: 1, - color: '#555867', fontSize: 18, display: 'flex', }} @@ -360,13 +351,13 @@ const ApiElementsPanel: React.FC = ({ onAddToCanvas }) => e.stopPropagation(); setEditingEndpoint(endpoint); }} + className="api-elements-panel__action-btn" style={{ background: 'none', border: 'none', cursor: 'pointer', padding: 6, lineHeight: 1, - color: '#555867', fontSize: 18, display: 'flex', }} @@ -380,13 +371,13 @@ const ApiElementsPanel: React.FC = ({ onAddToCanvas }) => e.stopPropagation(); setDeletingEndpoint(endpoint); }} + className="api-elements-panel__action-btn" style={{ background: 'none', border: 'none', cursor: 'pointer', padding: 6, lineHeight: 1, - color: '#555867', fontSize: 18, display: 'flex', }} @@ -405,8 +396,6 @@ const ApiElementsPanel: React.FC = ({ onAddToCanvas }) =>
void; + size?: 'default' | 'large'; }; -const Modal: FC> = ({ title, footer, onClose, children, description }) => { +const Modal: FC> = ({ + title, + footer, + onClose, + children, + description, + size = 'default', +}) => { return ( e.stopPropagation()} - className="modal" + className={`modal${size === 'large' ? ' modal--large' : ''}`} aria-describedby={description ? 'modal-description' : undefined} > {title && ( diff --git a/GUI/src/pages/ApiRegistryPage/ApiRegistryTable.tsx b/GUI/src/pages/ApiRegistryPage/ApiRegistryTable.tsx index 32d457f6a..874541aaa 100644 --- a/GUI/src/pages/ApiRegistryPage/ApiRegistryTable.tsx +++ b/GUI/src/pages/ApiRegistryPage/ApiRegistryTable.tsx @@ -74,7 +74,16 @@ export const EndpointTooltipContent: React.FC<{ const IND2: React.CSSProperties = { paddingLeft: 32, opacity: 0.75, fontSize: 11 }; return ( -
+
NAME: {name || '—'}
@@ -218,7 +227,7 @@ const ApiRegistryTable: React.FC = ({
- + @@ -355,6 +364,14 @@ const ApiRegistryTable: React.FC = ({ {isTesting ? t('global.loading') : t('apiRegistry.actions.test')} + -
handleSort('name')} style={{ cursor: 'pointer', userSelect: 'none', - background: '#F0F0F2', - borderBottom: '1px solid #D2D3D8', }} > {' '} @@ -245,8 +240,6 @@ const ApiElementsPanel: React.FC = ({ onAddToCanvas }) => userSelect: 'none', width: 90, textAlign: 'center', - background: '#F0F0F2', - borderBottom: '1px solid #D2D3D8', }} > {' '} @@ -259,15 +252,13 @@ const ApiElementsPanel: React.FC = ({ onAddToCanvas }) => userSelect: 'none', width: 100, textAlign: 'center', - background: '#F0F0F2', - borderBottom: '1px solid #D2D3D8', whiteSpace: 'nowrap', }} > {' '} {t('apiRegistry.columns.schema')} +
handleSort('name')} - style={{ cursor: 'pointer', userSelect: 'none', whiteSpace: 'nowrap', width: '30%' }} + style={{ cursor: 'pointer', userSelect: 'none', whiteSpace: 'nowrap', width: '20%' }} > {' '} {String(t('apiRegistry.columns.name'))} @@ -230,7 +239,7 @@ const ApiRegistryTable: React.FC = ({ userSelect: 'none', whiteSpace: 'nowrap', textAlign: 'center', - width: '160px', + width: '200px', }} > {' '} @@ -259,7 +268,7 @@ const ApiRegistryTable: React.FC = ({ {t('apiRegistry.columns.llmIndexStatus') ?? 'LLM Index Status'}