773 Commits

Author SHA1 Message Date
Mathias Biilmann Christensen
13cbf21159 Implement list control with fields 2016-10-28 19:13:26 +02:00
Cássio Zen
3a60ce9f2f Merge branch 'fix-demo-ui' of github.com:netlify/netlify-cms into fix-demo-ui 2016-10-28 11:42:38 -02:00
Cássio Zen
d7f1b25c1b Bugfixes due to new slug signature 2016-10-28 11:42:31 -02:00
Mathias Biilmann Christensen
86e3aed065 Better styling for object controls 2016-10-28 10:21:13 +02:00
Mathias Biilmann Christensen
6b73c39ba8 Support for object widget 2016-10-28 04:51:37 +02:00
Mathias Biilmann Christensen
442a02f009 Fix slugs for search result entries 2016-10-27 19:56:50 +02:00
Cássio Zen
a33aa13d0f moved Entry VO away from implementations 2016-10-27 15:27:39 -02:00
Cássio Zen
1566e247f3 Reverted Collection VO slug generation 2016-10-27 14:59:41 -02:00
Cássio Zen
2e6e5d1bec removed unused function 2016-10-27 13:59:21 -02:00
Cássio Zen
baafe0b32f refactor on slugformatter 2016-10-27 13:50:02 -02:00
Cássio Zen
dabf6a1be1 typo 2016-10-27 13:10:44 -02:00
Mathias Biilmann Christensen
80a2cefbf0 Add json format support 2016-10-27 15:33:15 +02:00
Cássio Zen
6ff7019e7c Removed author from cards (author may not be an available field) 2016-10-27 10:54:24 -02:00
Mathias Biilmann Christensen
7713c4c6f8 Fix some linting errors 2016-10-27 14:45:32 +02:00
Mathias Biilmann Christensen
bbce1c30de Make loading single file work without scanning whole collection 2016-10-27 14:23:36 +02:00
Mathias Biilmann Christensen
2b99e2d176 Support entriesByFiles in test-repo backend 2016-10-27 11:47:19 +02:00
Mathias Biilmann Christensen
8aa8f5ce39 Add shortcut for italics 2016-10-27 11:34:22 +02:00
Andrey Okonetchnikov
c3b4fd9013 Cards typography (#139)
* Fixed some ESLint errors

* Better card's design for the editorial process.

- Use Card component from react-toolbox
- Added "Edit" buttons for cards
- Cleaned up CSS and JS

Fixes #125

* Better ImageCard and card list view. Fixes #125

* Use collection label instead of name on the CollectionPage
2016-10-26 15:51:50 -02:00
Andrey Okonetchnikov
434f45c97c Webpack optimizations (#140)
* Less repetition in webpack configs. Minify CSS classnames in production.

* Ignore all optional deps of moment.js. Fixes #138

* Added target to webpack config

* Automatically extract all 3rd party modules into a separate 'vendor' chunk

* Inline only assets that are smaller than 10KB

* Added autoprefixer options

* Replaced sinfle babel transforms with the stage-1 preset. Cleaned up webpack configs.

* Do not include hot module replacement in production
2016-10-26 15:51:35 -02:00
Cássio Souza
5151e7cdb1 Bugfixes due to new slug signature (#145) 2016-10-26 15:50:34 -02:00
Mathias Biilmann
72b56d1cbc Editor fixes (#143)
* Use icons for style menu

* Add h1/h2 options to style toolbar

* Handle rich paste events
2016-10-26 14:48:47 -02:00
Mathias Biilmann Christensen
9566392dd3 Fix block menu always showing on first char 2016-10-22 23:28:25 +03:00
Mathias Biilmann Christensen
c068fae24e Implement block menu with support for plugins 2016-10-22 23:23:19 +03:00
Mathias Biilmann Christensen
c859d7234e Position editor toolbar 2016-10-22 04:37:22 -07:00
Mathias Biilmann Christensen
3a087e44fa Make linter happier 2016-10-21 23:19:23 -07:00
Mathias Biilmann Christensen
f40b75e2e3 Implement drag and drup upload support for simple markdown editor 2016-10-21 23:16:19 -07:00
Mathias Biilmann Christensen
a15d014a99 Implement a simple textarea based markdown editor 2016-10-21 22:52:41 -07:00
Cássio Souza
2496ec09a4 Single file collections (#132)
* Files based collections skeleton

* listing file based cards

* create new entry with collection

* moved lookupEntry to main backend

* Editing single page Collections file

* List widget basic implementation

* Adjustments for test-repo

* check if value exists before trying to iterate over
2016-10-21 20:42:14 -02:00
Andrey Okonetchnikov
3465dc1376 Merge pull request #129 from netlify/infinite-loading-indicator
Better loading indicator
2016-10-21 15:33:13 +02:00
Andrey Okonetchnikov
a9b25cc85f Adjust topbar styles 2016-10-21 15:32:12 +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 Zen
bd1216c760 bugfixes for test-repo. Closes #126 and #127 2016-10-20 14:27:58 -02:00
Cássio Zen
195479f088 styles fix 2016-10-20 14:26:57 -02:00
Cássio Zen
f7b74453ab bugfix. Closes #122 2016-10-20 11:30:29 -02:00
Cássio Zen
a1f15da39f global config for header padding 2016-10-20 10:48:09 -02:00
Cássio Zen
871fdc9331 removed global selectors 2016-10-20 10:47:37 -02:00
Cássio Zen
9b97a13cc9 bugfix: Don't try to show if entry is partial 2016-10-19 19:10:14 -02:00
Cássio Zen
23ab740d53 value can be undefined as long as there is an entry 2016-10-19 18:29:54 -02:00
Cássio Zen
1cbf6736a2 Small padding adjustment 2016-10-19 15:08:05 -02:00
Cássio Zen
3f8f9197c1 small ui adjustments 2016-10-18 15:18:29 -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
863d90c8ee Use Loader on the entry page. Closes #102 2016-10-14 13:42:58 +02:00
Andrey Okonetchnikov
3b18fb4f87 Added visual feedback during saving of the entry. Related to #101 2016-10-13 14:31:44 +02:00
Andrey Okonetchnikov
e53262d92c Moved persisting logic to entryDraft reducer + added tests. 2016-10-13 14:30:11 +02:00
Andrey Okonetchnikov
f9c43bd275 Removed expect import 2016-10-13 11:56:26 +02:00
Andrey Okonetchnikov
5e333aca20 Removed obsolte snapshot 2016-10-13 11:55:46 +02:00
Andrey Okonetchnikov
27659b77f1 Removed console.error from auth reducer to cleanup tests outputs. We should use Netlify error wrapper. 2016-10-13 11:34:55 +02:00
Andrey Okonetchnikov
077e83dfc9 Handle entry persisting state in actions and reducer + added tests. 2016-10-12 19:19:05 +02:00
Andrey Okonetchnikov
8d51f9be3e Fixed ESLint errors and tests for entries reducer 2016-10-12 16:04:58 +02:00