TagSpaces is an offline, open source, document manager with tagging support
chore: migration to TsIconButton
Ilian Sapundshiev0370874e3e61
diff --git a/src/renderer/components/CustomLogo.tsx b/src/renderer/components/CustomLogo.tsxindex aa277c57d..5427dd39a 100644--- a/src/renderer/components/CustomLogo.tsx+++ b/src/renderer/components/CustomLogo.tsx@@ -16,20 +16,19 @@**/-import React, { useMemo } from 'react';-import { useDispatch, useSelector } from 'react-redux';-import IconButton from '@mui/material/IconButton';-import Box from '@mui/material/Box';-import Tooltip from '-/components/Tooltip';import AppConfig from '-/AppConfig';-import { Pro } from '../pro';-import TextLogoIcon from '-/assets/images/text-logo.svg';import LogoIcon from '-/assets/images/icon100x100.svg';-import versionMeta from '../version.json';-import { actions, isUpdateAvailable } from '-/reducers/app';-import { useTranslation } from 'react-i18next';-import { Badge, Typography } from '@mui/material';+import TextLogoIcon from '-/assets/images/text-logo.svg';+import Tooltip from '-/components/Tooltip';+import TsIconButton from '-/components/TsIconButton';import { useAboutDialogContext } from '-/components/dialogs/hooks/useAboutDialogContext';+import { isUpdateAvailable } from '-/reducers/app';+import { Badge, Typography } from '@mui/material';+import { useMemo } from 'react';+import { useTranslation } from 'react-i18next';+import { useSelector } from 'react-redux';+import { Pro } from '../pro';+import versionMeta from '../version.json';function CustomLogo() {const { t } = useTranslation();@@ -59,22 +58,23 @@ function CustomLogo() {}}><Tooltip title={t('core:aboutTitle')}>- <IconButton style={{ padding: 0 }}>+ <TsIconButton style={{ padding: 0 }}><imgstyle={{width: 30,height: 30,+ padding: 4,// @ts-ignoreWebkitAppRegion: 'no-drag',}}src={LogoIcon}alt="TagSpaces Logo"/>- </IconButton>+ </TsIconButton></Tooltip><Tooltip title={t('core:aboutTitle')}>- <IconButton- style={{ height: 47, padding: 0 }}+ <TsIconButton+ style={{ height: 40, padding: 4 }}data-tid="aboutTagSpaces"><img@@ -87,7 +87,7 @@ function CustomLogo() {src={logo}alt="TagSpaces"/>- </IconButton>+ </TsIconButton></Tooltip><sup><Tooltip title={updateAvailable ? t('core:newVersionAvailable') : ''}>diff --git a/src/renderer/components/ProTeaser.tsx b/src/renderer/components/ProTeaser.tsxindex dcff65e0c..de20aa6d9 100644--- a/src/renderer/components/ProTeaser.tsx+++ b/src/renderer/components/ProTeaser.tsx@@ -17,6 +17,7 @@*/import TsButton from '-/components/TsButton';+import TsIconButton from '-/components/TsIconButton';import { useProTeaserDialogContext } from '-/components/dialogs/hooks/useProTeaserDialogContext';import { openURLExternally } from '-/services/utils-io';import CameraTwoToneIcon from '@mui/icons-material/CameraTwoTone';@@ -26,7 +27,6 @@ import ViewKanbanTwoToneIcon from '@mui/icons-material/ViewKanbanTwoTone';import { Box, ButtonGroup } from '@mui/material';import CardActions from '@mui/material/CardActions';import CardContent from '@mui/material/CardContent';-import IconButton from '@mui/material/IconButton';import Typography from '@mui/material/Typography';import Links from 'assets/links';import { useTranslation } from 'react-i18next';@@ -56,8 +56,8 @@ function ProTeaser(props: Props) {<span style={{ textTransform: 'lowercase' }}>{t('core:achieveMore')}</span>- <IconButton- style={{ right: 5, marginTop: -10, position: 'absolute' }}+ <TsIconButton+ style={{ right: 5, position: 'absolute' }}size="small"aria-label="close"onClick={(event) => {@@ -67,7 +67,7 @@ function ProTeaser(props: Props) {}}><CloseIcon fontSize="small" />- </IconButton>+ </TsIconButton></Typography><br /><divdiff --git a/src/renderer/components/TagGroupTitleDnD.tsx b/src/renderer/components/TagGroupTitleDnD.tsxindex 9227eef8f..118144956 100644--- a/src/renderer/components/TagGroupTitleDnD.tsx+++ b/src/renderer/components/TagGroupTitleDnD.tsx@@ -24,11 +24,11 @@ import {} from '-/components/CommonIcons';import DragItemTypes from '-/components/DragItemTypes';import { SidePanel, classes } from '-/components/SidePanels.css';+import TsIconButton from '-/components/TsIconButton';import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';import { TS } from '-/tagspaces.namespace';import { CommonLocation } from '-/utils/CommonLocation';import Grid from '@mui/material/Grid2';-import IconButton from '@mui/material/IconButton';import Typography from '@mui/material/Typography';import React, { useRef } from 'react';import { useDrag, useDrop } from 'react-dnd';@@ -143,7 +143,7 @@ function TagGroupTitleDnD(props: Props) {style={{ flexWrap: 'nowrap' }}><Grid size={2} style={{ maxWidth: 40 }}>- <IconButton+ <TsIconButtonstyle={{ minWidth: 'auto', padding: 7 }}onClick={(event: any) => handleTagGroupTitleClick(event, tagGroup)}size="large"@@ -153,7 +153,7 @@ function TagGroupTitleDnD(props: Props) {) : (<SmallArrowRightIcon />)}- </IconButton>+ </TsIconButton></Grid><Grid size={9} style={{ alignSelf: 'center' }}><Typography@@ -190,7 +190,7 @@ function TagGroupTitleDnD(props: Props) {</Grid><Grid size={1} style={{ textAlign: 'end' }}>{!isReadOnly && (- <IconButton+ <TsIconButtonstyle={{ minWidth: 'auto', padding: 7 }}data-tid={'tagLibraryMoreButton_' + tagGroup.title.replace(/ /g, '_')@@ -199,7 +199,7 @@ function TagGroupTitleDnD(props: Props) {size="large"><MoreMenuIcon />- </IconButton>+ </TsIconButton>)}</Grid></Grid>diff --git a/src/renderer/components/ZoomComponent.tsx b/src/renderer/components/ZoomComponent.tsxindex 4e6998274..1980d57bc 100644--- a/src/renderer/components/ZoomComponent.tsx+++ b/src/renderer/components/ZoomComponent.tsx@@ -92,16 +92,24 @@ export default function ZoomComponent(props: Props) {return (<Box sx={{ display: 'flex' }}>- <TsToolbarButton tooltip={t('core:zoomOut')} onClick={zoomOut}>+ <TsToolbarButton+ title={t('core:zoomOut')}+ tooltip={t('core:zoomOut')}+ onClick={zoomOut}+ ><ZoomOutIcon /></TsToolbarButton><Typographyvariant="overline"- style={{ color: theme.palette.text.primary, marginTop: 4 }}+ style={{ color: theme.palette.text.primary, margin: 5 }}>{entrySizePercent}</Typography>- <TsToolbarButton tooltip={t('core:zoomIn')} onClick={zoomIn}>+ <TsToolbarButton+ title={t('core:zoomIn')}+ tooltip={t('core:zoomIn')}+ onClick={zoomIn}+ ><ZoomInIcon /></TsToolbarButton></Box>diff --git a/src/renderer/components/chat/ChatView.tsx b/src/renderer/components/chat/ChatView.tsxindex 225feb394..1c6fe2184 100644--- a/src/renderer/components/chat/ChatView.tsx+++ b/src/renderer/components/chat/ChatView.tsx@@ -31,6 +31,7 @@ import ChatMdEditor from '-/components/md/ChatMdEditor';import { CrepeRef } from '-/components/md/useCrepeHandler';import { useChatContext } from '-/hooks/useChatContext';import { useNotificationContext } from '-/hooks/useNotificationContext';+import { useOpenedEntryContext } from '-/hooks/useOpenedEntryContext';import { getDefaultAIProvider } from '-/reducers/settings';import { saveAsTextFile } from '-/services/utils-io';import { MilkdownProvider } from '@milkdown/react';@@ -40,7 +41,6 @@ import { Box, Grid2 } from '@mui/material';import CircularProgress from '@mui/material/CircularProgress';import FormControl from '@mui/material/FormControl';import FormHelperText from '@mui/material/FormHelperText';-import IconButton from '@mui/material/IconButton';import InputAdornment from '@mui/material/InputAdornment';import { useTheme } from '@mui/material/styles';import { formatDateTime4Tag } from '@tagspaces/tagspaces-common/misc';@@ -49,7 +49,6 @@ import React, { ChangeEvent, useReducer, useRef } from 'react';import { NativeTypes } from 'react-dnd-html5-backend';import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';-import { useOpenedEntryContext } from '-/hooks/useOpenedEntryContext';function ChatView() {const { t } = useTranslation();@@ -354,8 +353,9 @@ function ChatView() {alt={`Image ${index + 1}`}style={{ maxHeight: 150, width: 'auto' }}/>- <IconButton+ <TsIconButtonsize="small"+ tooltip={t('core:removeFile')}onClick={() => removeImage(image.uuid)}sx={{position: 'absolute',@@ -366,7 +366,7 @@ function ChatView() {}}><CloseIcon fontSize="small" />- </IconButton>+ </TsIconButton></Box>))}</Grid2>@@ -392,8 +392,14 @@ function ChatView() {input: {startAdornment: (<InputAdornment position="start" style={{ height: 32 }}>- <Tooltip title={aiDefaultProvider?.engine}>- <OllamaIcon height={30} />+ <Tooltip+ title={+ aiDefaultProvider?.name ++ ' - ' ++ aiDefaultProvider?.engine+ }+ >+ <OllamaIcon height={25} /></Tooltip></InputAdornment>),@@ -404,25 +410,23 @@ function ChatView() {)}{isLoading.current && (<Tooltip title="Cancel Message">- <IconButton+ <TsIconButtononClick={() => {isLoading.current = false;cancelMessage();}}- size="large"><CancelIcon />- </IconButton>+ </TsIconButton></Tooltip>)}- <Tooltip title="Send Message">- <IconButton- onClick={handleChatMessage}- size="large"- >- <SendIcon />- </IconButton>- </Tooltip>++ <TsIconButton+ tooltip={t('core:send')}+ onClick={handleChatMessage}+ >+ <SendIcon />+ </TsIconButton>{/* <TsSelectid="select-mode"value={currentMode.current || ''}diff --git a/src/renderer/components/chat/SelectChatModel.tsx b/src/renderer/components/chat/SelectChatModel.tsxindex 8c70ac6ca..c976975e4 100644--- a/src/renderer/components/chat/SelectChatModel.tsx+++ b/src/renderer/components/chat/SelectChatModel.tsx@@ -17,21 +17,21 @@*/import { AIIcon, RemoveIcon } from '-/components/CommonIcons';+import TsIconButton from '-/components/TsIconButton';import TsSelect from '-/components/TsSelect';+import { AIProvider } from '-/components/chat/ChatTypes';+import { getOllamaModels } from '-/components/chat/OllamaClient';import ConfirmDialog from '-/components/dialogs/ConfirmDialog';import { useChatContext } from '-/hooks/useChatContext';+import { getDefaultAIProvider } from '-/reducers/settings';import DownloadIcon from '@mui/icons-material/Download';import { ListItemIcon, MenuItem } from '@mui/material';-import IconButton from '@mui/material/IconButton';import InputAdornment from '@mui/material/InputAdornment';+import { format, parseISO } from 'date-fns';+import { ModelResponse } from 'ollama';import { ChangeEvent, useEffect, useState } from 'react';import { useTranslation } from 'react-i18next';-import { ModelResponse } from 'ollama';-import { parseISO, format } from 'date-fns';-import { AIProvider } from '-/components/chat/ChatTypes';-import { getOllamaModels } from '-/components/chat/OllamaClient';import { useSelector } from 'react-redux';-import { getDefaultAIProvider } from '-/reducers/settings';interface Props {id?: string;@@ -221,14 +221,13 @@ function SelectChatModel(props: Props) {input: {endAdornment: chosenModel && (<InputAdornment position="end" sx={{ ml: -12 }}>- <IconButton+ <TsIconButtonaria-label={t('core:deleteModel')}onClick={handleRemoveModel}data-tid="deleteModelTID"- size="small"><RemoveIcon />- </IconButton>+ </TsIconButton></InputAdornment>),},diff --git a/src/renderer/components/dialogs/components/SettingsAI.tsx b/src/renderer/components/dialogs/components/SettingsAI.tsxindex da29f0cc8..ad96f51ec 100644--- a/src/renderer/components/dialogs/components/SettingsAI.tsx+++ b/src/renderer/components/dialogs/components/SettingsAI.tsx@@ -23,8 +23,9 @@ import {ReloadIcon,RemoveIcon,} from '-/components/CommonIcons';-import { default as Tooltip, default as TooltipTS } from '-/components/Tooltip';+import { default as TooltipTS } from '-/components/Tooltip';import TsButton from '-/components/TsButton';+import TsIconButton from '-/components/TsIconButton';import TsMenuList from '-/components/TsMenuList';import TsSelect from '-/components/TsSelect';import TsTextField from '-/components/TsTextField';@@ -56,7 +57,6 @@ import {import Box from '@mui/material/Box';import FormControlLabel from '@mui/material/FormControlLabel';import FormGroup from '@mui/material/FormGroup';-import IconButton from '@mui/material/IconButton';import InputAdornment from '@mui/material/InputAdornment';import ListItemIcon from '@mui/material/ListItemIcon';import ListItemText from '@mui/material/ListItemText';@@ -309,6 +309,9 @@ function SettingsAI(props: Props) {expandIcon={<ExpandIcon />}aria-controls={provider.id + 'content'}data-tid={provider.id + 'ollamaTID'}+ sx={{+ '& .MuiAccordionSummary-content': { alignItems: 'anchor-center' },+ }}><Typography><OllamaIcon width={15} style={{ marginRight: 5 }} />@@ -337,7 +340,7 @@ function SettingsAI(props: Props) {/>)}</TooltipTS>- <IconButton+ <TsIconButtonaria-label={t('core:deleteModel')}onClick={() => {const result = confirm(@@ -348,10 +351,9 @@ function SettingsAI(props: Props) {}}}data-tid="deleteModelTID"- size="small"><RemoveIcon />- </IconButton>+ </TsIconButton></AccordionSummary><AccordionDetails><FormGroup>@@ -392,16 +394,14 @@ function SettingsAI(props: Props) {input: {endAdornment: (<InputAdornment position="end" style={{ height: 32 }}>- <Tooltip title={t('core:refreshServiceStatus')}>- <IconButton- onClick={() => {- checkOllamaAlive();- }}- size="large"- >- <ReloadIcon />- </IconButton>- </Tooltip>+ <TsIconButton+ tooltip={t('core:refreshServiceStatus')}+ onClick={() => {+ checkOllamaAlive();+ }}+ >+ <ReloadIcon />+ </TsIconButton></InputAdornment>),},diff --git a/src/renderer/components/menus/LocationMenu.tsx b/src/renderer/components/menus/LocationMenu.tsxdeleted file mode 100644index c693b12e5..000000000--- a/src/renderer/components/menus/LocationMenu.tsx+++ /dev/null@@ -1,139 +0,0 @@-/**- * 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 React, { useState } from 'react';-import Menu from '@mui/material/Menu';-import MenuItem from '@mui/material/MenuItem';-import { LocalLocationIcon, CloudLocationIcon } from '-/components/CommonIcons';-import ListItemIcon from '@mui/material/ListItemIcon';-import ListItemText from '@mui/material/ListItemText';-import ListSubHeader from '@mui/material/ListSubheader';-import Tooltip from '-/components/Tooltip';-import IconButton from '@mui/material/IconButton';-import ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown';-import { locationType } from '@tagspaces/tagspaces-common/misc';-import { useTheme } from '@mui/material/styles';-import { useTranslation } from 'react-i18next';-import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';-import { CommonLocation } from '-/utils/CommonLocation';--interface Props {- menuAnchorEl?: Element;-}--function LocationMenu(props: Props) {- const { t } = useTranslation();- const theme = useTheme();- const { locations, openLocation, currentLocation } =- useCurrentLocationContext();- //const dispatch: AppDispatch = useDispatch();- //const locations: Array<CommonLocation> = useSelector(getLocations);- const [locationChooserMenuAnchorEl, setLocationChooserMenuAnchorEl] =- useState<null | HTMLElement>(null);-- const locationIcon =- currentLocation && currentLocation.type === locationType.TYPE_CLOUD ? (- <CloudLocationIcon />- ) : (- <LocalLocationIcon />- );-- return (- <div- style={{- backgroundColor: theme.palette.background.default,- }}- >- <Tooltip- title={- currentLocation- ? t('currentLocation') + ': ' + currentLocation.name- : t('core:pleaseOpenLocation')- }- >- <IconButton- data-tid="folderContainerLocationChooser"- id="locationMenuButton"- onClick={(event) =>- setLocationChooserMenuAnchorEl(event.currentTarget)- }- style={{- padding: 5,- fontSize: theme.typography.fontSize,- borderRadius: 10,- }}- size="large"- >- {currentLocation ? locationIcon : t('core:pleaseOpenLocation')}- <ArrowDropDownIcon />- </IconButton>- </Tooltip>- {Boolean(locationChooserMenuAnchorEl) && (- <Menu- id="simple-menu"- open={Boolean(locationChooserMenuAnchorEl)}- anchorEl={locationChooserMenuAnchorEl}- onClose={() => setLocationChooserMenuAnchorEl(null)}- PaperProps={{- style: {- maxHeight: 48 * 6.5,- width: 300,- },- }}- >- <ListSubHeader- style={{- backgroundColor: theme.palette.background.default,- }}- >- {t('core:chooseLocation')}- </ListSubHeader>- {locations.map((location: CommonLocation) => (- <MenuItem- data-tid="folderContainerMenuOpenLocation"- key={location.uuid}- onClick={() => {- openLocation(location);- setLocationChooserMenuAnchorEl(null);- }}- style={- currentLocation && currentLocation.uuid === location.uuid- ? { backgroundColor: theme.palette.primary.light }- : {}- }- >- <ListItemIcon>- {location.type === locationType.TYPE_CLOUD ? (- <CloudLocationIcon />- ) : (- <LocalLocationIcon />- )}- </ListItemIcon>- <ListItemText primary={location.name} />- </MenuItem>- ))}- </Menu>- )}- </div>- );-}--export default LocationMenu;--*/diff --git a/src/renderer/locales/en/core.json b/src/renderer/locales/en/core.jsonindex 346328a5e..f5ece3932 100644--- a/src/renderer/locales/en/core.json+++ b/src/renderer/locales/en/core.json@@ -952,5 +952,7 @@"tsLinksHelp": "TagSpaces links begin with ts://? and are used for internal sharing of files and folders","pasteImageFromClipboard": "Paste an image from clipboard by pressing","parentFolder": "Go to parent",+ "removeFile": "Remove File",+ "send": "Send","-": "-"}diff --git a/src/renderer/perspectives/grid/components/GridCell.tsx b/src/renderer/perspectives/grid/components/GridCell.tsxindex cf46e053e..95afdfc7a 100644--- a/src/renderer/perspectives/grid/components/GridCell.tsx+++ b/src/renderer/perspectives/grid/components/GridCell.tsx@@ -28,6 +28,7 @@ import TagContainer from '-/components/TagContainer';import TagContainerDnd from '-/components/TagContainerDnd';import TagsPreview from '-/components/TagsPreview';import Tooltip from '-/components/Tooltip';+import TsIconButton from '-/components/TsIconButton';import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';import { useEditedEntryMetaContext } from '-/hooks/useEditedEntryMetaContext';import { usePerspectiveSettingsContext } from '-/hooks/usePerspectiveSettingsContext';@@ -49,7 +50,6 @@ import Card from '@mui/material/Card';import CardContent from '@mui/material/CardContent';import CardHeader from '@mui/material/CardHeader';import CardMedia from '@mui/material/CardMedia';-import IconButton from '@mui/material/IconButton';import Typography from '@mui/material/Typography';import { useTheme } from '@mui/material/styles';import {@@ -332,21 +332,11 @@ function GridCell(props: Props) {function generateExtension() {return selectionMode ? (- <IconButton+ <TsIconButtonstyle={{minWidth: 35,- padding: 4,- paddingBottom: 2,}}size="small"- // onMouseLeave={(e) => {- // //@ts-ignore- // e.target.style.opacity = selected ? 1 : 0.5;- // }}- // onMouseOver={(e) => {- // //@ts-ignore- // e.target.style.opacity = 1;- // }}onClick={(e) => {e.stopPropagation();if (selected) {@@ -356,22 +346,8 @@ function GridCell(props: Props) {}}}>- {selected ? (- <SelectedIcon- style={{- borderRadius: 15,- // backgroundColor: '#d7d7d7',- }}- />- ) : (- <UnSelectedIcon- style={{- borderRadius: 15,- // backgroundColor: 'd7d7d7',- }}- />- )}- </IconButton>+ {selected ? <SelectedIcon /> : <UnSelectedIcon />}+ </TsIconButton>) : (<Tooltip title={i18n.t('clickToSelect') + ' ' + fsEntry.path}><Typography@@ -488,11 +464,6 @@ function GridCell(props: Props) {overflowX: 'clip',textWrap: 'nowrap',whiteSpace: 'nowrap',- // display: '-webkit-box',- // WebkitLineClamp: 2,- // WebkitBoxOrient: 'vertical',- // textOverflow: 'ellipsis',- // overflow: 'hidden',}}>{entryTitle}@@ -510,7 +481,6 @@ function GridCell(props: Props) {textWrap: 'nowrap',whiteSpace: 'nowrap',color: 'gray',- // wordBreak: 'break-word',}}>{description}@@ -529,14 +499,14 @@ function GridCell(props: Props) {},}}action={- <IconButton+ <TsIconButtonaria-label="entry context menu"size="small"style={{ marginRight: 5 }}onClick={(event) => handleGridContextMenu(event, fsEntry)}><MoreMenuIcon />- </IconButton>+ </TsIconButton>}subheader={generateCardHeader()}avatar={generateExtension()}diff --git a/src/renderer/perspectives/list/components/RowCell.tsx b/src/renderer/perspectives/list/components/RowCell.tsxindex aa3a6d889..3d823a59d 100644--- a/src/renderer/perspectives/list/components/RowCell.tsx+++ b/src/renderer/perspectives/list/components/RowCell.tsx@@ -27,6 +27,7 @@ import TagContainer from '-/components/TagContainer';import TagContainerDnd from '-/components/TagContainerDnd';import TagsPreview from '-/components/TagsPreview';import Tooltip from '-/components/Tooltip';+import TsIconButton from '-/components/TsIconButton';import { useCurrentLocationContext } from '-/hooks/useCurrentLocationContext';import { usePerspectiveSettingsContext } from '-/hooks/usePerspectiveSettingsContext';import { useSelectedEntriesContext } from '-/hooks/useSelectedEntriesContext';@@ -40,7 +41,6 @@ import {} from '-/services/utils-io';import { TS } from '-/tagspaces.namespace';import Grid from '@mui/material/Grid2';-import IconButton from '@mui/material/IconButton';import Paper from '@mui/material/Paper';import Typography from '@mui/material/Typography';import { styled, useTheme } from '@mui/material/styles';@@ -257,7 +257,7 @@ function RowCell(props: Props) {function generateExtension() {return selectionMode ? (- <IconButton+ <TsIconButtonstyle={{width: 35,height: 35,@@ -265,15 +265,6 @@ function RowCell(props: Props) {paddingBottom: 2,alignSelf: 'center',}}- size="small"- // onMouseLeave={(e) => {- // //@ts-ignore- // e.target.style.opacity = selected ? 1 : 0.5;- // }}- // onMouseOver={(e) => {- // //@ts-ignore- // e.target.style.opacity = 1;- // }}onClick={(e) => {e.stopPropagation();if (selected) {@@ -298,7 +289,7 @@ function RowCell(props: Props) {}}/>)}- </IconButton>+ </TsIconButton>) : (<Tooltip title={i18n.t('clickToSelect') + ' ' + fsEntry.path}><Typography@@ -490,13 +481,12 @@ function RowCell(props: Props) {marginRight: 5,}}>- <IconButton+ <TsIconButtonaria-label="entry context menu"- size="small"onClick={(event) => handleGridContextMenu(event, fsEntry)}><MoreMenuIcon />- </IconButton>+ </TsIconButton></Grid></Grid></RowPaper>