TagSpaces is an offline, open source, document manager with tagging support
chore: finetune inboarding
Ilian Sapundshiev1b281c8e0450
diff --git a/app/components/HelperComponents.tsx b/app/components/HelperComponents.tsxindex 51abd83ff..366f5d968 100644--- a/app/components/HelperComponents.tsx+++ b/app/components/HelperComponents.tsx@@ -51,23 +51,25 @@ export function ProLabel() {export function ProSign() {return (- <Tooltip- placement="top"- title={i18n.t('thisFunctionalityIsAvailableInPro')}- >- <Typography style={{ display: 'initial' }}>- <sup- style={{- fontSize: 10,- borderRadius: 4,- backgroundColor: '#1dd19f',- padding: 3- }}- >- PRO- </sup>- </Typography>- </Tooltip>+ !Pro && (+ <Tooltip+ placement="top"+ title={i18n.t('thisFunctionalityIsAvailableInPro')}+ >+ <Typography style={{ display: 'initial' }}>+ <sup+ style={{+ fontSize: 10,+ borderRadius: 4,+ backgroundColor: '#1dd19f',+ padding: 3+ }}+ >+ PRO+ </sup>+ </Typography>+ </Tooltip>+ ));}diff --git a/app/components/HowToStart.tsx b/app/components/HowToStart.tsxindex 1e739d284..02facbcbb 100644--- a/app/components/HowToStart.tsx+++ b/app/components/HowToStart.tsx@@ -51,8 +51,8 @@ function HowToStart(props: Props) {label: 'Introduction',description: (<>- Here you will learn some basics about how to start using the- application.+ The following guide will show you some basic functionalities of the+ application. It is recommended for first time users.</>)},@@ -60,22 +60,16 @@ function HowToStart(props: Props) {label: 'Location Manager',description: (<>- Locations are connection to folder containing file, which you want to- use in TagSpaces. The location manager is the place where you can- create, edit, remove, order, import or export your locations. The- pre-existing location pointing for example to your Desktop or Download- folder are optional and can be remove.+ In order to use a folder and files in TagSpaces you have to connect+ this folder as location. The location manager is the place where you+ can create, edit, remove, import or export your locations. The+ pre-existing locations, pointing for example to your Desktop or+ Download folders, are optional and can be removed.<br />- <Button- style={{ marginTop: 20 }}- onClick={() => {- openURLExternally(Links.documentationLinks.locations, true);- }}- variant="text"- color="primary"- >- Find out more- </Button>+ <SlideButton+ title="Find out more"+ link={Links.documentationLinks.locations}+ /></>),action: () => {@@ -87,23 +81,17 @@ function HowToStart(props: Props) {label: 'Creating a Location',description: (<>- Clicking the highlighted button will open a dialog where you can- choose which folder you want to use in TagSpaces and create a location- pointing to it. Depending on location type the folder can be on your- computer or located on a object storage in cloud. TagSpaces supports+ The highlighted button will open a dialog where you can choose which+ folder you want to use in TagSpaces and create a location pointing to+ it. Depending on location's type, the folder can be on your computer+ or located on an object storage in the Cloud. TagSpaces supportsobject storage from AWS S3 compatible providers such as Wasabi orMinio.<br />- <Button- style={{ marginTop: 20 }}- onClick={() => {- openURLExternally(Links.links.howToStart, true);- }}- variant="text"- color="primary"- >- Videos Tutorials- </Button>+ <SlideButton+ title="Open Videos Tutorials"+ link={Links.links.howToStart}+ /></>),action: () => {@@ -115,19 +103,14 @@ function HowToStart(props: Props) {description: (<>The tag library is the place where you can manage and organize the- tags with which you can tag your files and folders. In order to apply- a tag you have to just and drop and drop it on a file or folder.+ tags with which you can tag your files and folders. The tags are+ organized themselves in tag groups. In order to apply a tag, you have+ to just drag and drop it on a file or folder.<br />- <Button- style={{ marginTop: 20 }}- onClick={() => {- openURLExternally(Links.documentationLinks.taglibrary, true);- }}- variant="text"- color="primary"- >- Find out more- </Button>+ <SlideButton+ title="Find out more"+ link={Links.documentationLinks.taglibrary}+ /></>),action: () => {@@ -142,10 +125,10 @@ function HowToStart(props: Props) {label: 'Quick access section',description: (<>- In this section you can get easy access to the following list:+ In this section you can find the following functionalities:<ul><li>- Search you have stored for later use + Searches you have stored for later use <ProSign /></li><li>@@ -179,35 +162,33 @@ function HowToStart(props: Props) {label: 'Perspectives Switcher',description: (<>- Perspective offer a different view on the files in a given folder.- With the switcher you can change the perspective of the current- folder.+ The perspectives offer a specific view on the files in a given folder.+ With the highlighted switcher you can change the perspective of the+ current folder.<ul>- <li>Grid</li>- <li>List</li><li>- Gallery - <ProSign />+ <b>Grid</b> - displays files in a grid</li><li>- Mapique - <ProSign />+ <b>List</b> - displays files in a list</li><li>- Kanban - <ProSign />+ <b>Gallery</b> + <ProSign /> - suitable for folders containing images and photos+ </li>+ <li>+ <b>Mapique</b> + <ProSign /> - suitable for geo-tagging+ </li>+ <li>+ <b>Kanban</b> + <ProSign /> - turns every folder into a Kanban board</li></ul>- <Button- style={{ marginTop: 20 }}- onClick={() => {- openURLExternally(Links.documentationLinks.perspectives, true);- }}- variant="text"- color="primary"- >- Find out more- </Button>+ <SlideButton+ title="Find out more"+ link={Links.documentationLinks.perspectives}+ /></>),action: () => {@@ -220,19 +201,27 @@ function HowToStart(props: Props) {label: 'Creating files',description: (<>- The settings of the application can be accessed with highlighted- button.- <br />- <Button- style={{ marginTop: 20 }}- onClick={() => {- openURLExternally(Links.documentationLinks.creatingFiles, true);- }}- variant="text"- color="primary"- >- Find out more- </Button>+ The highlighted button will open a dialog, where you can create new+ file or digital note. The new files can be in the following file+ formats:+ <ul>+ <li>+ <b>Markdown</b> (recommended) - suitable for notes with simple+ formatting+ </li>+ <li>+ <b>HTML</b> - suitable for documents requiring rich text+ formatting+ </li>+ <li>+ <b>Text</b> - suitable for creating plain text files, with no+ formatting+ </li>+ </ul>+ <SlideButton+ title="Find out more"+ link={Links.documentationLinks.creatingFiles}+ /></>),action: () => {@@ -243,22 +232,16 @@ function HowToStart(props: Props) {label: 'App Settings',description: (<>- The settings of the application can be accessed with highlighted- button. In the settings dialog you can fine tune the application by- choosing the color theme, language, perspective, tagging method and so- on. Further more here you can change the key binding and define how- you would like to open and edit certain file types.+ The settings of the application can be accessed with the highlighted+ button. In the settings dialog you can configure the application's+ color theme, language, default perspective, tagging method and so on.+ Furthermore, here you can change the keyboard shortcuts and define how+ you would like to open and edit the supported file types.<br />- <Button- style={{ marginTop: 20 }}- onClick={() => {- openURLExternally(Links.documentationLinks.settings, true);- }}- variant="text"- color="primary"- >- Find out more- </Button>+ <SlideButton+ title="Find out more"+ link={Links.documentationLinks.settings}+ /></>),action: () => {@@ -270,8 +253,8 @@ function HowToStart(props: Props) {label: 'Start using TagSpaces',description: (<>- You can start using the app by opening a location or creating a new- one.+ You can start using the app by creating a new location or open an+ existing one from the location manager.</>),action: () => {@@ -282,6 +265,21 @@ function HowToStart(props: Props) {}];+ function SlideButton(props) {+ const { title, link } = props;+ return (+ <Button+ onClick={() => {+ openURLExternally(link, true);+ }}+ variant="text"+ color="primary"+ >+ {title}+ </Button>+ );+ }+const [activeStep, setActiveStep] = React.useState(0);const handleNext = () => {@@ -309,7 +307,7 @@ function HowToStart(props: Props) {// ${theme.palette.primary.main};return (- <Box style={{ maxWidth: 400, paddingLeft: 10, paddingRight: 10 }}>+ <Box style={{ maxWidth: 480, paddingLeft: 10, paddingRight: 10 }}><style>{`.highlighterOn {diff --git a/app/components/WelcomePanel.tsx b/app/components/WelcomePanel.tsxindex 11a7bae67..74b729c85 100644--- a/app/components/WelcomePanel.tsx+++ b/app/components/WelcomePanel.tsx@@ -75,7 +75,9 @@ interface Props {export const styles: any = (theme: any) => ({listItem: {- color: theme.palette.text.primary+ color: theme.palette.text.primary,+ textTransform: 'uppercase',+ marginTop: 10},recentTitle: {color: theme.palette.text.primary,@@ -210,13 +212,10 @@ function WelcomePanel(props: Props) {function renderQuickLinks() {return (<List- dense={false}- component="nav"- aria-label="main help area"+ dense={true}+ aria-label="useful link on welcome page"style={{- width: 300,height: 'calc(100% - 70px)',- margin: 'auto',marginTop: 15,marginBottom: 15,// @ts-ignore@@ -435,7 +434,7 @@ function WelcomePanel(props: Props) {</div></Grid>{Pro && (- <Grid item xs={3} style={{ height: '100%', width: 300 }}>+ <Grid item xs="auto" style={{ height: '100%', minWidth: 330 }}><divstyle={{margin: 'auto',