diff --git a/mathesar_ui/src/component-library/labeled-input/LabeledInput.scss b/mathesar_ui/src/component-library/labeled-input/LabeledInput.scss index 70526c44da..0a433abab8 100644 --- a/mathesar_ui/src/component-library/labeled-input/LabeledInput.scss +++ b/mathesar_ui/src/component-library/labeled-input/LabeledInput.scss @@ -20,7 +20,7 @@ display: block; font-size: var(--text-size-small); color: var(--color-text-muted); - margin-top: 0.5rem; + margin-top: var(--spacing-y, var(--spacing-y-default)); &:empty { display: none; } diff --git a/mathesar_ui/src/component-library/labeled-input/LabeledInput.svelte b/mathesar_ui/src/component-library/labeled-input/LabeledInput.svelte index 64fd6d80c1..e8e40eee53 100644 --- a/mathesar_ui/src/component-library/labeled-input/LabeledInput.svelte +++ b/mathesar_ui/src/component-library/labeled-input/LabeledInput.svelte @@ -21,8 +21,8 @@ white space. --> {label ?? ''} - {help ?? ''} + {help ?? ''} diff --git a/mathesar_ui/src/i18n/languages/en/dict.json b/mathesar_ui/src/i18n/languages/en/dict.json index a5b05dd17c..175fcafe0b 100644 --- a/mathesar_ui/src/i18n/languages/en/dict.json +++ b/mathesar_ui/src/i18n/languages/en/dict.json @@ -46,7 +46,6 @@ "cannot_move_linked_column_to_linked_table": "Cannot move linking column \"{columnName}\" to its linked table \"{tableName}\".", "cell": "Cell", "change_password": "Change Password", - "change_password_leave_empty_help": "If you want to change your password, enter a new one below. Otherwise, just leave the field blank.", "check_for_updates": "Check for Updates", "choose_connection": "Choose a Database Connection", "choose_schema": "Choose a Schema", @@ -162,6 +161,7 @@ "description": "Description", "disable_link": "Disable Link", "disable_link_question": "Disable Link?", + "disabled_connection_edit_fields_help": "Mathesar does not yet support editing a connection's database name, host, and port. We [issueLink](plan) to add support for this in the future. In the meantime, you can delete this connection and create a new one if needed.", "disallow_null_values": "Disallow [null] Values", "disallow_null_values_help": "Enable this option to prevent null values in the column. Null values are empty values that are not the same as zero or an empty string.", "discard_changes": "Discard Changes", diff --git a/mathesar_ui/src/systems/connections/EditConnectionModal.svelte b/mathesar_ui/src/systems/connections/EditConnectionModal.svelte index 9a8fc83f69..6c8bb1b5cd 100644 --- a/mathesar_ui/src/systems/connections/EditConnectionModal.svelte +++ b/mathesar_ui/src/systems/connections/EditConnectionModal.svelte @@ -1,14 +1,16 @@ - + form.reset()}> {#if slotName === 'connectionName'} @@ -91,51 +79,97 @@ layout="stacked" />
- +
- +
- +
- -
- {$_('user_needs_create_connect_privileges')} - - {$_('why_is_this_needed')} - -
-
+ -
{$_('change_password')}
-
- {$_('change_password_leave_empty_help')} +
+ + + {#if slotName === 'issueLink'} + {translatedArg} + {/if} + +
+ +
+ -
- {$_('password_encryption_help')} -
+ + + + + + + + + + {#if $changePassword} + + {/if}
form.reset()} + onProceed={save} />
@@ -145,10 +179,8 @@ margin: var(--size-large) 0; } - .help { + .disabled-help { font-size: var(--size-small); - color: var(--slate-400); - margin: var(--size-super-ultra-small) 0; } [data-identifier='host-port-config'] { diff --git a/mathesar_ui/src/systems/data-explorer/exploration-inspector/CellTab.svelte b/mathesar_ui/src/systems/data-explorer/exploration-inspector/CellTab.svelte index 9230e4025a..a6a38a4f3b 100644 --- a/mathesar_ui/src/systems/data-explorer/exploration-inspector/CellTab.svelte +++ b/mathesar_ui/src/systems/data-explorer/exploration-inspector/CellTab.svelte @@ -4,7 +4,7 @@ * * NOTICE: There is some code duplication between this file and * `CellMode.svelte` used for the table view. It might be good to resolve this - * duplication at some point. In the mean time, be mindful of propagating + * duplication at some point. In the meantime, be mindful of propagating * changes to both files as necessary. */ import { _ } from 'svelte-i18n'; diff --git a/mathesar_ui/src/systems/table-view/table-inspector/cell/CellMode.svelte b/mathesar_ui/src/systems/table-view/table-inspector/cell/CellMode.svelte index ccdf741739..cb7a00bfd4 100644 --- a/mathesar_ui/src/systems/table-view/table-inspector/cell/CellMode.svelte +++ b/mathesar_ui/src/systems/table-view/table-inspector/cell/CellMode.svelte @@ -4,7 +4,7 @@ * * NOTICE: There is some code duplication between this file and * `CellTab.svelte` used for the data explorer. It might be good to resolve - * this duplication at some point. In the mean time, be mindful of propagating + * this duplication at some point. In the meantime, be mindful of propagating * changes to both files as necessary. */ import { _ } from 'svelte-i18n';