pubsweet issueshttps://gitlab.coko.foundation/pubsweet/pubsweet/-/issues2020-06-10T16:14:23Zhttps://gitlab.coko.foundation/pubsweet/pubsweet/-/issues/481xpub-edit's HtmlEditor uses componentWillMount2020-06-10T16:14:23ZJurexpub-edit's HtmlEditor uses componentWillMount```Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
* Move code with side effects to componentDidMount, and set initial state in the construct...```Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
Please update the following components: HtmlEditor```https://gitlab.coko.foundation/pubsweet/pubsweet/-/issues/445The examples in PubSweet docs should be copy-pasteable2019-04-09T08:53:35ZJureThe examples in PubSweet docs should be copy-pasteableYou should be able to copy and past the example of a component's use, and have it 'just work'
For example, the Link component includes this example:
```
<Link to={'www.google.com'}>Click here</Link>
```
It should be:
```
import { Link ...You should be able to copy and past the example of a component's use, and have it 'just work'
For example, the Link component includes this example:
```
<Link to={'www.google.com'}>Click here</Link>
```
It should be:
```
import { Link } from '@pubsweet/ui'
<Link to={'www.google.com'}>Click here</Link>
```https://gitlab.coko.foundation/pubsweet/pubsweet/-/issues/406Update component's configuration to use method decided #4032020-01-29T10:51:15ZJureUpdate component's configuration to use method decided #403This is a task to rename existing core component's configuration keys to equal their package names.This is a task to rename existing core component's configuration keys to equal their package names.https://gitlab.coko.foundation/pubsweet/pubsweet/-/issues/377Improve Signup component error messages2018-12-17T23:22:39ZJureImprove Signup component error messagesCurrently, e.g. if a user already exists, the error will be something like 'Conflict'
![image](/uploads/487548d6832eb2ed5a17847b8719ae86/image.png)
If the validation fails, it would be `Bad Request`.
We can make those error messages n...Currently, e.g. if a user already exists, the error will be something like 'Conflict'
![image](/uploads/487548d6832eb2ed5a17847b8719ae86/image.png)
If the validation fails, it would be `Bad Request`.
We can make those error messages nicer, to say things like 'A user with this username already exists', maybe at this point: https://gitlab.coko.foundation/pubsweet/pubsweet/blob/master/packages/components/Signup/Signup.jsx#L24
Inspired by #104