TagSpaces is an offline, open source, document manager with tagging support
chore: udpating the ui for the new fulltext search
Ilian Sapundshiev5acbf792933b
diff --git a/src/renderer/components/InfoIcon.tsx b/src/renderer/components/InfoIcon.tsxindex 71701da4d..13256c7f8 100644--- a/src/renderer/components/InfoIcon.tsx+++ b/src/renderer/components/InfoIcon.tsx@@ -16,11 +16,12 @@**/+import { ReactNode } from 'react';import Tooltip from '-/components/Tooltip';import HelpOutlined from '@mui/icons-material/NotListedLocationOutlined';interface Props {- tooltip?: string;+ tooltip?: ReactNode;}function InfoIcon(props: Props) {diff --git a/src/renderer/components/dialogs/CreateEditLocationDialog.tsx b/src/renderer/components/dialogs/CreateEditLocationDialog.tsxindex 994bccf91..9c348e336 100644--- a/src/renderer/components/dialogs/CreateEditLocationDialog.tsx+++ b/src/renderer/components/dialogs/CreateEditLocationDialog.tsx@@ -765,7 +765,28 @@ function CreateEditLocationDialog(props: Props) {}label={<>- {t('core:createFullTextIndex') + ' (TXT, HTML, MD, PDF)'}+ {t('core:createFullTextIndex')}+ <InfoIcon+ tooltip={+ <div style={{ lineHeight: 1.5 }}>+ <div style={{ marginBottom: 4 }}>+ <b>Supported file formats:</b>+ </div>+ <div>Plain text: .txt, .md, .marp</div>+ <div>HTML: .htm, .html, .xhtml, .shtml, .mhtml</div>+ <div>Email: .eml</div>+ <div>+ Web shortcuts: .url, .website, .webloc, .desktop+ </div>+ <div>Tabular: .csv</div>+ <div>Contacts: .vcf</div>+ <div>Documents: .pdf, .docx, .odt</div>+ <div>Spreadsheets: .xlsx, .ods</div>+ <div>Presentations: .pptx, .odp</div>+ <div>Ebooks: .epub</div>+ </div>+ }+ />{Pro ? <BetaLabel /> : <ProLabel />}</>}