Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Releases: howtocards/frontend

v0.3.0

04 Jan 07:01
Compare
Choose a tag to compare

v0.2.0...v0.3.0

Features

  • Show useful and created cards on user page f40c790
  • Add useful button to cards (named "Save" now) bc5e896
  • Add edit card page 9ddaa72
  • Render html without editor in preview and fix quill unmount bug fd86d3c
  • Add docker image for static build d6f8edb
  • Reenabled react-hot-loader 1bb5711
  • Removed mock-server (Because we don't want to support two server code base) 607e0c6

Docs

Render html without editor in preview

fd86d3c#diff-8cf6ed0ac53ea6d7c6fb1434f74e581cR12

quill+hljs can't save recognized programming language in html. And recognizing it in runtime shows unhighlighted syntax block and some freeze. To remove it we save highlighted html to database and dangerouslySetInnerHTML to card preview.

Add blur to quill editor on willUnmount

fd86d3c#diff-92d41d1008e9a31f25bcb4ed8e5b1f88R55

Quill editor has setState on blur in onEditorChangeSelection to remove selection and when we unmount quill it tries to setState on unmounted component. We blur focus to trigger changing state.

v0.2.0

13 Dec 21:16
Compare
Choose a tag to compare

v0.1.0...v0.2.0

Small steps to MVP

v0.1.0

13 Dec 21:15
Compare
Choose a tag to compare

Just first important point in project history

75f513c...v0.1.0