Robert Schäfer ffe6dc7736 Add MutationObserver to fix tests
Our build server failed because of frontend tests. However, all our
fullstack tests are passing... So maybe an issue in our test setup, not
reproducible in a real browser?

This commit:
ee4f132b0f (diff-0806c5f3fdae5e139222967601c7faca)
adds MutationObserver to their test setup. Adding it to our test suites
that touch the `editor` directly fixes our tests, too!

From what I can tell is that prosemirror is calling
`this.observer.takeRecords()`. Probably `tiptap` updated its
dependencies at some point and that's where `this.observer` was
introduced? Hard to tell. It really looks just like an issue only
present in test environments, so I think it's safe not to investigate
any further.
2019-08-02 14:32:06 +02:00
..
2019-07-10 13:58:11 +02:00
2019-07-22 05:52:01 -03:00
2019-07-15 11:20:28 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-08-02 14:32:06 +02:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-08-02 14:32:06 +02:00

Webapp

UI Screenshot

Installation

# install all dependencies
$ yarn install

Copy:

cp .env.template .env
cp cypress.env.template.json cypress.env.json

Configure the files according to your needs and your local setup.

Build for Development

# serve with hot reload at localhost:3000
$ yarn dev

Build for Production

# build for production and launch server
$ yarn build
$ yarn start

Styleguide

All reusable Components for example avatar should be done inside the Nitro-Styleguide repository.

Styleguide Screenshot

More information can be found here: https://github.com/Human-Connection/Nitro-Styleguide

If you need to change something in the styleguide and want to see the effects on the frontend immediately, then we have you covered. You need to clone the styleguide to the parent directory ../Nitro-Styleguide and run yarn && yarn run dev. After that you run yarn run dev:styleguide instead of yarn run dev and you will see your changes reflected inside the frontend!