docbrown/app/javascript/article-form/components/__tests__
ludwiczakpawel 6c3f5d51fe
Drop containers styling (#10203)
* Refactored drag n drop functionality to a hook and component.

* Add the snackbar to the article editor.

* Now you can drag and drop images in the post body content.

* Cleaning up a few things.

* Now post cover images can be dragged and dropped.

* Removed unused empty function.

* Added @testing-library/preact-hooks so that we can test hooks.

* Some renaming, small refactor.

* Added tests

* Added more tests.

* Added more tests.

* Added message about dropping only one image in post body.

* Added message about dropping only one image for cover image.

* put onDrop into it's own meethod.

* More tests.

* Added some API documentation.

* Updated editor help with drag and drop image help.

* drag and drop styling

* .

* revert

* Fixed broken test.

Co-authored-by: Nick Taylor <nick@dev.to>
2020-09-09 09:37:16 +02:00
..
ArticleCoverImage.test.jsx [deploy] Fixed issue with drag and drop image for cover image in editor. (#10254) 2020-09-08 16:43:23 -04:00
Close.test.jsx Added a11y tests to frontend tests that were missing them (#8873) 2020-06-24 14:38:39 -04:00
dragAndDropHelpers.test.js Drop containers styling (#10203) 2020-09-09 09:37:16 +02:00
Form.test.jsx Added a11y tests to frontend tests that were missing them (#8873) 2020-06-24 14:38:39 -04:00
Help.test.jsx Added a11y tests to frontend tests that were missing them (#8873) 2020-06-24 14:38:39 -04:00
ImageUploader.test.jsx Upgraded to preact testing library 2.0.0 (#9103) 2020-07-06 14:53:10 -04:00
Options.test.jsx Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00
PageTitle.test.jsx Added a11y tests to frontend tests that were missing them (#8873) 2020-06-24 14:38:39 -04:00
Preview.test.jsx Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00
Tabs.test.jsx Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00
Title.test.jsx Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00