File-Server icon indicating copy to clipboard operation
File-Server copied to clipboard

Page for server setup

Open nicole-mcg opened this issue 7 years ago • 0 comments

There should be a page created to be shown to a user when the first account is created. This should start by showing an InfoPane widget to give a short introduction with a next button in the bottom right. It should then show a text field to name the server with another next button (Other options will go here as well). The last step should simply show a FileViewer widget, which will later allow a user to select which folders to sync.

The file should be created in web/src/page/, which contains other pages as examples. The different steps can be created by changing the state of the component. this.setState({key: "value"}) is used to change the state (E.g on button click) and this.state.key is used to retrieve the state (in the render function).

To access the new page you must add a Route in web/src/index.jsx. Import your page class at the top of the file and add a new Route by following /login as an example.

nicole-mcg avatar Apr 12 '18 05:04 nicole-mcg