368 Commits

Author SHA1 Message Date
Andrey Okonetchnikov
c928fbccaf Switched to enzyme 2016-09-22 21:52:43 +02:00
Andrey Okonetchnikov
c243a62a32 Generate keys for arrays of elements to remove React warnings. Pass only a single child if possible. 2016-09-22 18:23:44 +02:00
Andrey Okonetchnikov
7fe1a6f8b6 Extracted renderToken function from class. Do not render additional <div>. 2016-09-22 17:44:25 +02:00
Andrey Okonetchnikov
95008d8607 WIP on React renderer for any Markit-up syntax 2016-09-22 17:36:02 +02:00
Andrey Okonetchnikov
53580ab0b9 Merge branch 'react' into markitup-react 2016-09-22 10:25:29 +02:00
Andrey Okonetchnikov
d351f10a9b Fixed formatting of richText.js 2016-09-22 10:03:02 +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
Cássio Zen
d7363f276e Removed “AppHeader” and “FindBar” from UI 2016-09-19 15:52:20 -03:00
Cássio Zen
98972ae21e Merge branch 'react-pr' of https://github.com/netlify/netlify-cms into react-pr 2016-09-19 15:31:12 -03:00
Cássio Zen
b56bd24abb fast forward to github implementation 2016-09-19 15:31:01 -03:00
Andrey Okonetchnikov
19e33a0d82 Merge branch 'react-pr' into dashboard-link 2016-09-16 15:20:24 +02:00
Andrey Okonetchnikov
4da610a2b3 Better names for methods. Fixes ESLint warnings. 2016-09-16 15:01:19 +02:00
Andrey Okonetchnikov
2fada62fff Removed unused styles + added drawerContent style 2016-09-16 15:01:02 +02:00
Andrey Okonetchnikov
cc80ef4a29 Added navigation drawer with list of collections. Closes #71 2016-09-16 15:00:24 +02:00
Andrey Okonetchnikov
eb187e1f05 Fixed React warning when using Immutable.map with .map 2016-09-16 14:28:25 +02:00
Andrey Okonetchnikov
46667926b2 Moved findBar to components and decopuled it from redux as much as possible.
Removed stories from containers. These aren't possible to write since containers depend on redux.
2016-09-16 12:54:26 +02:00
Cássio Zen
9914b5a668 refactor dragndrop 2016-09-15 15:50:33 -03:00
Andrey Okonetchnikov
f6ab5e3d47 Better AppHeader component. WIP. 2016-09-15 18:56:08 +02:00
Andrey Okonetchnikov
15d7043f9d Simplified FindBar.css 2016-09-15 18:54:47 +02:00
Andrey Okonetchnikov
276f0c4a40 Removed global style for button 2016-09-15 18:54:11 +02:00
Andrey Okonetchnikov
b2d4714c90 Integrated material-ui 2016-09-15 18:53:24 +02:00
Andrey Okonetchnikov
5409cc1022 Added "Create new" buttons to the header. Closes #49
Note that this is temp solution UI-wise since it won't scale.
2016-09-15 11:12:33 +02:00
Andrey Okonetchnikov
6d0535dc26 Merge branch 'react-pr' into dashboard-link 2016-09-15 10:57:01 +02:00
Cássio Zen
ae64ce73ea Delete branch after PR merge 2016-09-14 18:55:42 -03:00
Cássio Zen
71b5b0bde9 merge button for editorial workflow 2016-09-14 18:25:45 -03:00
Cássio Zen
91846cdbc5 Toast component 2016-09-14 11:59:59 -03:00
Cássio Zen
0b447d483d Editorial workflow Drag'nDrop 2016-09-13 18:54:39 -03:00
Cássio Zen
f4a6929d17 minor css adjustments 2016-09-13 15:10:56 -03:00
Cássio Zen
4108b88315 Merge branch 'react-pr' of https://github.com/netlify/netlify-cms into react-pr 2016-09-13 14:31:26 -03:00
Cássio Zen
686dd51410 Commiting unpublished branches on pre existing branch (updates PR) 2016-09-13 14:31:18 -03:00
Andrey Okonetchnikov
d6f5a2eb8d Merge branch 'react-pr' into dashboard-link 2016-09-13 18:52:48 +02:00
Andrey Okonetchnikov
357bcb18cc Merge branch 'react-pr' into lint-staged 2016-09-13 18:50:18 +02:00
Andrey Okonetchnikov
811da0f75e Merge pull request #77 from netlify/hmr
Enabled Hot Module Replacement
2016-09-13 18:47:09 +02:00
Andrey Okonetchnikov
7238d24ff1 Semicolons 2016-09-13 18:06:01 +02:00
Andrey Okonetchnikov
2b27718493 Enabled HMR for reducers 2016-09-13 18:05:20 +02:00
Andrey Okonetchnikov
2eb920173a Added link to the dashboard in the Header. Closes #49 2016-09-13 17:40:02 +02:00
Cássio Zen
e8fe7e0c80 layout adjustments 2016-09-13 12:32:26 -03:00
Andrey Okonetchnikov
eedc1e4d23 Removed console.log call 2016-09-13 17:11:30 +02:00
Andrey Okonetchnikov
3f4bc929e9 Enabled HMR 2016-09-13 17:08:51 +02:00
Cássio Zen
e783410a2d typo 2016-09-13 11:27:06 -03:00
Andrey Okonetchnikov
3deec4060f Fixed CSS code formatting 2016-09-13 16:06:06 +02:00
Andrey Okonetchnikov
056a14425f Removed unused import 2016-09-13 15:38:34 +02:00
Andrey Okonetchnikov
a1a6840826 Fixed formatting of the FindBar.js 2016-09-13 15:37:31 +02:00
Andrey Okonetchnikov
eb14200643 Fixed ESLint errors and warning that could be fixed with eslint --fix 2016-09-13 15:30:58 +02:00
Mathias Biilmann Christensen
42853f2af8 Handle formats better 2016-09-13 14:53:50 +02:00
Cássio Zen
911e3f7077 initialize editorialWorkflow state after config loaded & parsed 2016-09-13 04:29:30 -03:00
Cássio Zen
165c758bb9 Updated reducer for editorial workflow 2016-09-13 04:09:52 -03:00
Cássio Zen
f51525baaa edit unpublished content on EntryPage (through HOC) 2016-09-13 03:59:48 -03:00
Mathias Biilmann Christensen
7cd5d84fa5 Merge remote-tracking branch 'origin/react-pr' into react-ui-updates
Replaced dateFormat with moment

