Matt Rider b378bcb286 Fix edit field render bug(CommentForm)
- remove no-ssr, which was not necessary and causing the edit field not to appear the majority of the times visiting a Post.
- this was really bad user experience since a user would need to refresh the page to comment.
- removed args in refetchPostComments as there are no params passed in when it is called anymore
- needed to add an if statement since if there are no comments on a Post, then this.$apollo.queries.Post is undefined and it errors out trying to call refetch()
- update test to remove no-ssr

Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-05-27 17:02:00 -03:00
..
2019-05-23 19:40:39 +02:00
2019-05-23 19:40:39 +02:00
2019-05-23 19:40:39 +02:00
2019-05-24 08:48:52 -03:00
2019-05-23 19:40:39 +02:00
2019-04-23 19:16:24 +02:00
2019-05-23 19:40:39 +02:00
2019-03-20 21:06:17 +01:00
2019-03-20 21:06:17 +01:00
2019-03-20 21:06:17 +01:00
2019-03-20 21:06:17 +01:00
2019-05-18 15:26:30 +02:00
2019-03-20 21:06:17 +01:00
2019-05-18 14:35:58 +02:00
2019-03-20 21:06:17 +01:00
2019-03-20 21:06:17 +01:00
2019-05-23 19:40:39 +02:00
2019-04-12 13:28:10 +02:00
2019-03-20 21:06:17 +01: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 fronten!