Skip to content

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

chore: adjusting app icons

Ilian Sapundshiev80ff09fb17a7
diff --git a/src/renderer/components/CommonIcons.tsx b/src/renderer/components/CommonIcons.tsx
index beea69036..83a5d743f 100644
--- a/src/renderer/components/CommonIcons.tsx
+++ b/src/renderer/components/CommonIcons.tsx
@@ -17,7 +17,7 @@
*/
import KeyboardReturnIcon from '@mui/icons-material/KeyboardReturn';
-import MarkdownRawIcon from '@mui/icons-material/SimCardDownload';
+import MarkdownRawIcon from '@mui/icons-material/SimCardDownloadOutlined';
export const ParentFolderIcon = (props) => (
<KeyboardReturnIcon style={{ transform: 'rotate(90deg)' }} {...props} />
@@ -31,11 +31,11 @@ export const NavigateToFolderIcon = (props) => <KeyboardReturnIcon />;
export { default as InfoTooltipIcon } from '@mui/icons-material/InfoOutlined';
-export { default as FolderIcon } from '@mui/icons-material/Folder';
+export { default as FolderIcon } from '@mui/icons-material/FolderOutlined';
export { default as FolderOutlineIcon } from '@mui/icons-material/FolderOpen';
-export { default as FileIcon } from '@mui/icons-material/InsertDriveFile';
+export { default as FileIcon } from '@mui/icons-material/InsertDriveFileOutlined';
export { default as MainMenuIcon } from '@mui/icons-material/Menu';
@@ -43,11 +43,11 @@ export { default as GoBackIcon } from '@mui/icons-material/ArrowBack';
export { default as GoForwardIcon } from '@mui/icons-material/ArrowForward';
-export { default as HelpIcon } from '@mui/icons-material/Help';
+export { default as HelpIcon } from '@mui/icons-material/HelpOutlineOutlined';
export { default as InfoIcon } from '@mui/icons-material/InfoOutlined';
-export { default as FolderPropertiesIcon } from '@mui/icons-material/Info';
+export { default as EntryPropertiesIcon } from '@mui/icons-material/InfoOutlined';
export { default as RemoveIcon } from '@mui/icons-material/DeleteOutline';
@@ -57,7 +57,7 @@ export { default as SettingsIcon } from '@mui/icons-material/Settings';
export { default as PerspectiveSettingsIcon } from '@mui/icons-material/DisplaySettings';
-export { default as CreateFileIcon } from '@mui/icons-material/Add';
+export { default as CreateFileIcon } from '@mui/icons-material/AddCircleOutlineOutlined';
export { default as LocalLocationIcon } from '@mui/icons-material/WorkOutline';
@@ -75,7 +75,7 @@ export { default as OpenNewWindowIcon } from '@mui/icons-material/OpenInBrowser'
export { default as ReloadIcon } from '@mui/icons-material/Refresh';
-export { default as DeleteIcon } from '@mui/icons-material/Delete';
+export { default as DeleteIcon } from '@mui/icons-material/DeleteOutlined';
export { default as LinkIcon } from '@mui/icons-material/Link';
@@ -93,21 +93,21 @@ export { default as EmailIcon } from '@mui/icons-material/MailOutline';
export { default as DateIcon } from '@mui/icons-material/DateRange';
-export { default as PictureIcon } from '@mui/icons-material/Panorama';
+export { default as PictureIcon } from '@mui/icons-material/PanoramaOutlined';
-export { default as DocumentIcon } from '@mui/icons-material/PictureAsPdf';
+export { default as DocumentIcon } from '@mui/icons-material/PictureAsPdfOutlined';
-export { default as NoteIcon } from '@mui/icons-material/Note';
+export { default as NoteIcon } from '@mui/icons-material/NoteOutlined';
export { default as AudioIcon } from '@mui/icons-material/MusicVideo';
export { default as VideoIcon } from '@mui/icons-material/OndemandVideo';
-export { default as ArchiveIcon } from '@mui/icons-material/Archive';
+export { default as ArchiveIcon } from '@mui/icons-material/ArchiveOutlined';
export { default as SearchIcon } from '@mui/icons-material/Search';
-export { default as CloseIcon } from '@mui/icons-material/Close';
+export { default as CloseIcon } from '@mui/icons-material/CancelOutlined';
export { default as ArrowBackIcon } from '@mui/icons-material/ArrowBackIos';
@@ -127,9 +127,9 @@ export { default as EditDescriptionIcon } from '@mui/icons-material/EditNote';
export { default as AudioRecordIcon } from '@mui/icons-material/KeyboardVoice';
-export { default as NewFileIcon } from '@mui/icons-material/InsertDriveFile';
+export { default as NewFileIcon } from '@mui/icons-material/InsertDriveFileOutlined';
-export { default as NewFolderIcon } from '@mui/icons-material/CreateNewFolder';
+export { default as NewFolderIcon } from '@mui/icons-material/CreateNewFolderOutlined';
export { default as AddExistingFileIcon } from '@mui/icons-material/ExitToApp';
@@ -141,17 +141,17 @@ export { default as PauseIcon } from '@mui/icons-material/Pause';
export { default as SaveIcon } from '@mui/icons-material/Save';
-export { default as DownloadIcon } from '@mui/icons-material/DownloadForOffline';
+export { default as DownloadIcon } from '@mui/icons-material/DownloadForOfflineOutlined';
-export { default as TagIcon } from '@mui/icons-material/LocalOffer';
+export { default as TagIcon } from '@mui/icons-material/LocalOfferOutlined';
export { default as IDIcon } from '@mui/icons-material/Abc';
-export { default as AudioFileIcon } from '@mui/icons-material/AudioFile';
+export { default as AudioFileIcon } from '@mui/icons-material/AudioFileOutlined';
-export { default as HTMLFileIcon } from '@mui/icons-material/Description';
+export { default as HTMLFileIcon } from '@mui/icons-material/DescriptionOutlined';
-export { default as LinkFileIcon } from '@mui/icons-material/FileOpen';
+export { default as LinkFileIcon } from '@mui/icons-material/FileOpenOutlined';
export { default as AccountIcon } from '@mui/icons-material/AccountCircle';
@@ -178,7 +178,7 @@ export { default as TagLibraryIcon } from '@mui/icons-material/LocalOfferOutline
export { default as RecentThingsIcon } from '@mui/icons-material/BookmarksOutlined';
-export { default as AIIcon } from '@mui/icons-material/AutoFixHigh'; // AutoAwesome AutoFixHigh
+export { default as AIIcon } from '@mui/icons-material/AutoFixHighOutlined'; // AutoAwesome AutoFixHigh
export { default as ExtensionIcon } from '@mui/icons-material/Extension';
@@ -188,9 +188,9 @@ export { default as OptionsIcon } from '@mui/icons-material/FactCheck';
export { default as AdvancedSettingsIcon } from '@mui/icons-material/DisplaySettings';
-export { default as ArrowUpIcon } from '@mui/icons-material/ArrowUpward';
+export { default as ArrowUpIcon } from '@mui/icons-material/ArrowCircleUpOutlined';
-export { default as ArrowDownIcon } from '@mui/icons-material/ArrowDownward';
+export { default as ArrowDownIcon } from '@mui/icons-material/ArrowCircleDownOutlined';
export { default as SmallArrowUpIcon } from '@mui/icons-material/KeyboardArrowDown';
@@ -200,4 +200,36 @@ export { default as SmallArrowRightIcon } from '@mui/icons-material/KeyboardArro
export { default as ExportImportIcon } from '@mui/icons-material/SwapHoriz';
+export { default as ExportIcon } from '@mui/icons-material/AssignmentReturnOutlined';
+
+export { default as SortingIcon } from '@mui/icons-material/SwapVerticalCircleOutlined';
+
export { default as ShareIcon } from '@mui/icons-material/Share';
+
+export { default as CopyMoveIcon } from '@mui/icons-material/FileCopyOutlined';
+
+export { default as DragOffIcon } from '@mui/icons-material/CopyAll';
+
+export { default as DragOnIcon } from '@mui/icons-material/CopyAllTwoTone';
+
+export { default as ImportTagsIcon } from '@mui/icons-material/FindInPageOutlined';
+
+export { default as RenameIcon } from '@mui/icons-material/DriveFileRenameOutlineOutlined';
+
+export { default as OpenEntryNativelyIcon } from '@mui/icons-material/Launch';
+
+export { default as OpenFolderIcon } from '@mui/icons-material/SubdirectoryArrowLeft';
+
+export { default as OpenFileIcon } from '@mui/icons-material/SubdirectoryArrowRight';
+
+export { default as DuplicateFile } from '@mui/icons-material/DifferenceOutlined';
+
+export { default as DefaultLocationIcon } from '@mui/icons-material/HighlightOutlined';
+
+export { default as MoreInfoIcon } from '@mui/icons-material/OfflineBoltOutlined';
+
+export { default as ArrowLeftIcon } from '@mui/icons-material/ArrowCircleLeftOutlined';
+
+export { default as ArrowRightIcon } from '@mui/icons-material/ArrowCircleRightOutlined';
+
+export { default as PlayIcon } from '@mui/icons-material/PlayCircleFilledWhiteOutlined';
diff --git a/src/renderer/components/InfoIcon.tsx b/src/renderer/components/InfoIcon.tsx
index d7792aaf1..a58264ea2 100644
--- a/src/renderer/components/InfoIcon.tsx
+++ b/src/renderer/components/InfoIcon.tsx
@@ -16,10 +16,8 @@
*
*/
-import React from 'react';
-import { InfoTooltipIcon } from '-/components/CommonIcons';
-import NotListedLocationIcon from '@mui/icons-material/NotListedLocation';
import Tooltip from '-/components/Tooltip';
+import HelpOutlined from '@mui/icons-material/NotListedLocationOutlined';
interface Props {
tooltip?: string;
@@ -29,7 +27,7 @@ function InfoIcon(props: Props) {
const { tooltip } = props;
return (
<Tooltip title={tooltip}>
- <NotListedLocationIcon style={{ opacity: '0.7' }} />
+ <HelpOutlined fontSize="small" style={{ opacity: '0.7' }} />
</Tooltip>
);
}
diff --git a/src/renderer/components/LocationView.tsx b/src/renderer/components/LocationView.tsx
index 1ddb9fb6f..69ac47db7 100644
--- a/src/renderer/components/LocationView.tsx
+++ b/src/renderer/components/LocationView.tsx
@@ -19,6 +19,7 @@
import AppConfig from '-/AppConfig';
import {
CloudLocationIcon,
+ DefaultLocationIcon,
LocalLocationIcon,
MoreMenuIcon,
} from '-/components/CommonIcons';
@@ -40,7 +41,6 @@ import { usePerspectiveActionsContext } from '-/hooks/usePerspectiveActionsConte
import { useSelectedEntriesContext } from '-/hooks/useSelectedEntriesContext';
import { TS } from '-/tagspaces.namespace';
import { CommonLocation } from '-/utils/CommonLocation';
-import DefaultLocationIcon from '@mui/icons-material/Highlight';
import { ListItemText } from '@mui/material';
import ListItem from '@mui/material/ListItem';
import ListItemIcon from '@mui/material/ListItemIcon';
diff --git a/src/renderer/components/MobileNavigation.tsx b/src/renderer/components/MobileNavigation.tsx
index 51fd56ce5..9cd5216cb 100644
--- a/src/renderer/components/MobileNavigation.tsx
+++ b/src/renderer/components/MobileNavigation.tsx
@@ -22,6 +22,7 @@ import {
AddExistingFileIcon,
AudioFileIcon,
CreateFileIcon,
+ DownloadIcon,
HTMLFileIcon,
HelpIcon,
LinkFileIcon,
@@ -69,7 +70,6 @@ import {
} from '-/reducers/settings';
import { createNewInstance } from '-/services/utils-io';
import { ClickAwayListener } from '@mui/base/ClickAwayListener';
-import FileDownloadIcon from '@mui/icons-material/FileDownload';
import { Divider } from '@mui/material';
import Box from '@mui/material/Box';
import ButtonGroup from '@mui/material/ButtonGroup';
@@ -376,7 +376,7 @@ function MobileNavigation(props: Props) {
}}
>
<ListItemIcon>
- <FileDownloadIcon />
+ <DownloadIcon />
</ListItemIcon>
<ListItemText
primary={t('core:newFromDownloadURL')}
diff --git a/src/renderer/components/menus/FileMenu.tsx b/src/renderer/components/menus/FileMenu.tsx
index 3d01248b1..252d78447 100644
--- a/src/renderer/components/menus/FileMenu.tsx
+++ b/src/renderer/components/menus/FileMenu.tsx
@@ -18,11 +18,22 @@
import AppConfig from '-/AppConfig';
import {
+ ArrowDownIcon,
+ ArrowUpIcon,
+ CopyMoveIcon,
DeleteIcon,
DownloadIcon,
+ DuplicateFile,
+ EntryPropertiesIcon,
+ FolderIcon,
LinkIcon,
+ OpenEntryNativelyIcon,
+ OpenFileIcon,
OpenNewWindowIcon,
ParentFolderIcon,
+ PictureIcon,
+ RenameIcon,
+ ShareIcon,
TagIcon,
} from '-/components/CommonIcons';
import TsMenuList from '-/components/TsMenuList';
@@ -46,17 +57,6 @@ import {
} from '-/services/utils-io';
import { TS } from '-/tagspaces.namespace';
import { generateClipboardLink } from '-/utils/dom';
-import MoveCopy from '@mui/icons-material/FileCopy';
-import OpenFolderInternally from '@mui/icons-material/Folder';
-import RenameFile from '@mui/icons-material/FormatTextdirectionLToR';
-import ImageIcon from '@mui/icons-material/Image';
-import PropertiesIcon from '@mui/icons-material/Info';
-import OpenFileNatively from '@mui/icons-material/Launch';
-import DuplicateFile from '@mui/icons-material/PostAdd';
-import ShareIcon from '@mui/icons-material/Share';
-import OpenFile from '@mui/icons-material/SubdirectoryArrowRight';
-import MoveToBottomIcon from '@mui/icons-material/VerticalAlignBottom';
-import MoveToTopIcon from '@mui/icons-material/VerticalAlignTop';
import { Menu, MenuItem } from '@mui/material';
import Divider from '@mui/material/Divider';
import ListItemIcon from '@mui/material/ListItemIcon';
@@ -331,7 +331,7 @@ function FileMenu(props: Props) {
onClick={openFile}
>
<ListItemIcon>
- <OpenFile />
+ <OpenFileIcon />
</ListItemIcon>
<ListItemText primary={t('core:openFile')} />
<MenuKeyBinding keyBinding={keyBindings['openEntry']} />
@@ -378,7 +378,7 @@ function FileMenu(props: Props) {
onClick={openFileNativelyHandler}
>
<ListItemIcon>
- <OpenFileNatively />
+ <OpenEntryNativelyIcon />
</ListItemIcon>
<ListItemText primary={t('core:openFileNatively')} />
<MenuKeyBinding keyBinding={keyBindings['openFileExternally']} />
@@ -397,7 +397,7 @@ function FileMenu(props: Props) {
}}
>
<ListItemIcon>
- <OpenFolderInternally />
+ <FolderIcon />
</ListItemIcon>
<ListItemText primary={t('core:showInFileManager')} />
</MenuItem>,
@@ -430,7 +430,7 @@ function FileMenu(props: Props) {
}}
>
<ListItemIcon>
- <MoveToTopIcon />
+ <ArrowUpIcon />
</ListItemIcon>
<ListItemText primary={t('core:moveToTop')} />
</MenuItem>,
@@ -447,7 +447,7 @@ function FileMenu(props: Props) {
}}
>
<ListItemIcon>
- <MoveToBottomIcon />
+ <ArrowDownIcon />
</ListItemIcon>
<ListItemText primary={t('core:moveToBottom')} />
</MenuItem>,
@@ -461,7 +461,7 @@ function FileMenu(props: Props) {
onClick={showRenameFileDialog}
>
<ListItemIcon>
- <RenameFile />
+ <RenameIcon />
</ListItemIcon>
<ListItemText primary={t('core:renameFile')} />
<MenuKeyBinding keyBinding={keyBindings['renameFile']} />
@@ -508,7 +508,7 @@ function FileMenu(props: Props) {
onClick={showMoveCopyFilesDialog}
>
<ListItemIcon>
- <MoveCopy />
+ <CopyMoveIcon />
</ListItemIcon>
<ListItemText primary={t('core:moveCopyFile')} />
<MenuKeyBinding keyBinding={keyBindings['copyMoveSelectedEntries']} />
@@ -536,7 +536,7 @@ function FileMenu(props: Props) {
onClick={setFolderThumbnail}
>
<ListItemIcon>
- <ImageIcon />
+ <PictureIcon />
</ListItemIcon>
<ListItemText primary={t('core:setAsThumbnail')} />
</MenuItem>,
@@ -549,7 +549,7 @@ function FileMenu(props: Props) {
onClick={() => setFolderBackground()}
>
<ListItemIcon>
- <ImageIcon />
+ <PictureIcon />
</ListItemIcon>
<ListItemText primary={t('core:setAsBackground')} />
</MenuItem>,
@@ -616,7 +616,7 @@ function FileMenu(props: Props) {
onClick={showProperties}
>
<ListItemIcon>
- <PropertiesIcon />
+ <EntryPropertiesIcon />
</ListItemIcon>
<ListItemText primary={t('core:filePropertiesTitle')} />
<MenuKeyBinding keyBinding={keyBindings['openEntryDetails']} />
diff --git a/src/renderer/components/menus/LocationContextMenu.tsx b/src/renderer/components/menus/LocationContextMenu.tsx
index ff4575af4..b5a97e349 100644
--- a/src/renderer/components/menus/LocationContextMenu.tsx
+++ b/src/renderer/components/menus/LocationContextMenu.tsx
@@ -16,30 +16,32 @@
*
*/
-import React from 'react';
-import { getUuid } from '@tagspaces/tagspaces-common/utils-io';
-import { generateSharingLink } from '@tagspaces/tagspaces-common/paths';
-import ListItemText from '@mui/material/ListItemText';
-import ListItemIcon from '@mui/material/ListItemIcon';
-import Divider from '@mui/material/Divider';
+import AppConfig from '-/AppConfig';
+import {
+ ArrowDownIcon,
+ ArrowUpIcon,
+ CloseIcon,
+ DeleteIcon,
+ EditIcon,
+ OpenNewWindowIcon,
+ ReloadIcon,
+} from '-/components/CommonIcons';
+import TsMenuList from '-/components/TsMenuList';
+import { useCreateEditLocationDialogContext } from '-/components/dialogs/hooks/useCreateEditLocationDialogContext';
+import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';
+import { useLocationIndexContext } from '-/hooks/useLocationIndexContext';
+import { createNewInstance, openDirectoryMessage } from '-/services/utils-io';
import ContentCopyIcon from '@mui/icons-material/ContentCopy';
+import OpenFolderNativelyIcon from '@mui/icons-material/Launch';
+import Divider from '@mui/material/Divider';
+import ListItemIcon from '@mui/material/ListItemIcon';
+import ListItemText from '@mui/material/ListItemText';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
-import EditIcon from '@mui/icons-material/Edit';
-import RefreshIcon from '@mui/icons-material/Refresh';
-import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward';
-import ArrowDownwardIcon from '@mui/icons-material/ArrowDownward';
-import DeleteIcon from '@mui/icons-material/DeleteForever';
-import OpenFolderNativelyIcon from '@mui/icons-material/Launch';
-import { OpenNewWindowIcon, CloseIcon } from '-/components/CommonIcons';
-import TsMenuList from '-/components/TsMenuList';
import { locationType } from '@tagspaces/tagspaces-common/misc';
-import AppConfig from '-/AppConfig';
+import { generateSharingLink } from '@tagspaces/tagspaces-common/paths';
+import { getUuid } from '@tagspaces/tagspaces-common/utils-io';
import { useTranslation } from 'react-i18next';
-import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';
-import { useLocationIndexContext } from '-/hooks/useLocationIndexContext';
-import { createNewInstance, openDirectoryMessage } from '-/services/utils-io';
-import { useCreateEditLocationDialogContext } from '-/components/dialogs/hooks/useCreateEditLocationDialogContext';
interface Props {
//setEditLocationDialogOpened: (open: boolean) => void;
@@ -205,7 +207,7 @@ function LocationContextMenu(props: Props) {
onClick={indexLocation}
>
<ListItemIcon>
- <RefreshIcon />
+ <ReloadIcon />
</ListItemIcon>
<ListItemText primary={t('core:indexLocation')} />
</MenuItem>,
@@ -219,7 +221,7 @@ function LocationContextMenu(props: Props) {
onClick={moveLocationUpInt}
>
<ListItemIcon>
- <ArrowUpwardIcon />
+ <ArrowUpIcon />
</ListItemIcon>
<ListItemText primary={t('core:moveUp')} />
</MenuItem>,
@@ -231,7 +233,7 @@ function LocationContextMenu(props: Props) {
onClick={moveLocationDownInt}
>
<ListItemIcon>
- <ArrowDownwardIcon />
+ <ArrowDownIcon />
</ListItemIcon>
<ListItemText primary={t('core:moveDown')} />
</MenuItem>,
diff --git a/src/renderer/components/menus/LocationManagerMenu.tsx b/src/renderer/components/menus/LocationManagerMenu.tsx
index 674fd84ce..9e0ce8fcf 100644
--- a/src/renderer/components/menus/LocationManagerMenu.tsx
+++ b/src/renderer/components/menus/LocationManagerMenu.tsx
@@ -18,9 +18,12 @@
import AppConfig from '-/AppConfig';
import {
+ CloseIcon,
+ ExportImportIcon,
HelpIcon,
LocalLocationIcon,
MoreMenuIcon,
+ ReloadIcon,
} from '-/components/CommonIcons';
import { ProLabel } from '-/components/HelperComponents';
import TsIconButton from '-/components/TsIconButton';
@@ -29,9 +32,6 @@ import { useLinkDialogContext } from '-/components/dialogs/hooks/useLinkDialogCo
import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';
import { useLocationIndexContext } from '-/hooks/useLocationIndexContext';
import { openURLExternally } from '-/services/utils-io';
-import CloseIcon from '@mui/icons-material/Close';
-import ExportImportIcon from '@mui/icons-material/SwapHoriz';
-import UpdateIndexIcon from '@mui/icons-material/Update';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Menu from '@mui/material/Menu';
@@ -175,7 +175,7 @@ function LocationManagerMenu(props: Props) {
}}
>
<ListItemIcon>
- <UpdateIndexIcon />
+ <ReloadIcon />
</ListItemIcon>
<ListItemText primary={t('core:updateAllLocationIndexes')} />
</MenuItem>,
diff --git a/src/renderer/components/menus/TagLibraryMenu.tsx b/src/renderer/components/menus/TagLibraryMenu.tsx
index 23a1a4774..5e0424b6b 100644
--- a/src/renderer/components/menus/TagLibraryMenu.tsx
+++ b/src/renderer/components/menus/TagLibraryMenu.tsx
@@ -16,28 +16,29 @@
*
*/
-import React, { useRef, useState } from 'react';
-import ListItemText from '@mui/material/ListItemText';
-import ListItemIcon from '@mui/material/ListItemIcon';
-import Menu from '@mui/material/Menu';
-import MenuItem from '@mui/material/MenuItem';
-import ImportExportIcon from '@mui/icons-material/SwapHoriz';
-import HelpIcon from '@mui/icons-material/Help';
-import AddIcon from '@mui/icons-material/Add';
-import ReloadIcon from '@mui/icons-material/Sync';
import AppConfig from '-/AppConfig';
-import ImportExportTagGroupsDialog from '../dialogs/ImportExportTagGroupsDialog';
-import Links from 'assets/links';
-import TsMenuList from '-/components/TsMenuList';
+import {
+ CreateFileIcon,
+ ExportImportIcon,
+ HelpIcon,
+ ReloadIcon,
+} from '-/components/CommonIcons';
import { ProLabel, ProTooltip } from '-/components/HelperComponents';
+import TsMenuList from '-/components/TsMenuList';
+import { useEditedTagLibraryContext } from '-/hooks/useEditedTagLibraryContext';
+import { useNotificationContext } from '-/hooks/useNotificationContext';
import { Pro } from '-/pro';
+import { getSaveTagInLocation } from '-/reducers/settings';
import { openURLExternally } from '-/services/utils-io';
+import ListItemIcon from '@mui/material/ListItemIcon';
+import ListItemText from '@mui/material/ListItemText';
+import Menu from '@mui/material/Menu';
+import MenuItem from '@mui/material/MenuItem';
+import Links from 'assets/links';
+import { useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
-import { useNotificationContext } from '-/hooks/useNotificationContext';
-import { useEditedTagLibraryContext } from '-/hooks/useEditedTagLibraryContext';
import { useSelector } from 'react-redux';
-import { getSaveTagInLocation } from '-/reducers/settings';
-import { useTaggingActionsContext } from '-/hooks/useTaggingActionsContext';
+import ImportExportTagGroupsDialog from '../dialogs/ImportExportTagGroupsDialog';
interface Props {
classes?: any;
@@ -122,7 +123,7 @@ function TagLibraryMenu(props: Props) {
}}
>
<ListItemIcon>
- <AddIcon />
+ <CreateFileIcon />
</ListItemIcon>
<ListItemText primary={t('core:createTagGroupTitle')} />
</MenuItem>
@@ -153,14 +154,14 @@ function TagLibraryMenu(props: Props) {
</ProTooltip>
<MenuItem data-tid="importTagGroup" onClick={handleImportTagGroup}>
<ListItemIcon>
- <ImportExportIcon />
+ <ExportImportIcon />
</ListItemIcon>
<ListItemText primary={t('core:importTags')} />
</MenuItem>
{!AppConfig.isCordovaAndroid && (
<MenuItem data-tid="exportTagGroup" onClick={handleExportTagGroup}>
<ListItemIcon>
- <ImportExportIcon />
+ <ExportImportIcon />
</ListItemIcon>
<ListItemText primary={t('core:exportTagGroupsButton')} />
</MenuItem>
diff --git a/src/renderer/hooks/EntryPropsTabsContextProvider.tsx b/src/renderer/hooks/EntryPropsTabsContextProvider.tsx
index 5972f8811..8f493173e 100644
--- a/src/renderer/hooks/EntryPropsTabsContextProvider.tsx
+++ b/src/renderer/hooks/EntryPropsTabsContextProvider.tsx
@@ -21,16 +21,16 @@ import {
AIIcon,
DescriptionIcon,
EditDescriptionIcon,
- FolderPropertiesIcon,
+ EntryPropertiesIcon,
RevisionIcon,
} from '-/components/CommonIcons';
-import LinkIcon from '@mui/icons-material/Link';
import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';
import { Pro } from '-/pro';
import { AppDispatch } from '-/reducers/app';
-import { actions as SettingsActions, isDevMode } from '-/reducers/settings';
+import { isDevMode } from '-/reducers/settings';
import { TS } from '-/tagspaces.namespace';
import { CommonLocation } from '-/utils/CommonLocation';
+import LinkIcon from '@mui/icons-material/Link';
import { getBackupFileDir } from '@tagspaces/tagspaces-common/paths';
import React, { createContext, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
@@ -120,7 +120,7 @@ export const EntryPropsTabsContextProvider = ({
async function getTabsArray(oEntry: TS.OpenedEntry): Promise<TabItem[]> {
//const location: CommonLocation = findLocation(oEntry.locationID);
const tab1: TabItem = {
- icon: <FolderPropertiesIcon />,
+ icon: <EntryPropertiesIcon />,
title: t('core:details'),
name: TabNames.propertiesTab,
};
diff --git a/src/renderer/perspectives/common/DirectoryMenuItems.tsx b/src/renderer/perspectives/common/DirectoryMenuItems.tsx
index e4fe5d0f2..61da42951 100644
--- a/src/renderer/perspectives/common/DirectoryMenuItems.tsx
+++ b/src/renderer/perspectives/common/DirectoryMenuItems.tsx
@@ -1,39 +1,38 @@
-import React from 'react';
-import { useSelector } from 'react-redux';
-import MenuItem from '@mui/material/MenuItem';
-import ListItemIcon from '@mui/material/ListItemIcon';
-import OpenFolderIcon from '@mui/icons-material/SubdirectoryArrowLeft';
-import MoveCopy from '@mui/icons-material/FileCopy';
-import ListItemText from '@mui/material/ListItemText';
-import RenameFolderIcon from '@mui/icons-material/FormatTextdirectionLToR';
import AppConfig from '-/AppConfig';
-import OpenFolderNativelyIcon from '@mui/icons-material/Launch';
-import Divider from '@mui/material/Divider';
-import { Pro } from '-/pro';
-import ImageIcon from '@mui/icons-material/Image';
-import ImportTagsIcon from '@mui/icons-material/FindInPage';
-import { BetaLabel, ProLabel } from '-/components/HelperComponents';
-import { AvailablePerspectives } from '-/perspectives';
-import PropertiesIcon from '@mui/icons-material/Info';
import {
- ReloadIcon,
- OpenNewWindowIcon,
+ AddExistingFileIcon,
+ AudioRecordIcon,
+ CopyMoveIcon,
DeleteIcon,
+ EntryPropertiesIcon,
+ HTMLFileIcon,
+ ImportTagsIcon,
+ LinkFileIcon,
LinkIcon,
- AudioRecordIcon,
+ MarkdownFileIcon,
NewFileIcon,
NewFolderIcon,
- AddExistingFileIcon,
+ OpenEntryNativelyIcon,
+ OpenFolderIcon,
+ OpenNewWindowIcon,
+ PictureIcon,
+ ReloadIcon,
+ RenameIcon,
TagIcon,
- MarkdownFileIcon,
- HTMLFileIcon,
- LinkFileIcon,
} from '-/components/CommonIcons';
-import { getKeyBindingObject } from '-/reducers/settings';
-import MenuKeyBinding from '-/components/menus/MenuKeyBinding';
-import { CommonLocation } from '-/utils/CommonLocation';
+import { BetaLabel, ProLabel } from '-/components/HelperComponents';
import InfoIcon from '-/components/InfoIcon';
+import MenuKeyBinding from '-/components/menus/MenuKeyBinding';
+import { AvailablePerspectives } from '-/perspectives';
+import { Pro } from '-/pro';
+import { getKeyBindingObject } from '-/reducers/settings';
import { TS } from '-/tagspaces.namespace';
+import { CommonLocation } from '-/utils/CommonLocation';
+import Divider from '@mui/material/Divider';
+import ListItemIcon from '@mui/material/ListItemIcon';
+import ListItemText from '@mui/material/ListItemText';
+import MenuItem from '@mui/material/MenuItem';
+import { useSelector } from 'react-redux';
export function getDirectoryMenuItems(
currentLocation: CommonLocation,
@@ -129,7 +128,7 @@ export function getDirectoryMenuItems(
}}
>
<ListItemIcon>
- <RenameFolderIcon />
+ <RenameIcon />
</ListItemIcon>
<ListItemText primary={t('core:renameDirectory')} />
<MenuKeyBinding keyBinding={keyBindings['renameFile']} />
@@ -154,7 +153,7 @@ export function getDirectoryMenuItems(
}}
>
<ListItemIcon>
- <MoveCopy />
+ <CopyMoveIcon />
</ListItemIcon>
<ListItemText primary={t('core:moveCopyDirectory')} />
<MenuKeyBinding keyBinding={keyBindings['copyMoveSelectedEntries']} />
@@ -201,7 +200,7 @@ export function getDirectoryMenuItems(
}}
>
<ListItemIcon>
- <OpenFolderNativelyIcon />
+ <OpenEntryNativelyIcon />
</ListItemIcon>
<ListItemText primary={t('core:showInFileManager')} />
<MenuKeyBinding keyBinding={keyBindings['openFileExternally']} />
@@ -301,6 +300,7 @@ export function getDirectoryMenuItems(
);
}
if (showCreateDirectoryDialog) {
+ menuItems.push(<Divider />);
menuItems.push(
<MenuItem
key="newSubDirectory"
@@ -352,7 +352,7 @@ export function getDirectoryMenuItems(
}}
>
<ListItemIcon>
- <ImageIcon />
+ <PictureIcon />
</ListItemIcon>
<ListItemText primary={t('core:setAsParentFolderThumbnail')} />
</MenuItem>,
@@ -489,7 +489,7 @@ export function getDirectoryMenuItems(
}}
>
<ListItemIcon>
- <PropertiesIcon />
+ <EntryPropertiesIcon />
</ListItemIcon>
<ListItemText primary={t('core:directoryPropertiesTitle')} />
<MenuKeyBinding keyBinding={keyBindings['openEntryDetails']} />
diff --git a/src/renderer/perspectives/grid/components/MainToolbar.tsx b/src/renderer/perspectives/grid/components/MainToolbar.tsx
index 1072a8535..445605937 100644
--- a/src/renderer/perspectives/grid/components/MainToolbar.tsx
+++ b/src/renderer/perspectives/grid/components/MainToolbar.tsx
@@ -19,13 +19,18 @@
import AppConfig from '-/AppConfig';
import {
AIIcon,
+ CopyMoveIcon,
DeleteIcon,
DownloadIcon,
- FolderPropertiesIcon,
+ DragOffIcon,
+ DragOnIcon,
+ EntryPropertiesIcon,
+ ExportIcon,
ParentFolderIcon,
PerspectiveSettingsIcon,
SelectedIcon,
ShareIcon,
+ SortingIcon,
TagIcon,
UnSelectedIcon,
} from '-/components/CommonIcons';
@@ -43,11 +48,6 @@ import { useSelectedEntriesContext } from '-/hooks/useSelectedEntriesContext';
import { useSortedDirContext } from '-/perspectives/grid/hooks/useSortedDirContext';
import { Pro } from '-/pro';
import { getKeyBindingObject } from '-/reducers/settings';
-import ExportIcon from '@mui/icons-material/AssignmentReturn';
-import DragOffIcon from '@mui/icons-material/CopyAll';
-import DragOnIcon from '@mui/icons-material/CopyAllTwoTone';
-import CopyIcon from '@mui/icons-material/FileCopy';
-import SortingIcon from '@mui/icons-material/SwapVerticalCircle';
import { Box, Divider, Toolbar } from '@mui/material/';
import { alpha, useTheme } from '@mui/material/styles';
import { saveAs } from 'file-saver';
@@ -170,7 +170,7 @@ function MainToolbar(props: Props) {
data-tid="openFolderProperties"
onClick={showProperties}
>
- <FolderPropertiesIcon />
+ <EntryPropertiesIcon />
</TsIconButton>
<Divider flexItem orientation="vertical" sx={{ mx: 0.5, my: 1.5 }} />
<Box sx={{ display: selectedEntries.length < 1 ? 'none' : 'flex' }}>
@@ -203,7 +203,7 @@ function MainToolbar(props: Props) {
data-tid={prefixDataTID + 'PerspectiveCopySelectedFiles'}
onClick={openMoveCopyFilesDialog}
>
- <CopyIcon />
+ <CopyMoveIcon />
</TsIconButton>
)}
{!readOnlyMode && (