Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: small usability improvements

Ilian Sapundshiev94eb617977df
diff --git a/src/renderer/components/EntryProperties.tsx b/src/renderer/components/EntryProperties.tsx
index f52e5fad6..0d0d71a50 100644
--- a/src/renderer/components/EntryProperties.tsx
+++ b/src/renderer/components/EntryProperties.tsx
@@ -32,17 +32,18 @@ import {
SetColorIcon,
SizeIcon,
} from '-/components/CommonIcons';
+import ElectronTileLayer from '-/components/ElectronTileLayer';
import { ProTooltip } from '-/components/HelperComponents';
import InfoIcon from '-/components/InfoIcon';
import NoTileServer from '-/components/NoTileServer';
import PerspectiveSelector from '-/components/PerspectiveSelector';
import TagDropContainer from '-/components/TagDropContainer';
import TagsSelect from '-/components/TagsSelect';
-import TsTooltip from '-/components/TsTooltip';
import TransparentBackground from '-/components/TransparentBackground';
import TsButton from '-/components/TsButton';
import TsIconButton from '-/components/TsIconButton';
import TsTextField from '-/components/TsTextField';
+import TsTooltip from '-/components/TsTooltip';
import LinkGeneratorDialog from '-/components/dialogs/LinkGeneratorDialog';
import { useMenuContext } from '-/components/dialogs/hooks/useMenuContext';
import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';
@@ -104,7 +105,6 @@ import {
Popup,
} from 'react-leaflet';
import { useSelector } from 'react-redux';
-import ElectronTileLayer from '-/components/ElectronTileLayer';
import { Pro } from '../pro';
const ThumbnailTextField = styled(TsTextField)(({ theme }) => ({
@@ -521,7 +521,7 @@ function EntryProperties({ tileServer }: Props) {
<TsButton
data-tid="confirmRenameEntryTID"
onClick={renameEntry}
- variant="text"
+ variant="contained"
disabled={disableConfirmButton.current}
>
{t('core:confirmSaveButton')}
diff --git a/src/renderer/components/dialogs/ExportImportPanel.tsx b/src/renderer/components/dialogs/ExportImportPanel.tsx
index 653a17aac..38cf4cb9d 100644
--- a/src/renderer/components/dialogs/ExportImportPanel.tsx
+++ b/src/renderer/components/dialogs/ExportImportPanel.tsx
@@ -501,6 +501,11 @@ function ExportImportPanel(props: Props) {
</span>
}
/>
+ {s === 'locations' && mode === 'export' && (
+ <FormHelperText data-tid="locationsExportConfigNoteTID">
+ {t('core:locationsExportConfigNote')}
+ </FormHelperText>
+ )}
{isInvalid && (
<FormHelperText sx={{ color: 'error.main' }}>
{t('core:sectionInvalidSkipped')}
diff --git a/src/renderer/locales/en/core.json b/src/renderer/locales/en/core.json
index 6d06f297f..bec87e16c 100644
--- a/src/renderer/locales/en/core.json
+++ b/src/renderer/locales/en/core.json
@@ -143,6 +143,7 @@
"backupRestoreSettingsTab": "Backup Settings",
"exportImportTitle": "Export & Import",
"sectionLocations": "Locations",
+ "locationsExportConfigNote": "Only the location configuration (path, credentials and options) is exported — not the files it contains.",
"selectWhatToExport": "Select what to export",
"selectWhatToImport": "Select what to import",
"encryptExport": "Encrypt export with a password",