Conflicts:
	package.json
	src/backends/netlify-git/API.js
	src/containers/CollectionPage.js
	src/formats/formats.js
2016-09-12 15:35:56 +02:00
Mathias Biilmann Christensen
9ced3f16c8 Add a custom template to the example 2016-09-12 15:27:45 +02:00
Mathias Biilmann Christensen
8221c9c170 Maor UI polish for editing with live preview 2016-09-12 11:14:21 +02:00
Mathias Biilmann Christensen
fcd0ce718a Support for YAML content 2016-09-11 23:08:18 +02:00
Mathias Biilmann Christensen
bbbf3c5621 Add datetime widget 2016-09-11 23:07:48 +02:00
Mathias Biilmann Christensen
8d63ff0a88 Expose methods for installations to create custom preview components 2016-09-11 17:53:44 +02:00
Cássio Zen
c84d538eb6 editor workflow ui adjustments 2016-09-09 17:15:58 -03:00
Mathias Biilmann Christensen
c51f42658e Get rid of double connect in markdown control 2016-09-09 17:32:23 +02:00
Mathias Biilmann Christensen
102429aa5b Make preview pane render to an iframe 2016-09-09 17:31:59 +02:00
Cássio Zen
b6874152d9 unpublished items dashboard 2016-09-08 19:04:54 -03:00
Cássio Zen
04c50d8def editorial workflow HoC 2016-09-08 16:18:38 -03:00
Mathias Biilmann Christensen
1065bcf0cc Merge remote-tracking branch 'origin/react' into react-ui-updates 2016-09-08 20:47:11 +02:00
Mathias Biilmann Christensen
769d2bd284 Fix content type for file requests 2016-09-08 20:05:45 +02:00
Cássio Zen
90d4b39fc1 Load unpublished entries 2016-09-06 17:18:27 -03:00
Cássio Zen
76693c71bd typo 2016-09-06 15:18:48 -03:00
Cássio Zen
f0e608a209 Editorial Workflow skeleton 2016-09-06 13:04:17 -03:00
Cássio Zen
b0e62d1ca9 Refactor: Publish mode to publish 'workflow' 2016-09-05 18:56:03 -03:00
Cássio Zen
04db90710b Loading Animation 2016-09-05 18:28:07 -03:00
Cássio Zen
1c46474384 Loader component 2016-09-05 16:15:03 -03:00
Cássio Zen
626164a2f8 Lint 2016-09-05 16:13:41 -03:00
Cássio Zen
7d2ab1a45e Use urlfor params 2016-09-05 16:12:37 -03:00
Cássio Zen
77f5e1d6fa Merge branch 'react-pr' of https://github.com/netlify/netlify-cms into react-pr 2016-09-05 12:13:51 -03:00
Cássio Zen
e852991954 Storing more complete commit information on branch metadata 2016-09-05 12:12:38 -03:00
Mathias Biilmann Christensen
964e158a5f Fix semaphore implementation for only doing 10 concurrent fetches at a time 2016-09-04 20:55:05 +02:00
Mathias Biilmann Christensen
2980ba8565 Add netlify-git backend 2016-09-04 19:55:14 +02:00
Mathias Biilmann Christensen
e04b1e80c5 Make GitHub backend respect branch setting 2016-09-04 14:01:28 +02:00
Cássio Zen
4a55bb0296 create PR 2016-08-31 17:33:12 -03:00
Frances Berriman
55e1644711 Merge pull request #66 from netlify/apply-theme
Apply theme
2016-08-31 13:26:18 -07:00
Frances Berriman
8112a62010 Apply the correct shade of grey to header 2016-08-31 13:24:54 -07:00
Frances Berriman
d805cb67cb Add a bit of padding to inputs 2016-08-31 13:18:18 -07:00
Frances Berriman
c49cfc5fce Knock back tip text 2016-08-31 13:08:14 -07:00
Frances Berriman
74a0c8c602 Copy drag image style a bit more from ember version 2016-08-31 13:06:23 -07:00
Cássio Zen
1406d9225f Saving metadata as a custom ref 2016-08-31 16:41:29 -03:00
Frances Berriman
81e27632be Made the image upload button stand out as a drag target 2016-08-31 12:11:14 -07:00
Cássio Zen
a2420647d5 Metadata retrieving 2016-08-31 15:44:00 -03:00
Frances Berriman
bf87ac15b5 Make cards have h2s not h1s 2016-08-31 11:08:53 -07:00
Frances Berriman
ae2b7ad45c Match header styles 2016-08-31 11:05:03 -07:00
Frances Berriman
d972418dae Set main bg and foreground colours 2016-08-31 10:54:12 -07:00
Frances Berriman
01b113a1d6 Grabbed font declaration list 2016-08-31 10:53:31 -07:00
Frances Berriman
feb824b7a4 Match search bar to colour scheme 2016-08-31 10:49:46 -07:00
Frances Berriman
adeb42f58b Match header colours 2016-08-31 10:44:13 -07:00
Cássio Zen
2f635944fd Metadata saving 2016-08-31 13:30:14 -03:00
Cássio Zen
388cada3de On application mount, check/create metadata branch 2016-08-30 22:48:42 -03:00
Cássio Zen
672b43f153 branching refactor 2016-08-30 14:39:53 -03:00
Cássio Zen
c7544cc0a2 put public_folder config in parity with original ember version 2016-08-30 11:18:14 -03:00
Cássio Zen
a1c01323e0 branch commiting skeleton 2016-08-29 19:32:56 -03:00
Cássio Zen
704bc41b59 bugfix, closes #59 2016-08-29 17:26:47 -03:00
Cássio Zen
6eec0feb72 Small refactor preparing for branch creating/editing. Also closes #58 2016-08-29 17:09:04 -03:00
Cássio Zen
2b70893e89 content creation internal + test_repo implementations 2016-08-25 16:11:00 -03:00
Cássio Zen
b717874e7b Allow the creation of new entries 2016-08-24 21:37:22 -03:00
Cássio Zen
fd79381160 include mediaproxy block 2016-08-23 15:25:44 -03:00
Cássio Zen
b4f3a38bd5 Preview using MarkupIt 2016-08-18 17:26:01 -03:00
Cássio Zen
95fdba9953 plugin fields have with distinct name and label 2016-08-18 15:30:28 -03:00
Cássio Zen
e52ccc0dbc Editor plugin architecture skeleton 2016-08-18 15:13:22 -03:00
Cássio Zen
ae52a14cb1 plugin parsing for rich text editors 2016-08-18 10:51:38 -03:00
Cássio Zen
986e36c137 Pass plugins via context instead of using Redux store 2016-08-18 09:09:54 -03:00
Cássio Zen
a0a24ebf72 plugin architecture 2016-08-17 09:52:17 -03:00
Cássio Zen
dea734ec21 updated slate version 2016-08-17 09:52:06 -03:00
Cássio Zen
474abd8f78 Markdown editor switching 2016-08-11 18:21:32 -03:00
Cássio Zen
994d969247 Raw text editor (with markdown highlight) 2016-08-11 17:06:01 -03:00
Cássio Zen
7405ae8f63 Refactored the markdown visual/block editor into it's own component 2016-08-11 14:17:47 -03:00
Cássio Zen
2e40e12f18 Make images selectable on editor 2016-08-11 10:57:24 -03:00
Cássio Zen
5a4fe3c214 changed markdown serializer 2016-08-10 18:59:56 -03:00
Cássio Zen
efddf74404 Image Uploads 2016-08-08 18:51:53 -03:00
Cássio Zen
3b1590be72 Editor: Performance improvement 2016-08-08 14:39:54 -03:00
Cássio Zen
095b70890e Better approach to creating new paragraph after new block type 2016-08-06 18:57:24 -03:00
Cássio Zen
5fa551dcb2 Add/Remove link 2016-08-06 18:16:30 -03:00
Cássio Zen
baf388039e Block menu implementation 2016-08-05 13:19:31 -03:00
Cássio Zen
2334862083 Bugfix verifying list items block 2016-08-04 16:00:56 -03:00
Cássio Zen
36a344f34a refactor: moved styles menu to external component 2016-08-04 15:49:43 -03:00
Cássio Zen
62d6ece758 Floating button to add different block types 2016-08-03 18:39:00 -03:00
Cássio Zen
d7c7ba4cdc Icons for hover menu 2016-08-03 12:02:10 -03:00
Cássio Zen
246861a310 Added text editor icons from font awesome 2016-08-03 11:57:45 -03:00
Cássio Zen
a16a8ff20d Small refactor 2016-08-03 10:30:42 -03:00
Cássio Zen
08d5110d3a Hover menu 2016-08-02 23:25:45 -03:00
Cássio Zen
b1a56f60cd Custom block components + soft break handling 2016-08-02 16:37:37 -03:00
Cássio Zen
fb38de60d3 draftjs out, slate in 2016-08-01 16:41:55 -03:00
Cássio Zen
21c3d060ea Merge branch 'contentIntegration' into react 2016-08-01 16:09:46 -03:00
Cássio Zen
f5f9000303 merge 2016-08-01 16:09:26 -03:00
Cássio Zen
a9106b00b0 typo 2016-07-28 15:47:35 -03:00
Cássio Zen
5aea0f5f81 Card related refinments 2016-07-21 11:40:41 -03:00
Cássio Zen
bb817aa683 moved to hash history 2016-07-20 15:51:49 -03:00
Cássio Zen
d7324bd743 seting site_id automatically only for localhost 2016-07-20 13:46:52 -03:00
Cássio Zen
7345c7bd32 Generating findbar commands dynamically based on config 2016-07-20 12:15:29 -03:00
Cássio Zen
9f220181b3 Set mediaProxy objects as uploaded @ implementation 2016-07-19 19:42:37 -03:00
Cássio Zen
483fdb2643 MediaProxy upload 2016-07-19 18:56:54 -03:00
Cássio Zen
39c575b52d fix fetch params 2016-07-19 17:29:40 -03:00
Cássio Zen
1983ab4a1b changed auth scope 2016-07-19 17:28:27 -03:00
Cássio Zen
18ad041d96 Preparing for github file persistence 2016-07-19 17:11:22 -03:00
Cássio Zen
2277a9c479 bugfix: request cannot be bound to repo url 2016-07-18 16:09:35 -03:00
Cássio Zen
f7fb01e3cb refinments 2016-07-18 15:07:59 -03:00
Cássio Zen
b991b1af26 basepath config as singleton 2016-07-15 16:16:33 -03:00
Cássio Zen
e3643217de setting base href support for router 2016-07-15 15:05:04 -03:00
Cássio Zen
5d6eec28bb Layout refinments 2016-07-14 17:17:18 -03:00
Cássio Zen
2746d91e39 style update 2016-07-13 19:32:41 -03:00
Cássio Zen
f4b44c5661 layout adjustments 2016-07-13 17:20:41 -03:00
Cássio Zen
9e213c3b9f added key 2016-07-13 17:19:59 -03:00
Cássio Zen
350f9a12b7 typo 2016-07-13 17:19:26 -03:00
Cássio Zen
893533961f refinments on alltype card 2016-07-13 11:37:00 -03:00
Cássio Zen
e50fbfdeeb moved out scaled line css 2016-07-12 18:11:42 -03:00
Cássio Zen
ec85b95ef9 css refinments 2016-07-12 18:10:26 -03:00
Cássio Zen
7dcd8c3d64 On card image loaded, redistribute cards 2016-07-12 17:25:26 -03:00
Cássio Zen
ea9923e0c8 content Cards refactor 2016-07-12 17:04:21 -03:00
Cássio Zen
e9d72b07af AllType card line splitting and scaling 2016-07-12 17:03:22 -03:00
Cássio Zen
1741c12bea First CardUI commit 2016-07-11 18:57:54 -03:00
Cássio Zen
9a3a013b5b color adjustments 2016-07-08 14:14:37 -03:00
Cássio Zen
5cd8042819 remove icon for commands 2016-07-08 11:19:43 -03:00
Cássio Zen
eee6340879 Default commands option 2016-07-08 08:58:08 -03:00
Cássio Zen
6806154369 Accept custom classNames 2016-07-08 07:51:42 -03:00
Cássio Zen
a0fbf9b767 simulate redux-thunk 2016-07-08 07:31:35 -03:00
Cássio Zen
fd8038465e findbar integration 2016-07-08 07:24:46 -03:00
Cássio Zen
bee2169aa0 Command shape: id & propType validation 2016-07-08 07:20:07 -03:00
Cássio Zen
c7033a614e Command ids 2016-07-08 07:19:14 -03:00
Cássio Zen
b2740feef7 placeholder search page 2016-07-08 07:14:00 -03:00
Cássio Zen
b41bdf23cd lint 2016-07-08 07:12:52 -03:00
Cássio Zen
5be770ac00 Adding findbar to main app component 2016-07-08 05:58:23 -03:00
Cássio Zen
b0f26e7cd7 layout refinments 2016-07-08 05:58:06 -03:00
Cássio Zen
ad0a98b082 Styling adjustments 2016-07-08 05:57:06 -03:00
Cássio Zen
ed1acba830 typo fix 2016-07-07 19:23:39 -03:00
Cássio Zen
d4a8d847d0 styling 2016-07-07 19:22:07 -03:00
Cássio Zen
614a161454 styling 2016-07-07 19:21:10 -03:00
Cássio Zen
ebde4f0708 fix box-sizing application 2016-07-07 19:20:53 -03:00
Cássio Zen
003867d773 backspace also triggers menu 2016-07-07 17:14:09 -03:00
Cássio Zen
64ab7937e9 default placeholder 2016-07-07 17:02:00 -03:00
Cássio Zen
26a51807f6 Search command is now built into findbar 2016-07-07 16:56:12 -03:00
Cássio Zen
3b316f1034 Icon component using Entypo 2016-07-07 15:05:13 -03:00
Cássio Zen
923678d74f Accepts command with no parameter 2016-07-07 12:04:19 -03:00
Cássio Zen
238e671f4f small improvements 2016-07-07 11:26:34 -03:00
Cássio Zen
413abaef78 Storybook build 2016-07-06 20:01:50 -03:00
Cássio Zen
45de85d693 Named export for unextended FindBar component 2016-07-06 19:07:42 -03:00
Cássio Zen
bc68fe73b5 updated sample commands list 2016-07-06 18:51:57 -03:00
Cássio Zen
cbeb31d585 findbar action creator 2016-07-06 18:51:43 -03:00
Cássio Zen
7cf6b500d2 dispatching actions for complete commands 2016-07-06 18:41:57 -03:00
Cássio Zen
0e60e2720c Storyboard for FindBar 2016-07-06 18:10:36 -03:00
Cássio Zen
fb6fd4762b command scope interface 2016-07-06 18:10:13 -03:00
Cássio Zen
cc505a4025 Merge branch 'storybook' into react-find-bar 2016-07-06 15:51:43 -03:00
Cássio Zen
0a359f253e Implemented complete suggestion interface 2016-07-06 15:18:01 -03:00
Cássio Zen
409f0e2ec0 Added storybook stories 2016-07-05 15:48:18 -03:00
Cássio Zen
473357b6b7 start implementing findbar 2016-07-05 13:48:52 -03:00
Cássio Zen
44bf70a2ae Basic methods: compile regexp, match command, get suggestions 2016-06-30 18:12:23 -03:00
Cássio Zen
c6babdecff UI structure (basic cards + css modules setup) 2016-06-30 17:28:47 -03:00
Mathias Biilmann Christensen
5f0ec91015 Fix uppercase implementation 2016-06-30 17:28:47 -03:00
Cássio Zen
b9cee02758 eslint compliance on reducers & VOs 2016-06-30 17:28:47 -03:00
Cássio Zen
093bd264b6 eslint compliance on container components 2016-06-30 17:28:47 -03:00
Cássio Zen
37cf1ba52d eslint compliance on presentational components 2016-06-30 17:28:47 -03:00
Mathias Biilmann Christensen
a39307bd8b Add missing semicolon 2016-06-18 12:29:03 -07:00
Cássio Zen
3f11a93056 correct entity name 2016-06-16 17:50:36 -03:00
Cássio Zen
6ed7e78642 mediaFiles backend persistence structure 2016-06-10 18:48:38 -03:00
Cássio Zen
1700f98e4e Refactor on upload media data fow 2016-06-10 14:01:14 -03:00
Cássio Zen
1ba98fdb5a refactor: Creating Medias reducer 2016-06-10 00:16:01 -03:00
Cássio Zen
9275aaec90 Moved draft state for an entry (when in edit mode) to Redux 2016-06-08 11:18:34 -03:00
Cássio Zen
2d48743f37 moving string size check to helper lib 2016-06-07 21:33:12 -03:00