TagSpaces is an offline, open source, document manager with tagging support
chore: making the ues of TooltipTS consistent
Ilian Sapundshievb9b7ddfad22c
diff --git a/src/renderer/components/EditDescriptionButtons.tsx b/src/renderer/components/EditDescriptionButtons.tsxindex 2b6650ab6..22f5ce478 100644--- a/src/renderer/components/EditDescriptionButtons.tsx+++ b/src/renderer/components/EditDescriptionButtons.tsx@@ -1,6 +1,25 @@+/**+ * TagSpaces - universal file and folder organizer+ * Copyright (C) 2017-present TagSpaces GmbH+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License (version 3) as+ * published by the Free Software Foundation.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ *+ */+import AppConfig from '-/AppConfig';import { MoreMenuIcon } from '-/components/CommonIcons';import { ProTooltip } from '-/components/HelperComponents';+import Tooltip from '-/components/Tooltip';import TsButton from '-/components/TsButton';import TsIconButton from '-/components/TsIconButton';import AiGenDescButton from '-/components/chat/AiGenDescButton';@@ -14,7 +33,7 @@ import {getMimeType,saveAsTextFile,} from '-/services/utils-io';-import { ButtonGroup, Tooltip, useTheme } from '@mui/material';+import { ButtonGroup, useTheme } from '@mui/material';import { formatDateTime4Tag } from '@tagspaces/tagspaces-common/misc';import { extractTitle } from '@tagspaces/tagspaces-common/paths';import React from 'react';diff --git a/src/renderer/components/HowToStart.tsx b/src/renderer/components/HowToStart.tsxindex 9bf8fabbc..c0e4cbe41 100644--- a/src/renderer/components/HowToStart.tsx+++ b/src/renderer/components/HowToStart.tsx@@ -1,19 +1,37 @@+/**+ * TagSpaces - universal file and folder organizer+ * Copyright (C) 2017-present TagSpaces GmbH+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License (version 3) as+ * published by the Free Software Foundation.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ *+ */+import { ProSign } from '-/components/HelperComponents';+import Tooltip from '-/components/Tooltip';import TsButton from '-/components/TsButton';import { AppDispatch } from '-/reducers/app';import { actions as SettingsActions } from '-/reducers/settings';import { openURLExternally } from '-/services/utils-io';import VisibilityOffIcon from '@mui/icons-material/VisibilityOff';import Box from '@mui/material/Box';+import IconButton from '@mui/material/IconButton';import Paper from '@mui/material/Paper';import Step from '@mui/material/Step';import StepContent from '@mui/material/StepContent';import StepLabel from '@mui/material/StepLabel';import Stepper from '@mui/material/Stepper';-import Tooltip from '@mui/material/Tooltip';-import Typography from '@mui/material/Typography';-import IconButton from '@mui/material/IconButton';import { useTheme } from '@mui/material/styles';+import Typography from '@mui/material/Typography';import Links from 'assets/links';import * as React from 'react';import { useTranslation } from 'react-i18next';diff --git a/src/renderer/components/dialogs/components/SettingsGeneral.tsx b/src/renderer/components/dialogs/components/SettingsGeneral.tsxindex 311564d47..ac1f689db 100644--- a/src/renderer/components/dialogs/components/SettingsGeneral.tsx+++ b/src/renderer/components/dialogs/components/SettingsGeneral.tsx@@ -21,6 +21,7 @@ import { CheckIcon, CloseIcon, ReloadIcon } from '-/components/CommonIcons';import { BetaLabel, ProLabel } from '-/components/HelperComponents';import InfoIcon from '-/components/InfoIcon';import PerspectiveSelector from '-/components/PerspectiveSelector';+import TooltipTS from '-/components/Tooltip';import TransparentBackground from '-/components/TransparentBackground';import TsButton from '-/components/TsButton';import TsIconButton from '-/components/TsIconButton';@@ -53,7 +54,6 @@ import ListItemText from '@mui/material/ListItemText';import MenuItem from '@mui/material/MenuItem';import Switch from '@mui/material/Switch';import ToggleButtonGroup from '@mui/material/ToggleButtonGroup';-import TooltipTS from '@mui/material/Tooltip';import Typography from '@mui/material/Typography';import {useContext,diff --git a/src/renderer/components/dialogs/components/SettingsPerspectives.tsx b/src/renderer/components/dialogs/components/SettingsPerspectives.tsxindex 9932a95b6..205d00499 100644--- a/src/renderer/components/dialogs/components/SettingsPerspectives.tsx+++ b/src/renderer/components/dialogs/components/SettingsPerspectives.tsx@@ -17,6 +17,7 @@*/import { BetaLabel, ProLabel } from '-/components/HelperComponents';+import Tooltip from '-/components/Tooltip';import TsButton from '-/components/TsButton';import { usePerspectiveOnboardingContext } from '-/components/dialogs/hooks/usePerspectiveOnboardingContext';import { useNotificationContext } from '-/hooks/useNotificationContext';@@ -37,7 +38,6 @@ import ListItem from '@mui/material/ListItem';import ListItemIcon from '@mui/material/ListItemIcon';import ListItemText from '@mui/material/ListItemText';import Switch from '@mui/material/Switch';-import Tooltip from '@mui/material/Tooltip';import Typography from '@mui/material/Typography';import { ChangeEvent } from 'react';import { useTranslation } from 'react-i18next';