85 Commits

Author SHA1 Message Date
Andrey Okonetchnikov
f3b448106d Added notifications. Closes #101
- Using react-notifications to manage redux state
- Refactored Toast component to be stateless
- Toasts can be stacked
- Cleaned up CSS
- Updated stories
2016-10-17 12:35:31 +02:00
Andrey Okonetchnikov
ffe27acc10 Merge branch 'master' into markitup-react 2016-10-13 13:48:41 +02:00
Andrey Okonetchnikov
3d715a9f9f Updated lint-staged to 3.1.0 2016-10-13 13:45:31 +02:00
Andrey Okonetchnikov
d630463dd5 Merge branch 'master' into jest-update 2016-10-13 13:40:15 +02:00
Andrey Okonetchnikov
b61b53d15b Merge branch 'master' into markitup-react 2016-10-13 11:27:53 +02:00
Andrey Okonetchnikov
3376322bf4 Temporarily disabled linting in test script until #96 and #99 are merged.
This way we can at least see if tests are failing.
2016-10-13 11:17:49 +02:00
Andrey Okonetchnikov
06b0a7bdaa Added fsevents as devDep to reduce the CPU load of webpack-dev-server on Mac OS X.
See https://github.com/webpack/webpack-dev-middleware/issues/40
2016-10-12 17:13:11 +02:00
Andrey Okonetchnikov
fee2d8e731 Updated Jest config to work with webpack and CSS-modules 2016-10-12 14:52:05 +02:00
Andrey Okonetchnikov
899681ee84 Merge branch 'master' into markitup-react 2016-10-11 10:28:42 +02:00
Andrey Okonetchnikov
cc1c2f91e0 Moved frontend deps from devDependencies to dependencies. Fixes lots of eslint errors. 2016-10-10 22:17:25 +02:00
Cássio Zen
494ea636a3 eslint adjustments 2016-10-10 16:35:42 -03:00
Cássio Zen
ff0949e417 small bugfixes 2016-10-10 16:10:55 -03:00
Cássio Souza
2815a86e0c Search integration (React Version) (#84)
* algolia integration skeleton

* Configuration Defaults

* Implemented partial entries with lazy loading of complete file

* Moved backend selection logic to actioncreators

* basic pagination for entries

* general search skeleton

* Basic search result listing

* Redo search for different search terms

* search results pagination

* Changing integration config & handling

* Changing integration config & handling

* new integration config model
2016-10-10 15:34:21 -03:00
Andrey Okonetchnikov
5cb820b2f1 Updated lint-staged to 4.0.0-beta-2 2016-10-10 18:00:55 +02:00
Andrey Okonetchnikov
91927357b7 Added jest to lint-staged 2016-10-07 16:44:33 +02:00
Andrey Okonetchnikov
b295d1e6ab Updated jest to 16.x 2016-10-07 16:44:23 +02:00
Andrey Okonetchnikov
45d810a25f Updated eslint config GH repo name 2016-10-06 17:03:30 +02:00
Andrey Okonetchnikov
de5958752a Merge pull request #90 from netlify/enforce-code-style
Enforces code style
2016-10-06 15:35:02 +02:00
Andrey Okonetchnikov
9c7c5360e6 Use shareable netlify eslint config. 2016-10-06 14:57:47 +02:00
Andrey Okonetchnikov
6d484463ca Added declaration-use-variable 2016-10-06 14:57:46 +02:00
Andrey Okonetchnikov
0361c4c79b Updated eslint-* deps 2016-10-06 14:57:46 +02:00
Andrey Okonetchnikov
4c30278fb5 Added npm-check with tasks 2016-10-06 14:57:46 +02:00
Andrey Okonetchnikov
6d9a3962dc npm test will run all linters and tests. This is needed for the CI. 2016-10-05 17:45:29 +02:00
Andrey Okonetchnikov
18be4e8fd2 Removed *.jsx from lint-staged config 2016-10-05 12:34:58 +02:00
Andrey Okonetchnikov
af0563eb70 Added lint-staged rule for CSS files 2016-10-05 12:34:27 +02:00
Andrey Okonetchnikov
a801714f16 Added stylefmt and lint:css:fix task 2016-10-05 12:32:59 +02:00
Andrey Okonetchnikov
0ccaad5822 Added stylelint + config 2016-10-05 12:15:26 +02:00
Andrey Okonetchnikov
ca34def49e Merge branch 'master' into markitup-react 2016-10-03 17:00:11 +02:00
Andrey Okonetchnikov
4c50952131 Enfore semicolon for class properties 2016-10-03 16:34:48 +02:00
Andrey Okonetchnikov
2b5a987945 WIP on drag'n'drop image uploading 2016-09-28 11:19:12 +02:00
Andrey Okonetchnikov
f38e6b6f25 Use dangerouslySetInnerHTML since the react parser wasn't working with inline styles correctly. 2016-09-27 12:18:52 +02:00
Andrey Okonetchnikov
e0724aa1bd Use react-htmlparser2 to render HTML to React VDOM 2016-09-27 11:26:28 +02:00
Andrey Okonetchnikov
cdc71a2bbf Sanitize unsupported props. This removes all React warnings. Refactored renderToken. 2016-09-26 15:37:25 +02:00
Andrey Okonetchnikov
c928fbccaf Switched to enzyme 2016-09-22 21:52:43 +02:00
Andrey Okonetchnikov
2c483220b5 Updated lint-staged 2016-09-22 17:37:18 +02:00
Andrey Okonetchnikov
862b85e4c3 Added support for testing React components 2016-09-22 17:20:05 +02:00
Andrey Okonetchnikov
0b69f6fa98 Switched to Jest testing framework.
Made tests pass again. Created entries.spec.js + made it pass.
Added wallaby.config.js to support wallaby.js runner.
2016-09-20 14:00:03 +02:00
Andrey Okonetchnikov
19e33a0d82 Merge branch 'react-pr' into dashboard-link 2016-09-16 15:20:24 +02:00
Cássio Zen
ded39fc1bc Merge branch 'react-pr' of https://github.com/netlify/netlify-cms into react-pr 2016-09-15 15:50:39 -03:00
Cássio Zen
9914b5a668 refactor dragndrop 2016-09-15 15:50:33 -03:00
Andrey Okonetchnikov
ede273a732 Splitted webpack config into base and dev. Re-use it in .storybook webpack config. 2016-09-15 20:05:18 +02:00
Andrey Okonetchnikov
b2d4714c90 Integrated material-ui 2016-09-15 18:53:24 +02:00
Andrey Okonetchnikov
bc88df5bf0 Merge branch 'react' into react-pr 2016-09-15 10:59:46 +02:00
Cássio Zen
0b447d483d Editorial workflow Drag'nDrop 2016-09-13 18:54:39 -03:00
Andrey Okonetchnikov
357bcb18cc Merge branch 'react-pr' into lint-staged 2016-09-13 18:50:18 +02:00
Andrey Okonetchnikov
5f74d0ae28 Removed extract-text-webpack-plugin for now to enable HMR for CSS as well. 2016-09-13 17:18:19 +02:00
Andrey Okonetchnikov
3f4bc929e9 Enabled HMR 2016-09-13 17:08:51 +02:00
Andrey Okonetchnikov
09841c05e2 Added lint-staged with the eslint autofix config. 2016-09-13 15:27:29 +02:00
Andrey Okonetchnikov
26dab74439 Updated eslint
Updated ESLint dependency and removed unused eslint-loader.
Also added 2 tasks to package.json: 'lint' and 'lint:fix'.
2016-09-13 15:23:17 +02:00
Andrey Okonetchnikov
c810aec0b5 Added missing dependenicy expect 2016-09-13 12:53:22 +02:00