94 Commits

Author SHA1 Message Date
Andrey Okonetchnikov
2e1d98ac7e Added fsevents as an optional dependency to fix high CPU usage by the node process on Macs 2016-10-25 10:44:09 +02:00
Cássio Zen
ff0fa2cf6b Merge branch 'simple-markdown-editor' 2016-10-24 18:09:01 -02:00
Andrey Okonetchnikov
59f6b42d84 Revert "Added fsevents as devDep to reduce the CPU load of webpack-dev-server on Mac OS X."
Since this commit broke the CI completely. This reverts commit 06b0a7bdaa2ada13cf362852a99fbc911e23899b.
2016-10-23 23:15:37 +02:00
Mathias Biilmann Christensen
c859d7234e Position editor toolbar 2016-10-22 04:37:22 -07:00
Mathias Biilmann Christensen
a172c13996 Update package name 2016-10-21 17:02:05 -07:00
Mathias Biilmann Christensen
3cdaf7cc66 Bump version 2016-10-21 17:00:05 -07:00
Cássio Souza
2c8cdfc15e Webpack for production build (#134)
* Webpack config for production build
2016-10-21 21:18:45 -02:00
Andrey Okonetchnikov
188fec4529 [feature] Better loading indicator
- Use react-topbar-progress-indicator as a global loading indicator.
- Added a global reducer that only holds `isFetching` for now.
- Display loading indicator on any `*_REQUEST` actions.
- Closes #103
2016-10-20 18:52:24 +02:00
Cássio Souza
e001714aed Optimistic Updates (#114)
* Optimistic Updates structure
* Optimistic update for Editorial Workflow
2016-10-18 14:30:13 -02:00
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