]> git.r.bdr.sh - rbdr/dasein/commit - etc/dasein.paw
Add Comments (#4)
authorRubén Beltrán del Río <redacted>
Tue, 31 Jan 2017 06:49:26 +0000 (00:49 -0600)
committerGitHub <redacted>
Tue, 31 Jan 2017 06:49:26 +0000 (00:49 -0600)
commit9b1f50fefe021578113b8f5935084fe4fed110b2
tree98805583b7c5041f16b195de823c5524f4de7672
parenta6ccda0fbc4df683f9568d85eb22b21684d2a0bd
Add Comments (#4)

* Preserve whitespace in posts

* Create comments handler

* Use comments handler

* Update paw

* Add comment components

* Style comments

* Remove unnecessary code from app

* Fix linter warning

* Add key to handle children (thx @javierbyte)

* Add toggling to the form

* Return all keys always

* Correct missing semicolons

* Restore redirect

* Render posts conditionally

* Set poll time to 1s

* Set post frequency to 2s

* Add polling to comments

* Correct typo in error logging

* Clear intervals and reduce polling

* Stops polling if it's being destroyed

* Update changelog
13 files changed:
CHANGELOG.md
app/components/comment.js [new file with mode: 0644]
app/components/comment_form.js [new file with mode: 0644]
app/components/comments.js [new file with mode: 0644]
app/components/post.js [new file with mode: 0644]
app/components/post_form.js
app/components/posts.js
app/dasein.js
etc/dasein.paw
lib/dasein.js
lib/handlers/comments.js [new file with mode: 0644]
lib/handlers/posts.js
static/css/app.css