Skip to content

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

onboarding wizzard updated

Ilian Sapundshievd52e262b3efb
diff --git a/README.md b/README.md
index 0bcfc5b3e..0c9f27315 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
**TagSpaces** is a open source application for managing of your local files. You can find more information about it on its website [tagspaces.org](https://tagspaces.org/). For a quick TagSpaces introduction please see this [Youtube video](https://www.youtube.com/embed/CJ2hYU6U-C8).
- [TagSpaces Blog](https://www.tagspaces.org/blog/) for any news about TagSpaces
-- [TagSpaces Documentation](https://docs.tagspaces.org/) for latest generated documentation of the project
+- [TagSpaces Documentation](https://docs.tagspaces.org/) for our latest generated documentation
- [Issues Tracker](https://github.com/tagspaces/tagspaces/issues) for developer support requests
To get updates you can:
@@ -32,11 +32,11 @@ To get updates you can:
## Downloads
You can find the latest release of TagSpace in the Github [release section](https://github.com/tagspaces/tagspaces/releases/) of TagSpaces
-A full list of the changes is available in our [changelog](CHANGELOG.md)
+A full list of the changes is available on our [changelog](CHANGELOG.md)
## Main Features
-* **File managing & tagging:** TagSpaces provides a convenient interface for browsing, viewing and tagging of your local files and folders.
+* **File managing & tagging:** TagSpaces provides a convenient interface for browsing, viewing and tagging your local files and folders.
* **No-Cloud:** TagSpaces is running completely offline and serverless on your laptop, desktop or tablet and does not require an internet connection and any kind of online registration or service provider.
* **Note Taking:** You can create and edit notes in plain text, markdown and html file formats
* **Cross-platform:** TagSpaces runs on Windows, Linux, Mac, Android and as extension for the Firefox and Chrome browsers.
@@ -47,7 +47,7 @@ A full list of the changes is available in our [changelog](CHANGELOG.md)
## Infos for developers
-The core of TagSpaces starting from version 3 is build with [react.js](https://reactjs.org/) and the great [material-ui](https://material-ui.com/) framework.
+The core of TagSpaces starting from version 3 is built with [react.js](https://reactjs.org/) and the great [material-ui](https://material-ui.com/) framework.
The native Windows, Linux and Mac OS versions of TagSpaces are built with [Electron](https://electron.atom.io/). Electron is an app runtime based on Chromium and node.js. In order to combine it with react we have used the [electron-react-boilerplate](https://github.com/chentsulin/electron-react-boilerplate).
@@ -61,7 +61,7 @@ Get the TagSpaces source code by cloning its repository:
$ git clone https://github.com/tagspaces/tagspaces.git
-Go to the folder where the code was cloned and select the branch you want to test. Use the the **master** branch for the last officially released version or the branch **develop** for a kind of a nightly build, containing the changed we are preparing for the next release of the application.
+Go to the folder where the code was cloned and select the branch you want to test. Use the the **master** branch for the last officially released version or the branch **develop** for a kind of a nightly build, containing the changes we are preparing for the next release of the application.
Switch to folder where you have cloned the repository:
@@ -120,7 +120,7 @@ You will be prompted for user credentials, which are username: `demo` and passwo
#### Apache server with WedDAV module
-In order to install TagSpaces on a Apache webserver you to enable the **mod_dav** module, which comes with the Apache Server. More information about the installation and configuration can be found on [apache.org](https://httpd.apache.org/docs/current/mod/mod_dav.html). Please make sure that you have read and understood the potential security issues by running a WebDAV server on internet.
+In order to install TagSpaces on a Apache webserver you have to enable the **mod_dav** module, which comes with the Apache Server. More information about the installation and configuration can be found on [apache.org](https://httpd.apache.org/docs/current/mod/mod_dav.html). Please make sure that you have read and understood the potential security issues by running a WebDAV server on internet.
Here is a sample config file for Apache on Linux:
@@ -150,7 +150,7 @@ Here is a sample config file for Apache on Linux:
Require valid-user
</Location>
-With some modification it can be used also for Apache on Windows, for a detailed manual refer to this article: [How to enable WebDAV in Apache Server 2.2.x – Windows](http://www.mkyong.com/apache/how-to-enable-webdav-in-apache-server-2-2-x-windows/)
+With some modification it can be also used for Apache on Windows, for a detailed manual refer to this article: [How to enable WebDAV in Apache Server 2.2.x – Windows](http://www.mkyong.com/apache/how-to-enable-webdav-in-apache-server-2-2-x-windows/)
You can find more details about the Nextcloud integration here: [Self-hosted TagSpaces with WebDAV](https://docs.tagspaces.org/selfhosting.html).
@@ -158,7 +158,7 @@ You can find more details about the Nextcloud integration here: [Self-hosted Tag
TagSpaces's source code is licensed under the AGPL (GNU Affero General Public License) Version 3, for the license text see [LICENSE](LICENSE) file.
## Contribute
-TagSpaces is an open source software and as such, the code is publicly available on GitHub, and forking is particularly recommended! Still, contribution must be done following some guidelines.
+TagSpaces is an open source software, and as such, the code is publicly available on GitHub, and forking is particularly recommended! Still, contribution must be done following some guidelines.
Contributor License Agreement
The CLA is an agreement commonly used in major open source project, which aims at protecting all parties implied by a contribution: the contributor, the main code author, and above all, the community. The CLA model we have chosen basically tells the following: the contribution’s copyright is shared between the contributor and the main author. This means each party can do whatever she want in term of relicensing with this contributed piece of code. This is important, because, if in the future, the author wants to change the license in something more in favor of the community, a singular contributor cannot block the process.
@@ -166,10 +166,10 @@ The CLA is an agreement commonly used in major open source project, which aims a
The Contributor License Agreement can be signed online on the following [CLA form](http://tagspaces.org/contribute/).
## Translations
-You can help the translation of this application in your favorite languages by joining the translations teams on [Transifex](https://www.transifex.com/tagspaces/tagspaces/).
+You can help the translation of this application in your languages by joining the translations teams on [Transifex](https://www.transifex.com/tagspaces/tagspaces/).
## Ideas and Suggestion
-If you ideas or suggestion on how we can improve our application, you can check the following [Trello board](https://trello.com/b/TGeG5bi9/tagspaces-ideas). Here you will find numerous ideas already proposed by other users. If you want to post something new, please follow [this link](https://trello.com/c/mG97iOqo/19-how-to-use-this-board-and-add-new-ideas)
+If you have ideas or suggestions on how we can improve our application, you can check the following [Trello board](https://trello.com/b/TGeG5bi9/tagspaces-ideas). Here you will find numerous ideas already proposed by other users. If you want to post something new, please follow [this link](https://trello.com/c/mG97iOqo/19-how-to-use-this-board-and-add-new-ideas)
## Support and Bugs
If you are having trouble using TagSpaces or have found a bug or you have some ideas how TagSpaces could be improved: [open a ticket](https://github.com/tagspaces/tagspaces/issues) on GitHub.
diff --git a/app/assets/images/browser-extensions.png b/app/assets/images/browser-extensions.png
new file mode 100644
index 000000000..499274ee3
Binary files /dev/null and b/app/assets/images/browser-extensions.png differ
diff --git a/app/assets/images/navigation-v3.png b/app/assets/images/navigation-v3.png
index 6a4ef6522..6a494470a 100644
Binary files a/app/assets/images/navigation-v3.png and b/app/assets/images/navigation-v3.png differ
diff --git a/app/assets/images/new-look.png b/app/assets/images/new-look.png
new file mode 100644
index 000000000..622e54187
Binary files /dev/null and b/app/assets/images/new-look.png differ
diff --git a/app/components/dialogs/GenericDialog.js b/app/components/dialogs/GenericDialog.js
index 8098038cd..8908c4703 100644
--- a/app/components/dialogs/GenericDialog.js
+++ b/app/components/dialogs/GenericDialog.js
@@ -93,7 +93,7 @@ class GenericDialog extends React.Component<Props> {
>
{renderTitle && renderTitle()}
{renderContent ? renderContent() : this.renderContent()}
- {renderActions ? renderActions() : this.renderActions()}
+ {renderActions && renderActions()}
</Dialog>
);
}
diff --git a/app/components/dialogs/OnboardingDialog.js b/app/components/dialogs/OnboardingDialog.js
index cfc5d3256..2437cae23 100644
--- a/app/components/dialogs/OnboardingDialog.js
+++ b/app/components/dialogs/OnboardingDialog.js
@@ -40,12 +40,17 @@ import GenericDialog, { onEnterKeyHandler } from './GenericDialog';
import MobileStepper from '@material-ui/core/MobileStepper';
import WelcomeImage from '../../assets/images/onboarding.jpg';
import NavigationV3 from '../../assets/images/navigation-v3.png';
+import BrowserExtension from '../../assets/images/browser-extensions.png';
+import NewLook from '../../assets/images/new-look.png';
import KeyboardArrowLeft from '@material-ui/icons/KeyboardArrowLeft';
import KeyboardArrowRight from '@material-ui/icons/KeyboardArrowRight';
import SwipeableViews from 'react-swipeable-views';
+import ToggleButton from '@material-ui/lab/ToggleButton';
+import ToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup';
import i18n from '../../services/i18n';
import {
isFirstRun,
+ getCurrentTheme,
getPersistTagsInSidecarFile,
actions as SettingsActions
} from '../../reducers/settings';
@@ -55,8 +60,10 @@ type Props = {
isFirstRun: boolean,
isPersistTagsInSidecar: boolean,
fullScreen: boolean,
- setFirstRun: (isFirstRun: boolean) => void,
+ currentTheme: string,
+ // setFirstRun: (isFirstRun: boolean) => void,
setPersistTagsInSidecarFile: (isPersistTagsInSidecar: boolean) => void,
+ setCurrentTheme: () => void,
onClose: () => void
};
@@ -70,7 +77,7 @@ class OnboardingDialog extends React.Component<Props, State> {
isPersistTagsInSidecar: false
};
- maxSteps = 4;
+ maxSteps = 5;
handleNext = () => {
this.setState(prevState => ({
@@ -119,28 +126,27 @@ class OnboardingDialog extends React.Component<Props, State> {
}}
>
<Typography variant="h4">Welcome to TagSpaces</Typography>
- <div
- style={{
- backgroundImage: 'linear-gradient(to right, #ffe000, #799f0c)',
- height: 100,
- width: 550,
- marginTop: 15,
- position: 'relative'
- }}
+ <Typography variant="h6">&nbsp;</Typography>
+ <Typography variant="h6">Your favorite file organizer has a fresh new looks</Typography>
+ <img
+ style={{ maxHeight: 340, marginTop: 15 }}
+ src={NewLook}
+ alt=""
+ />
+ <Typography variant="h6">Try out our new themes</Typography>
+ <ToggleButtonGroup
+ value={this.props.currentTheme}
+ exclusive
+ onChange={(event, theme) => { this.props.setCurrentTheme(theme); }}
+ style={{ boxShadow: 'none' }}
>
- <span
- style={{
- textAlign: 'left',
- bottom: 0,
- position: 'absolute',
- fontSize: 25,
- left: 5,
- color: 'white'
- }}
- >
- Your favorite file organizer has a fresh new look
- </span>
- </div>
+ <ToggleButton value="light">
+ Light
+ </ToggleButton>
+ <ToggleButton value="dark">
+ Dark
+ </ToggleButton>
+ </ToggleButtonGroup>
</div>
<div
style={{
@@ -150,30 +156,24 @@ class OnboardingDialog extends React.Component<Props, State> {
textAlign: 'center'
}}
>
- <Typography variant="h4">Organize your files with tags</Typography>
- <div
- style={{
- backgroundImage:
- 'linear-gradient(to right top, #ff5f6d, #ffc371)',
- height: 100,
- width: 550,
- marginTop: 15,
- position: 'relative'
- }}
- >
- <span
- style={{
- textAlign: 'left',
- bottom: 0,
- position: 'absolute',
- fontSize: 25,
- left: 5,
- color: 'white'
- }}
- >
- Choose your the default tagging method for files
- </span>
- </div>
+ <Typography variant="h4">Meet our new navigation</Typography>
+ <img
+ style={{ maxHeight: 500, marginTop: 15 }}
+ src={NavigationV3}
+ alt=""
+ />
+ </div>
+ <div
+ style={{
+ height: 550,
+ padding: 5,
+ overflow: 'hidden',
+ textAlign: 'center'
+ }}
+ >
+ <Typography variant="h4">Tag your files and folder with ease!</Typography>
+ <Typography variant="h6">&nbsp;</Typography>
+ <Typography variant="h6">Choose your the default tagging method for files</Typography>
<FormControl style={{ marginTop: 20 }} component="fieldset">
<RadioGroup
aria-label="Gender"
@@ -187,7 +187,7 @@ class OnboardingDialog extends React.Component<Props, State> {
<Radio checked={!this.props.isPersistTagsInSidecar} />
}
label={
- <Typography variant="body2" style={{ textAlign: 'left' }}>
+ <Typography variant="subtitle1" style={{ textAlign: 'left' }}>
Use the name of file for saving the tags - Tagging the
file <strong>image.jpg</strong> with a tag{' '}
<strong>sunset</strong> will rename it to{' '}
@@ -203,7 +203,7 @@ class OnboardingDialog extends React.Component<Props, State> {
<Radio checked={this.props.isPersistTagsInSidecar} />
}
label={
- <Typography variant="body2" style={{ textAlign: 'left' }}>
+ <Typography variant="subtitle1" style={{ textAlign: 'left' }}>
Use sidecar file for saving the tags - Tagging the file{' '}
<strong>image.jpg</strong> with a tag{' '}
<strong>sunset</strong> will save this tag in an
@@ -223,12 +223,14 @@ class OnboardingDialog extends React.Component<Props, State> {
textAlign: 'center'
}}
>
- <Typography variant="h4">Meet our new navigation</Typography>
+ <Typography variant="h4">Collect web content in Chrome and Firefox</Typography>
+ <Typography variant="h6">We have a web clipper browser extension</Typography>
<img
- style={{ maxHeight: 500, marginTop: 15 }}
- src={NavigationV3}
+ style={{ maxHeight: 400, marginTop: 15 }}
+ src={BrowserExtension}
alt=""
/>
+ <Typography variant="h6">It is freely available on the official browser stores</Typography>
</div>
<div
style={{
@@ -236,7 +238,6 @@ class OnboardingDialog extends React.Component<Props, State> {
padding: 5,
overflow: 'hidden',
textAlign: 'center'
- // backgroundImage: 'linear-gradient( 109.6deg, rgba(252,255,26,1) 34.9%, rgba(66,240,233,1) 82.5% )'
}}
>
<Typography variant="h4">And... you&apos;re done</Typography>
@@ -251,17 +252,29 @@ class OnboardingDialog extends React.Component<Props, State> {
</div>
</SwipeableViews>
<MobileStepper
+ style={{ marginTop: 10, backgroundColor: 'transparent' }}
steps={this.maxSteps}
position="static"
activeStep={activeStep}
nextButton={
- <Button
- size="small"
- onClick={this.handleNext}
- disabled={activeStep === this.maxSteps - 1}
- >
- Next
- </Button>
+ (activeStep === this.maxSteps - 1) ? (
+ <Button
+ size="small"
+ onClick={this.props.onClose}
+ variant="contained"
+ color="primary"
+ >
+ Start using TagSpaces
+ </Button>
+
+ ) : (
+ <Button
+ size="small"
+ onClick={this.handleNext}
+ >
+ Next
+ </Button>
+ )
}
backButton={
<Button
@@ -303,7 +316,7 @@ class OnboardingDialog extends React.Component<Props, State> {
// onEnterKey={(event) => onEnterKeyHandler(event, this.onConfirm)}
// renderTitle={this.renderTitle}
renderContent={this.renderContent}
- renderActions={this.renderActions}
+ // renderActions={this.renderActions}
/>
);
}
@@ -312,7 +325,8 @@ class OnboardingDialog extends React.Component<Props, State> {
function mapStateToProps(state) {
return {
isFirstRun: isFirstRun(state),
- isPersistTagsInSidecar: getPersistTagsInSidecarFile(state)
+ isPersistTagsInSidecar: getPersistTagsInSidecarFile(state),
+ currentTheme: getCurrentTheme(state)
};
}
@@ -320,7 +334,8 @@ function mapActionCreatorsToProps(dispatch) {
return bindActionCreators(
{
setFirstRun: SettingsActions.setFirstRun,
- setPersistTagsInSidecarFile: SettingsActions.setPersistTagsInSidecarFile
+ setPersistTagsInSidecarFile: SettingsActions.setPersistTagsInSidecarFile,
+ setCurrentTheme: SettingsActions.setCurrentTheme
},
dispatch
);
diff --git a/package.json b/package.json
index 2f914be5f..624ee8df3 100644
--- a/package.json
+++ b/package.json
@@ -182,6 +182,7 @@
"dependencies": {
"@material-ui/core": "^3.5.1",
"@material-ui/icons": "^3.0.1",
+ "@material-ui/lab": "^3.0.0-alpha.25",
"aws-sdk": "^2.263.1",
"chokidar": "^2.0.4",
"classnames": "^2.2.5",
diff --git a/yarn.lock b/yarn.lock
index 273a17e16..1da3ed40a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -238,6 +238,15 @@
"@babel/runtime" "7.0.0"
recompose "^0.29.0"
+"@material-ui/lab@^3.0.0-alpha.25":
+ version "3.0.0-alpha.25"
+ resolved "https://registry.yarnpkg.com/@material-ui/lab/-/lab-3.0.0-alpha.25.tgz#36593e2610a4eeb8fcdea6ab453d1b895e44b42e"
+ integrity sha512-3GEGdoU6FnicAM+tbOLyn95YG1Yk8bF71DGaYyqjL8YU7JAsyAlfbYhMxD7m1BBJw3CH6t4Yc2tAPqldv08xoA==
+ dependencies:
+ "@babel/runtime" "7.1.2"
+ classnames "^2.2.5"
+ keycode "^2.1.9"
+
"@material-ui/utils@^3.0.0-alpha.0":
version "3.0.0-alpha.0"
resolved "https://registry.yarnpkg.com/@material-ui/utils/-/utils-3.0.0-alpha.0.tgz#506fcaf531a9a8f58a73ff2d3dfaa36c0f238506"