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
Cássio Zen
a1f15da39f
global config for header padding
2016-10-20 10:48:09 -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 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
3b18fb4f87
Added visual feedback during saving of the entry. Related to #101
2016-10-13 14:31:44 +02:00
Andrey Okonetchnikov
5e333aca20
Removed obsolte snapshot
2016-10-13 11:55:46 +02:00
Andrey Okonetchnikov
4c5e72a2eb
Updated MarkitupReactRenderer test
2016-10-12 15:52:41 +02:00
Andrey Okonetchnikov
190aa05d68
Use react-toolbox buttons. Added Cancel button for the entry editor.
2016-10-11 18:27:37 +02:00
Andrey Okonetchnikov
03ac8fcaed
Use a correct propType
2016-10-11 11:34:28 +02:00
Andrey Okonetchnikov
4da6c9708a
Added propTypes to AppHeader and fixed ESLint errors.
2016-10-11 10:47:47 +02:00
Andrey Okonetchnikov
e0160af9c6
Merge branch 'master' into markitup-react
2016-10-11 10:41:51 +02:00
Andrey Okonetchnikov
0dd8ad46b9
Merge pull request #94 from netlify/ui-cleanup
...
Better AppHeader
2016-10-11 10:30:59 +02:00
Andrey Okonetchnikov
899681ee84
Merge branch 'master' into markitup-react
2016-10-11 10:28:42 +02: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
b5849cd472
Removed logo
2016-10-06 15:13:31 +02:00
Andrey Okonetchnikov
a4dea8ac7a
Added logo as a link to dashboard. Cleaned up AppHeader a bit visually.
2016-10-05 18:55:35 +02:00
Andrey Okonetchnikov
b95bb595f7
Implement ScrollSync component for sync scroll between containers
2016-10-04 17:58:26 +02:00
Andrey Okonetchnikov
ca34def49e
Merge branch 'master' into markitup-react
2016-10-03 17:00:11 +02:00
Andrey Okonetchnikov
5ba0c46aee
Merge branch 'master' into class-properties-initializers
2016-10-03 16:41:15 +02:00
Andrey Okonetchnikov
9e8bdb18b9
Added missing semicolons to class properties
2016-10-03 16:37:11 +02:00
Cássio Souza
9838660c0c
UI small adjustments & refinments ( #87 )
...
* UI small adjustments & refinments
* Removed autohide navbar
2016-10-03 11:18:58 -03:00
Andrey Okonetchnikov
4010a16a76
Use static propTypes class property
2016-10-03 14:33:48 +02:00
Andrey Okonetchnikov
382b1537b0
Use ES7 class properties initializers
2016-10-03 14:25:27 +02:00
Andrey Okonetchnikov
7fde1e811a
Re-written Preview as a functional component. It also re-uses widgetFor
prop to get widgets.
2016-09-30 16:38:10 +02:00
Andrey Okonetchnikov
f1eb93ee7f
Moved PreviewPane to a separate directory. Extracted Preview component to a separate file.
2016-09-30 16:25:15 +02:00
Andrey Okonetchnikov
edf8abbc42
Implemented scroll sync from control pane to the preview pane.
2016-09-29 22:17:29 +02:00
Andrey Okonetchnikov
841772496a
Moved EntryEditor to a separate directory
2016-09-29 19:02:28 +02:00
Andrey Okonetchnikov
e644104542
Added drag'n'drop image adding to VisualEditor.
...
Removed StylesMenu and BlockTypesMenu positioning code since it didn't work
with adding images using DnD.
2016-09-29 18:53:47 +02:00
Andrey Okonetchnikov
e454144d31
Use HoC withPortalAtCursorPosition
for StylesMenu and BlockTypesMenu to DRY
2016-09-29 18:51:39 +02:00
Andrey Okonetchnikov
cfc8be3f36
Removed console.log call
2016-09-29 18:48:23 +02:00
Andrey Okonetchnikov
47512001ec
Implement image uploading for the raw editor
2016-09-28 14:05:51 +02:00
Andrey Okonetchnikov
0a3676204e
Localized CSS
2016-09-28 12:46:39 +02:00
Andrey Okonetchnikov
d09e9b40e4
Updated styles for entry page layout.
...
This removes the need for resize handlers and height calc anymore.
Re-written the component in a functional way.
2016-09-28 12:24:17 +02:00
Andrey Okonetchnikov
2b5a987945
WIP on drag'n'drop image uploading
2016-09-28 11:19:12 +02:00
Andrey Okonetchnikov
4020dfc912
Refactored MarkdownControl to not use constructor and simplified render method
2016-09-27 13:08:25 +02:00
Andrey Okonetchnikov
107e8f7104
Moved MarkupItReactRenderer to /components. Added a story for it.
2016-09-27 12:57:41 +02:00
Andrey Okonetchnikov
78eb65bca2
Renamed component
2016-09-27 12:24:52 +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
05913d4a1b
Omit not allowed attributes instead of white-listing them
2016-09-27 11:33:28 +02:00
Andrey Okonetchnikov
e0724aa1bd
Use react-htmlparser2 to render HTML to React VDOM
2016-09-27 11:26:28 +02:00
Andrey Okonetchnikov
0a9eb3d688
Fixed a typo
2016-09-27 11:14:41 +02:00
Andrey Okonetchnikov
71c638bc27
Integrated MD Preview component with mediaproxy
2016-09-26 15:59:49 +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
af8ea80142
Added support for custom renderers
2016-09-26 13:31:36 +02:00
Andrey Okonetchnikov
20e681e7ec
Added support for rendering inlined HTML in MD documents
2016-09-26 13:18:22 +02:00
Andrey Okonetchnikov
1860a2389d
Use Immutable data structure without converting to JSON for speed and profit. Added more tests.
2016-09-23 19:56:35 +02:00
Andrey Okonetchnikov
57688af42e
Support more elements. Import dicitonaries from markup-it. Added more tests.
2016-09-22 22:34:43 +02:00
Andrey Okonetchnikov
9392fdbe30
Integrated MarkitupReactRenderer with Preview pane
2016-09-22 21:53:57 +02:00
Andrey Okonetchnikov
04c9780ee1
Better implementation
2016-09-22 21:53:11 +02:00
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
d351f10a9b
Fixed formatting of richText.js
2016-09-22 10:03:02 +02:00
Cássio Zen
d7363f276e
Removed “AppHeader” and “FindBar” from UI
2016-09-19 15:52:20 -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
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
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
Andrey Okonetchnikov
357bcb18cc
Merge branch 'react-pr' into lint-staged
2016-09-13 18:50:18 +02:00
Cássio Zen
e8fe7e0c80
layout adjustments
2016-09-13 12:32:26 -03:00
Cássio Zen
e783410a2d
typo
2016-09-13 11:27:06 -03: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
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
Mathias Biilmann Christensen
1065bcf0cc
Merge remote-tracking branch 'origin/react' into react-ui-updates
2016-09-08 20:47:11 +02:00
Cássio Zen
76693c71bd
typo
2016-09-06 15:18:48 -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
Frances Berriman
55e1644711
Merge pull request #66 from netlify/apply-theme
...
Apply theme
2016-08-31 13:26:18 -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
Frances Berriman
81e27632be
Made the image upload button stand out as a drag target
2016-08-31 12:11:14 -07:00
Frances Berriman
bf87ac15b5
Make cards have h2s not h1s
2016-08-31 11:08:53 -07: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
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
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
18ad041d96
Preparing for github file persistence
2016-07-19 17:11:22 -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
6806154369
Accept custom classNames
2016-07-08 07:51:42 -03:00
Cássio Zen
3b316f1034
Icon component using Entypo
2016-07-07 15:05:13 -03:00
Cássio Zen
0e60e2720c
Storyboard for FindBar
2016-07-06 18:10:36 -03:00
Cássio Zen
409f0e2ec0
Added storybook stories
2016-07-05 15:48:18 -03:00
Cássio Zen
c6babdecff
UI structure (basic cards + css modules setup)
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
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
Cássio Zen
327cb883ee
Refinment: truncate in middle
2016-06-07 21:27:34 -03:00
Cássio Zen
d5da853db1
Only create ImageProxy if there's a value prop
2016-06-07 21:04:40 -03:00
Cássio Zen
0cf5dc141a
in memmory persistence for test-repo
2016-06-07 20:15:28 -03:00
Cássio Zen
8d7f5702e5
Added onRemoveMedia callback
2016-06-07 11:38:19 -03:00
Cássio Zen
83d03c63ec
persistence draft
...
Persisting individual media file objects
2016-06-07 01:20:54 -03:00
Cássio Zen
3e80bab1f6
Consistent display of pre-existent filenames and user uploaded filenames
2016-06-06 11:04:46 -03:00
Cássio Zen
6ce5721cd2
Back to original file formatting
2016-06-06 11:04:10 -03:00
Cássio Zen
139b86c268
render props.value straight
2016-06-06 10:41:55 -03:00
Cássio Zen
70a3d99ac1
Maps an image file DOMString to its toString function
...
(So the File can be used straight into an image tag)
2016-06-06 10:40:11 -03:00
Cássio Zen
0f1b95f262
typos
2016-06-05 23:37:19 -03:00
Cássio Zen
ade51b27fc
Support for image preview & drag and drop
2016-06-05 23:22:12 -03:00
Mathias Biilmann Christensen
32e54cdbdc
Load, display and edit entries from test repo and github
2016-06-05 01:52:18 -07:00
Mathias Biilmann Christensen
7601d3f5a1
Cleanup
2016-05-30 17:13:40 -07:00
Mathias Biilmann Christensen
ba8febd107
fix naming of entry page
2016-05-30 17:08:30 -07:00
Mathias Biilmann Christensen
d2aa1adf7b
Basic editing with some widgets
2016-05-30 16:55:32 -07:00
Mathias Biilmann Christensen
978b7290c5
Test repo can now be used to list entries
2016-02-25 20:40:35 -08:00