TagSpaces is an offline, open source, document manager with tagging support
chore: adding help link to settings, small adjustments, adding prosign component
Ilian Sapundshiev1b445da51a2e
diff --git a/app/components/FolderContainer.tsx b/app/components/FolderContainer.tsxindex 533f02a7e..fa0055b93 100644--- a/app/components/FolderContainer.tsx+++ b/app/components/FolderContainer.tsx@@ -654,6 +654,7 @@ function FolderContainer(props: Props) {<ToggleButtonGroupvalue={currentPerspective}size="small"+ data-tid="floatingPerspectiveSwitcher"disabled={showWelcomePanel}aria-label="change perspective"exclusivediff --git a/app/components/StoredSearches.tsx b/app/components/StoredSearches.tsxindex fb6bbc9cf..813f65537 100644--- a/app/components/StoredSearches.tsx+++ b/app/components/StoredSearches.tsx@@ -198,9 +198,13 @@ function StoredSearches(props: Props) {return (<divclassName={classes.panel}+ data-tid="quickAccessArea"style={{display: 'flex',- flexDirection: 'column'+ flexDirection: 'column',+ borderRadius: 5,+ marginLeft: 5,+ marginRight: 5}}><div className={classes.toolbar}>diff --git a/app/components/dialogs/settings/SettingsDialog.tsx b/app/components/dialogs/settings/SettingsDialog.tsxindex bff0d8706..2c1a531ae 100644--- a/app/components/dialogs/settings/SettingsDialog.tsx+++ b/app/components/dialogs/settings/SettingsDialog.tsx@@ -46,6 +46,7 @@ import { clearAllURLParams } from '-/utils/dom';import SettingsAdvanced from '-/components/dialogs/settings/SettingsAdvanced';import DialogCloseButton from '-/components/dialogs/DialogCloseButton';import { getUuid } from '-/services/utils-io';+import Links from '-/links';const styles: any = () => ({mainContent: {@@ -58,6 +59,7 @@ interface Props {classes?: any;onClose: () => void;setSupportedFileTypes?: (fileTypes: Array<any>) => void;+ openURLExternally: (url: string, skipConfirmation?: boolean) => void;supportedFileTypes?: Array<any>;}@@ -308,6 +310,15 @@ function SettingsDialog(props: Props) {justifyContent: currentTab === 1 ? 'space-between' : 'flex-end'}}>+ <Button+ onClick={() =>+ openURLExternally(Links.documentationLinks.settings, true)+ }+ color="secondary"+ style={{ float: 'left' }}+ >+ {i18n.t('core:help')}+ </Button>{currentTab === 1 && (<Buttondata-tid="addNewFileTypeTID"@@ -329,7 +340,7 @@ function SettingsDialog(props: Props) {</DialogActions>);- const { open, onClose } = props;+ const { open, onClose, openURLExternally } = props;const theme = useTheme();const fullScreen = useMediaQuery(theme.breakpoints.down('md'));return (diff --git a/app/containers/MainPage.tsx b/app/containers/MainPage.tsxindex dff7dcf8d..b9997e6a4 100644--- a/app/containers/MainPage.tsx+++ b/app/containers/MainPage.tsx@@ -707,6 +707,7 @@ function MainPage(props: Props) {{props.isSettingsDialogOpened && (<SettingsDialogopen={props.isSettingsDialogOpened}+ openURLExternally={openURLExternally}onClose={toggleSettingsDialog}/>)}diff --git a/app/links.ts b/app/links.tsindex 88924abf9..a2a2feb5c 100644--- a/app/links.ts+++ b/app/links.ts@@ -74,7 +74,8 @@ const Links = {locations: 'https://docs.tagspaces.org/ui/locations' + urlParams,taglibrary: 'https://docs.tagspaces.org/ui/taglibrary' + urlParams,search: 'https://docs.tagspaces.org/search' + urlParams,- settings: 'https://docs.tagspaces.org/ui/settings' + urlParams+ settings: 'https://docs.tagspaces.org/ui/settings' + urlParams,+ creatingFiles: 'https://docs.tagspaces.org/creating-files' + urlParams}};diff --git a/app/locales/en/core.json b/app/locales/en/core.jsonindex 6955bd0c3..bc3f5a89b 100644--- a/app/locales/en/core.json+++ b/app/locales/en/core.json@@ -714,5 +714,6 @@"toTime": "To Time","fromDate": "From Date","fromTime": "From Time",+ "finish": "Finish","-": "-"}diff --git a/package-lock.json b/package-lock.jsonindex ad0b4ede6..a496be307 100644--- a/package-lock.json+++ b/package-lock.json@@ -20,7 +20,7 @@"@mui/material": "^5.9.2","@mui/styles": "^5.9.2","@mui/x-date-pickers": "^5.0.8",- "@tagspaces/tagspaces-md": "2.0.51",+ "@tagspaces/tagspaces-md": "2.0.52","@tagspaces/tagspaces-platforms": "2.0.45","aws-amplify": "^4.3.8","aws-sdk": "^2.1036.0",@@ -13850,9 +13850,9 @@}},"node_modules/@tagspaces/tagspaces-md": {- "version": "2.0.51",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-2.0.51.tgz",- "integrity": "sha512-8lqfeSiYewZLrNMz9qfr4obMGzZA0kcHPwbVzj907eogFvqgnOvkiR7VfFz55lwSVIp9w4Odx1FuJW4u4jmwPw==",+ "version": "2.0.52",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-2.0.52.tgz",+ "integrity": "sha512-H4TGMDP6/zoBBlp7gcNaBHdTrgfEjuYHgl9JpSr87UP6RjcbtTFZeknwpuKBs3a5CJXbwBXjJ8PKF395AWqVqQ==","dependencies": {"@codemirror/autocomplete": "^6.3.0","@codemirror/commands": "^6.1.2",@@ -59594,9 +59594,9 @@}},"@tagspaces/tagspaces-md": {- "version": "2.0.51",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-2.0.51.tgz",- "integrity": "sha512-8lqfeSiYewZLrNMz9qfr4obMGzZA0kcHPwbVzj907eogFvqgnOvkiR7VfFz55lwSVIp9w4Odx1FuJW4u4jmwPw==",+ "version": "2.0.52",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-2.0.52.tgz",+ "integrity": "sha512-H4TGMDP6/zoBBlp7gcNaBHdTrgfEjuYHgl9JpSr87UP6RjcbtTFZeknwpuKBs3a5CJXbwBXjJ8PKF395AWqVqQ==","requires": {"@codemirror/autocomplete": "^6.3.0","@codemirror/commands": "^6.1.2",