TagSpaces is an offline, open source, document manager with tagging support
chore: prototyping opening files in separate window, exchaning icon
Ilian Sapundshievfebd7ab4d785
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsxindex 99ae90823..2976985f3 100644--- a/app/components/EntryContainer.tsx+++ b/app/components/EntryContainer.tsx@@ -617,6 +617,12 @@ const EntryContainer = (props: Props) => {const openNatively = () => {if (openedFile.path) {if (openedFile.isFile) {+ // window.open(+ // fileOpenerURL,+ // 'TagSpaces - ' + openedFile.path,+ // 'resizable=yes,height=768,width=1024',+ // false+ // );props.openFileNatively(openedFile.path);} else {props.openDirectory(openedFile.path);diff --git a/app/components/menus/TagMenu.tsx b/app/components/menus/TagMenu.tsxindex 0dd496202..2c150ea5b 100644--- a/app/components/menus/TagMenu.tsx+++ b/app/components/menus/TagMenu.tsx@@ -20,6 +20,7 @@ import React from 'react';import { bindActionCreators } from 'redux';import { connect } from 'react-redux';import ShowEntriesWithTagIcon from '@material-ui/icons/SearchOutlined';+import ApplyTagIcon from '@material-ui/icons/LocalOfferOutlined';import Edit from '@material-ui/icons/Edit';import DeleteIcon from '@material-ui/icons/DeleteForever';import ListItemIcon from '@material-ui/core/ListItemIcon';@@ -97,7 +98,7 @@ const TagMenu = (props: Props) => {{props.selectedEntries && props.selectedEntries.length > 0 && (<MenuItem data-tid="applyTagTID" onClick={applyTag}><ListItemIcon>- <ShowEntriesWithTagIcon />+ <ApplyTagIcon /></ListItemIcon><ListItemText primary={i18n.t('core:applyTag')} /></MenuItem>