Skip to content

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

chore: added link to sharing help

Ilian Sapundshiev69152edd9487
diff --git a/app/components/dialogs/LinkGeneratorDialog.tsx b/app/components/dialogs/LinkGeneratorDialog.tsx
index b05a7c0c2..8dc5b43cf 100644
--- a/app/components/dialogs/LinkGeneratorDialog.tsx
+++ b/app/components/dialogs/LinkGeneratorDialog.tsx
@@ -37,6 +37,7 @@ import TextField from '@mui/material/TextField';
import MenuItem from '@mui/material/MenuItem';
import PlatformIO from '-/services/platform-facade';
import { actions } from '-/reducers/app';
+import Links from '-/content/links';
interface Props {
open: boolean;
@@ -189,8 +190,20 @@ function LinkGeneratorDialog(props: Props) {
/>
</DialogContent>
<DialogActions
- style={fullScreen ? { padding: '10px 30px 30px 30px' } : {}}
+ style={{
+ justifyContent: 'space-between',
+ padding: fullScreen ? '10px 30px 30px 30px' : undefined
+ }}
>
+ <Button
+ variant="text"
+ data-tid="helpSearchButtonTID"
+ onClick={() => {
+ PlatformIO.openUrl(Links.documentationLinks.sharing);
+ }}
+ >
+ {i18n.t('help')}
+ </Button>
<Button
data-tid="closeLinkTID"
onClick={onClose}
diff --git a/app/content/links.ts b/app/content/links.ts
index f982cf836..77cdf249d 100644
--- a/app/content/links.ts
+++ b/app/content/links.ts
@@ -78,6 +78,7 @@ const Links = {
taglibrary: 'https://docs.tagspaces.org/ui/taglibrary' + urlParams,
search: 'https://docs.tagspaces.org/search' + urlParams,
settings: 'https://docs.tagspaces.org/ui/settings' + urlParams,
+ sharing: 'https://docs.tagspaces.org/sharing' + urlParams,
creatingFiles: 'https://docs.tagspaces.org/creating-files' + urlParams
}
};