mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
Merge pull request #335 from dbeaver/fix/tooltips
fix(core-blocks): CB-451 add missing tooltips
This commit is contained in:
@@ -84,7 +84,7 @@ export const InputField: InputFieldType = observer(function InputField({
|
||||
|
||||
return styled(styles)(
|
||||
<field as="div" className={className} {...use({ long, short })}>
|
||||
<field-label as='label'>{children} {required && '*'}</field-label>
|
||||
<field-label as='label' title={rest.title}>{children} {required && '*'}</field-label>
|
||||
<input
|
||||
{...rest}
|
||||
name={name}
|
||||
|
||||
@@ -108,7 +108,7 @@ export const InputFieldNew: InputFieldType = observer(function InputFieldNew({
|
||||
|
||||
return styled(styles)(
|
||||
<field as="div" className={className} {...use({ small, medium, large })}>
|
||||
<field-label as='label'>{children}{required && ' *'}</field-label>
|
||||
<field-label as='label' title={rest.title}>{children}{required && ' *'}</field-label>
|
||||
<input
|
||||
ref={ref}
|
||||
role='new'
|
||||
|
||||
@@ -111,6 +111,7 @@ const RenderField: React.FC<RenderFieldProps> = observer(function RenderField({
|
||||
return (
|
||||
<InputFieldNew
|
||||
type={password ? 'password' : 'text'}
|
||||
title={property.description}
|
||||
name={property.id!}
|
||||
state={state}
|
||||
description={description}
|
||||
|
||||
+1
@@ -38,6 +38,7 @@ export const ServerConfigurationInfoForm: React.FC<Props> = observer(function Se
|
||||
{translate('administration_configuration_wizard_configuration_server_name')}
|
||||
</InputFieldNew>
|
||||
<InputFieldNew
|
||||
title={translate('administration_configuration_wizard_configuration_server_session_lifetime_description')}
|
||||
type="number"
|
||||
name="sessionExpireTime"
|
||||
state={state.serverConfig}
|
||||
|
||||
@@ -14,6 +14,7 @@ export default [
|
||||
['administration_configuration_wizard_configuration_server_info', 'Server Information'],
|
||||
['administration_configuration_wizard_configuration_server_name', 'Server Name'],
|
||||
['administration_configuration_wizard_configuration_server_session_lifetime', 'Session lifetime'],
|
||||
['administration_configuration_wizard_configuration_server_session_lifetime_description', 'Here you may specify the number of minutes that you wish the session to be allowed to remain idle before it expires'],
|
||||
|
||||
['administration_configuration_wizard_configuration_plugins', 'Configuration'],
|
||||
['administration_configuration_wizard_configuration_custom_connections', 'Enable custom connections'],
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
export default [
|
||||
['administration_configuration_wizard_configuration', 'Настройки сервера'],
|
||||
['administration_configuration_wizard_configuration_server_session_lifetime', 'Время сессии'],
|
||||
['administration_configuration_wizard_configuration_server_session_lifetime_description', 'В случае бездействия пользователя на протяжении указанного количества минут, его сессия будет закрыта.'],
|
||||
['administration_configuration_wizard_configuration_custom_connections', 'Разрешить пользовательские подключения'],
|
||||
['administration_configuration_wizard_configuration_custom_connections_description', 'Позволяет пользователям создавать собственные подключения. Иначе, любые подключения могут быть добавлены только со страницы администрирования'],
|
||||
['administration_configuration_wizard_configuration_navigation_tree_view', 'Упрощенная версия дерева навигации'],
|
||||
|
||||
@@ -37,6 +37,7 @@ export const AuthProviderForm = observer(function AuthProviderForm({
|
||||
{provider.credentialParameters.map(parameter => parameter.user && (
|
||||
<group key={parameter.id} as="div">
|
||||
<InputField
|
||||
title={parameter.description}
|
||||
type={parameter.encryption === 'none' ? 'text' : 'password'}
|
||||
name={`authentication_${provider.id}_${parameter.id}`}
|
||||
value={credentials[parameter.id]}
|
||||
|
||||
+2
@@ -27,6 +27,7 @@ export const ObjectProperty = observer(function ObjectProperty({
|
||||
? (
|
||||
<FieldCheckboxNew
|
||||
className={className}
|
||||
title={objectProperty.description}
|
||||
name={objectProperty.id}
|
||||
value={getValue(objectProperty.value)}
|
||||
disabled
|
||||
@@ -38,6 +39,7 @@ export const ObjectProperty = observer(function ObjectProperty({
|
||||
: (
|
||||
<InputFieldNew
|
||||
className={className}
|
||||
title={objectProperty.description}
|
||||
name={objectProperty.id}
|
||||
value={getValue(objectProperty.value)}
|
||||
readOnly
|
||||
|
||||
Reference in New Issue
Block a user