358 Commits

Author SHA1 Message Date
Cássio Souza
3cbb1ba280 List single field (#175)
* accept both single or multiple fields

* labelField should be defined
2016-11-29 20:18:01 -02:00
Cássio Zen
6194e969f5 Friendlier error message for missing media_folder 2016-11-29 16:16:56 -02:00
Cássio Zen
a440b370ea Added a default template for slugFormatter. Fixes #171 2016-11-29 16:13:59 -02:00
Cássio Zen
43c93dff26 Inject base target to '_blank' on preview iframe. Closes #172 2016-11-29 15:18:25 -02:00
Mathias Biilmann Christensen
3f13435ff0 Make sure we export the CMS for npm use 2016-11-23 12:26:15 -08:00
Cássio Souza
b1a5ea95d3 Refinements & Preview Defaults (#167)
* No need for set width for base Card anymore

* entries are not required

* Redirect from Dashboard to first collection if publish mode is simple

* collection inference: Add more synonyms to description

* Implemented a better default preview for editing entries

* Add label field in default preview for small text values

* Added margin for default preview
2016-11-23 16:23:32 -02:00
Cássio Zen
2af586867f Merge with use-publicFolder 2016-11-17 15:36:57 -02:00
Cássio Zen
695f533c8e Added resolvePath helper to normalize and prepend the public_path and as needed 2016-11-17 15:33:02 -02:00
Cássio Souza
1fe386b324 Config default values (#164)
* Use public_folder to display images persisted with no path reference

* Allow for default values on a collection field
2016-11-17 12:03:54 -02:00
Cássio Souza
007575d315 Use public_folder to display images persisted with no path reference (#163) 2016-11-17 11:41:54 -02:00
Cássio Zen
8d9f894928 Use public_folder to display images persisted with no path reference 2016-11-17 11:12:14 -02:00
Mathias Biilmann
d81d0d416f Widget fixes (#162)
* Make string the default widget if none is specified

* Linting fixes for PreviewPane

* Linting fixes for ControlPane

* Add date widget

* Fix name of date control class

* Fix spaces in list control with no fields

* Fix linting error for List Control

* Fix linting errors in raw editor

* Add Select widget

* Fix linting error
2016-11-17 10:08:37 -02:00
Mathias Biilmann Christensen
790619083d Fix cms hanging when going to new entry page 2016-11-15 17:21:33 -08:00
Mathias Biilmann Christensen
0eff4484d0 Fix alignment of entry cards 2016-11-11 17:22:18 -08:00
Mathias Biilmann Christensen
077d9d7fa0 Fix Toolbar.css overwritten by linter script 2016-11-11 16:09:04 -08:00
Cássio Zen
0521757b8c prosemirror integration 2016-11-11 18:36:11 -02:00
Cássio Souza
2a2497072d UI updates (#151)
* infer card title

* Infer entry body & image

* infer image

* Better terminology: EntryListing accept a single Collection

* remove log

* Refactored Collections VO into selectors

* use selectors when showning card

* fixed size cards

* Added 'bio' and 'biography' to collection description inference synonyms

* Removed unused card file

* throw error instance

* bugfix for file based collections

* lint

* moved components with css to own folder

* Search Bugfix: More than one collection might be returned

* Changed sidebar implementation. Closes #104 & #152

* Show spinning loading for unpublished entries

* Refactored Sidebar into a separate container

* Make preview widgets more robust
2016-11-11 17:54:58 -02:00
Andrey Okonetchnikov
5b5f1edb22 Moved applyDefaults function and related code to actions (where it belong).
- Moved applyDefaults + related code
- Added tests for /actions/config.js
- Fixed some ESLint errors
2016-11-11 12:32:03 +01:00
Andrey Okonetchnikov
6ce58a789d Do not use expect to get better diffs out of Jest 2016-11-11 11:02:11 +01:00
Mathias Biilmann Christensen
8461abc1b5 Replace md parser for pubstorm to make editor plugins work 2016-11-04 11:04:54 -07:00
Cássio Souza
a6fc8506f5 Dashboard page (#150) 2016-11-02 12:25:43 -02:00
Mathias Biilmann Christensen
038597573c Custom plugin support in rte 2016-11-01 23:31:20 -07:00
Mathias Biilmann Christensen
f02bd9a789 Link support in prose mirror 2016-11-01 17:58:19 -07:00
Mathias Biilmann Christensen
27d33d2a84 Make headers buttons toggle headers 2016-11-01 17:51:49 -07:00
Mathias Biilmann Christensen
97928a7b34 Fix undo history in prose mirror 2016-11-01 17:25:37 -07:00
Mathias Biilmann Christensen
4c221e3238 Fix linter overwriting css 2016-11-01 16:58:38 -07:00
Mathias Biilmann Christensen
d0df70e4d3 Prosemirror working - with some toolbar options 2016-11-01 16:55:21 -07:00
Cássio Zen
44bbb84d44 bugfix in Draft entry editing 2016-11-01 14:31:04 -02:00
Andrey Okonetchnikov
4d696f2253 Login workflow (#137)
* Use collection label instead of name on the CollectionPage

* Added Avatar and logout menu item

* [feat](login) Added userpic with a logout action in the dropdown.

- Display logged in user in the AppHeader
- Implemented logout action and store + tests
- Better styles for GitHub sign in screen

Closes #100

* Better styles for the AppHeader
2016-11-01 11:35:20 -02:00
Cássio Zen
295cdd2f6d Persistence editorial workflow through own actions & reducer 2016-10-31 18:19:51 -02:00
Cássio Souza
78daa574af Merge pull request #146 from netlify/fix-demo-ui
WIP: Change how single entries are fetched to avoid loading full list
2016-10-31 12:17:10 -02:00
Mathias Biilmann Christensen
67a00e5b65 Fix rendering of plugins returining react components 2016-10-30 23:46:34 -07:00
Mathias Biilmann Christensen
aca88ef441 Make editor plugins work in preview 2016-10-30 23:38:12 -07:00
Mathias Biilmann Christensen
378be79a76 Merge branch 'fix-demo-ui' of github.com:netlify/netlify-cms into fix-demo-ui 2016-10-30 16:01:22 -07:00
Mathias Biilmann Christensen
c23b2fb531 Make list widget sortable 2016-10-30 16:01:10 -07:00
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