470 Commits

Author SHA1 Message Date
Shawn Erquhart
72a661d132 pass more contextual data to preview components 2017-07-10 15:01:01 -04:00
Shawn Erquhart
324340135b lengthen relation search debounce to reduce lag 2017-07-10 15:01:01 -04:00
Jerry Holmes
cc93ad87dc Encode URI of image path for card view vs. normalizePath replace (#474) 2017-07-10 10:36:07 -07:00
Drian Hillman
4c35e39a59 Refactors a portion to access this Data Structure more effectively 2017-07-03 20:37:19 -04:00
Drian Hillman
a8ebba2cf2 adds context to new list item button 2017-07-01 13:52:46 -04:00
Shawn Erquhart
66a683bef1 hide hidden widget in object and list controls 2017-06-28 16:12:35 -04:00
Shawn Erquhart
3a2e5eb988 refactor nested widget preview logic 2017-06-08 14:12:40 -04:00
Shawn Erquhart
3a7c45f34e fix list widget preview 2017-06-08 14:12:36 -04:00
Shawn Erquhart
d526c27669 fix object previews
The `widgetFor` functionality needs to be shared between
the object and list previews, as well as being exposed to
preview template authors, so deriving widget components
within the ObjectPreview is being removed in this commit.
2017-06-07 23:23:10 -04:00
Shawn Erquhart
0589934169 update file widget to match image widget 2017-06-07 23:23:10 -04:00
Shawn Erquhart
3176fa1b3f fix entry editor bugs in kitchen sink entry 2017-06-07 23:23:09 -04:00
abumalick
e388ed1721 warnings/map>key related warnings 2017-06-05 13:56:25 -07:00
abumalick
38cb065570 warnings/widgets: forID is not required + typo 2017-06-05 13:56:25 -07:00
abumalick
e23f7e69dd warnings/proptypes: use oneOfType to support object and string 2017-06-05 13:56:25 -07:00
Shawn Erquhart
1440caf3d0 fix rte scroll handler firing on child scroll 2017-05-24 17:02:13 -07:00
Shawn Erquhart
2a1e9b40b9 Merge pull request #395 from netlify/visual-tweaks
Small update to the UI's look and feel
2017-05-18 11:26:19 -04:00
Shawn Erquhart
62a8de98da improve theme color control via variables 2017-05-18 11:12:37 -04:00
David Francoeur
aac5339ac0 boolean widget & some documentation (#396) 2017-05-18 07:37:41 -07:00
Rafael Conde
3a78626900 Tweak cards on Editorial Workflow 2017-05-18 10:29:21 +01:00
Jerry Holmes
635d218b01 Shorted up code, removed antipattern test items from local storage. 2017-05-17 08:55:19 -07:00
Jerry Holmes
31a610e22e Tests left over field value for null 2017-05-17 08:55:19 -07:00
Shawn Erquhart
b01be5d04c fix preview pane not loading 2017-05-16 13:25:32 -04:00
Shawn Erquhart
032e1f9d77 fix notification style bugs 2017-05-13 10:16:08 -04:00
Rafael Conde
e2120910f6 Update border on image widget, tweak the copy 2017-05-11 08:45:19 -07:00
Rafael Conde
cb45997c24 Increase contrast of popovers on editor 2017-05-10 08:58:21 -07:00
Rafael Conde
7fd8556ba5 Increased contrast on borders 2017-05-10 08:44:42 -07:00
Benaiah Mischenko
ab47c3c8b3 Use react-frame-component for preview pane
This fixes the preview pane not working in Firefox
2017-05-08 16:48:52 -07:00
Shawn Erquhart
3ee5a5e172 update rich text toolbar styling 2017-05-05 12:58:42 -04:00
Rafael Conde
515a08d4d7 Tweak border colors 2017-05-05 12:58:12 -04:00
Rafael Conde
996f5a36d4 Add border to bottom bar and widget 2017-05-05 12:58:12 -04:00
Shawn Erquhart
e21a33986f further improve ui contrast and consistency 2017-05-05 12:58:11 -04:00
Rafael Conde
5adbecad77 Increase contrast and focus of input fields 2017-05-05 12:57:41 -04:00
Rafael Conde
a6c8a11223 Make search bar smaller 2017-05-05 12:49:03 -04:00
Rafael Conde
a1a9ebe437 Add back the dark header 2017-05-05 12:49:03 -04:00
Rafael Conde
19f34c81d2 Change to dark sidebar 2017-05-05 12:49:03 -04:00
Rafael Conde
ff2a045192 Apply changes proposed by review 2017-05-05 12:49:03 -04:00
Rafael Conde
6492eea1c8 Make card take available space in grid 2017-05-05 12:49:03 -04:00
Rafael Conde
1c95b5ee1d Update editor look and downplay header 2017-05-05 12:49:03 -04:00
Rafael Conde
8a9370fb0c Tweak header and card grid 2017-05-05 12:49:03 -04:00
Rafael Conde
9c1a41f61d Add hover effect on cards 2017-05-05 12:49:02 -04:00
Rafael Conde
de5f9bc708 Clean up basic colors and type 2017-05-05 12:49:02 -04:00
Shawn Erquhart
d0ee10a681 Merge pull request #394 from netlify/text-editor-scroll
prevent rte scroll, improve code display
2017-05-03 17:10:24 -04:00
Joseph Earl
bfe46a8e13 Fixes #324 Use branch name from config when creating PR 2017-05-01 08:17:46 -07:00
Shawn Erquhart
fdd44c88cb prevent rte scroll, improve code display 2017-04-28 15:40:54 -07:00
Benaiah Mischenko
9cdc39154a Prevent long code lines from breaking visual entry editor
Previously, long lines of preformatted text would cause the lines to
run off the side of the ProseMirror edit box and give the entire entry
editor a scrollbar. This commit makes the edit box itself scroll,
which looks and feels much less broken.
2017-04-26 12:23:37 -07:00
Shawn Erquhart
7a66dd4dcb remove superfluous rawMode editor prop 2017-04-24 22:39:37 -04:00
Shawn Erquhart
902134c4e8 add autosizing for markdown editor 2017-04-24 17:52:06 -04:00
Shawn Erquhart
ba2f092dc3 document Sticky microlib 2017-04-24 17:52:06 -04:00
Shawn Erquhart
9ff4e25736 move editor components to dropdown menu 2017-04-24 17:52:06 -04:00
Shawn Erquhart
fdd85486d8 update Toolbar proptypes 2017-04-24 17:52:06 -04:00
Shawn Erquhart
a3b487aaeb use React Toolbox Switch for rte mode selection 2017-04-24 17:52:06 -04:00
Shawn Erquhart
1a12c6f5aa fix rte markdown toggle position for small screens 2017-04-24 17:52:06 -04:00
Shawn Erquhart
86b7b84637 fold ToolbarPlugins into Toolbar 2017-04-24 17:52:06 -04:00
Shawn Erquhart
b8dce2fb4b split out ToolbarPluginForm 2017-04-24 17:52:05 -04:00
Shawn Erquhart
dd29658abb split out ToolbarPluginFormControl 2017-04-24 17:52:05 -04:00
Shawn Erquhart
63e916ee2a check for sticky ref before update 2017-04-24 17:52:05 -04:00
Shawn Erquhart
c7d3de0fc8 use ToolbarButton for plugins 2017-04-24 17:52:05 -04:00
Shawn Erquhart
c5d9f44de2 split out ToolbarButton component 2017-04-24 17:52:05 -04:00
Shawn Erquhart
5d839e8410 fix sticky toolbar width 2017-04-24 17:52:05 -04:00
Shawn Erquhart
a1a693051c improve preview toggle styling 2017-04-24 17:52:05 -04:00
Shawn Erquhart
192afe2ec5 make markdown toggle purpose more obvious
The "< >" button on the toolbar should format selected
text as code, but its serving as a visual mode toggle.
This commit switches out the code icon for a text label,
and moves it to the right side of the rich text toolbar.
2017-04-24 17:52:05 -04:00
Shawn Erquhart
de900eeb39 reposition properly when new sticky inserted 2017-04-24 17:52:05 -04:00
Shawn Erquhart
fc5d935e53 use Context for sticky, support multiple stickies 2017-04-24 17:52:05 -04:00
Shawn Erquhart
ec29a04089 implement initial working sticky rte toolbar 2017-04-24 17:52:05 -04:00
Shawn Erquhart
33fe2b820c add active state to rich text raw toggle 2017-04-24 17:52:04 -04:00
Shawn Erquhart
b2fd96c12e condense rich text functionality to static toolbar 2017-04-24 17:52:04 -04:00
Shawn Erquhart
d250b1cef3 fix list item deletion 2017-04-20 15:22:04 -04:00
Joseph Earl
684fd1c490 Fixes 358 Save bar stuck 2017-04-14 21:30:49 +01:00
Shawn Erquhart
2047fda27c Merge pull request #360 from marzeelabs/feature/#359_list_children_metadata
#359 - Handle metadata for all children of a list field
2017-04-14 12:59:08 -04:00
Joseph Earl
e2f471e863 Remove webpack footer 2017-04-14 13:56:24 +01:00
Joseph Earl
881c0b0958 Fixes #113 Add ability to disable editor preview for a collection 2017-04-14 13:26:09 +01:00
Luis Correia
b75f86f4c2 #359 - Delete metadata by key of deleted value (previously harcoded) 2017-04-13 12:45:32 +01:00
Luis Correia
805f958165 #359 - Handle metadata for all children of a list field 2017-04-13 11:02:06 +01:00
Shawn Erquhart
4752a1f150 add styling for preview toggle 2017-04-05 12:43:18 -04:00
Americool
948158cda3 small fixes changed PREVIEW_STATE to PREVIEW_HIDE 2017-04-05 12:42:30 -04:00
Americool
1f5db5ab3c adding close preview 2017-04-05 12:42:30 -04:00
Shawn Erquhart
71e683f5bf Fix logout for Firefox
The log out menu was nested within a button, which caused
bubbling issues for the log out button event handler. This
was due to a misuse of the React Toolbox AppBar component.
Added a proper IconMenu to trigger the logout dropdown.
2017-03-31 15:47:55 -04:00
Benaiah Mischenko
c079cb96c4 Label cards in editorial workflow 2017-03-20 17:02:52 -07:00
Shawn Erquhart
b3ce95057e fix preview pane height in Safari 2017-03-20 12:33:04 -04:00
Shawn Erquhart
3096b4617e improve entry editor UI 2017-03-15 21:18:16 -04:00
Shawn Erquhart
705e348138 update sidebar styling, add new entry links (#276)
* udpate sidebar styling, add new entry links

* make sidebar new entry links always visible

* simplify app bar implementation, findbar
2017-03-15 11:32:41 -07:00
americool
3c7b8d2322 delete button working (#274)
Fixes #274.
2017-03-11 10:47:36 -08:00
Shawn Erquhart
ff8b420777 remove leading underscore from getWidget method 2017-03-06 19:38:21 -05:00
Shawn Erquhart
e48221a04f add shared widget getter for widgetFor and widgetsFor 2017-03-06 15:22:40 -05:00
Shawn Erquhart
9bc80ed5e4 add object support to widgetsFor 2017-03-06 13:30:40 -05:00
Shawn Erquhart
9dca9f912a add widgetsFor helper
This allows individual widgets to be accessed
from preview templates that handle lists
2017-03-06 12:28:40 -05:00
Cássio Zen
507b4cb957 Don't try to validate hidden fields 2017-01-31 17:09:45 -02:00
Cássio Zen
4dd0c0ccb5 Bugfix: Images not appearing on search 2017-01-19 16:34:13 -02:00
Cássio Souza
0e10c3f984 Local search (#220)
* Version Bump

* local search skeleton

* Added WaitService middleware

* Return matching queries

* wait action middleware rename/refactor

* bigger debounce time

* Fix: Initialize state using Immutable

* Local Search without integrations

* Local Search refactor: Keep state in closure, recurse

* “string” should be treated as the default widget by the inference. Closes #199
2017-01-19 15:50:26 -02:00
Cássio Zen
f5d1fa7314 Makes input fields easier to click. Closes #173 2017-01-19 14:26:49 -02:00
Cássio Zen
11f7c1e047 bugfix in proptype 2017-01-16 16:52:59 -02:00
Cássio Zen
7b755d5839 Bugfix: List with basic string should call onChange 2017-01-16 16:52:24 -02:00
Cássio Zen
63ae669507 more variety of presence check 2017-01-16 16:51:53 -02:00
Cássio Souza
3306670459 Validation (#216)
* Field config options: 'required' and 'pattern'
* Widget controls can implement it's own isValid
* Validation errors store in redux & displayed
* Support for returned Promises in isValid
* Allow widget controls to return either a boolean, an error object or a promise from isValid
2017-01-13 19:30:40 -02:00
Cássio Zen
4f2dc92bfe Block save/publish buttons while processing 2017-01-11 22:36:49 -02:00
Cássio Souza
48d8077ff0 Editorial workflow Improvements (#212)
* Merge conflicts automatically. Closes #208
* removed unpublished entry route
All entries (either under editorial workflow or not) go through the same edit route.
2017-01-11 20:58:15 -02:00
Cássio Souza
a4d7622ade Asset API (#204)
Asset API
2017-01-10 22:23:22 -02:00
Cássio Zen
37f690fc44 List only collections where new entries are allowed. Closes #206 2017-01-05 13:43:37 -02:00
Mathias Biilmann
112bdd348a Merge pull request #198 from netlify/prosemirror-polishing
An assortment of Markdown Editor fixes
2016-12-30 09:49:36 -08:00
Mathias Biilmann Christensen
544fc210ce Fix error in markup render test 2016-12-30 09:45:44 -08:00
Cássio Souza
ddfdc59941 Add metadata to draft entry fields (#196)
* Add metadata to draft entry fields
* Do not render widget if value is null
* Pass along metadata
* Namespace queries to avoid conflict
* Query relational field on mount (for when editing entries)
* Make sure metadata is Immutable
* Added collection name  as metadata keys
2016-12-29 17:18:24 -02:00
Mathias Biilmann Christensen
b8e04f72a3 Treat lists as tight in code mirror so we don't get Ps inside them 2016-12-27 23:19:00 -08:00
Mathias Biilmann Christensen
75100eaa3a Support for drag and drop image uploads in both rte and raw editor mode 2016-12-27 23:18:37 -08:00
Mathias Biilmann Christensen
2ed2160c92 Persist richtext vs raw setting in localstorage 2016-12-27 23:17:33 -08:00
Mathias Biilmann Christensen
1e1ec76407 Make MarkupItReactRenderer use media proxies when rendering image paths 2016-12-27 23:16:46 -08:00
Mathias Biilmann Christensen
06218e55eb Update prosemirror 2016-12-27 23:13:31 -08:00
Cássio Souza
1efc59a9fb Netlify auth (#194) 2016-12-23 16:59:48 -02:00
Cássio Souza
635049b8db Resizable split pane (#190)
* Integrating with react-split-pane

* block event while resizing panels

* bring scrollsync back

* fixed footer position
2016-12-12 19:23:52 -02:00
Cássio Souza
05337ff232 Relation search widget (#186)
* search action/reducer refactor

* Relation widget skeleton

* search clearing

* query action + reducer

* Autocomplete component for RelationControl
2016-12-07 15:44:07 -02:00
Cássio Zen
4f6f4bfae9 Output code tag around pre. Closes #181 2016-12-02 19:58:44 -02:00
Cássio Zen
db58c1216b Temporarily disabling some Find Bar functionalities 2016-12-02 19:25:38 -02:00
Cássio Zen
21073f3f15 Clean state after search command. Closes #124 2016-12-02 17:55:31 -02:00
Cássio Zen
782c386d3e Widget should set default values through onChange
Otherwise, default value may not get persisted
2016-12-01 16:28:33 -02:00
Cássio Souza
047f84405a Entry Draft Refactor (#178) 2016-11-30 16:52:17 -02:00
Cássio Zen
aea6d38121 Limit responsive images in default preview to maxWidth 100% 2016-11-30 15:56:54 -02:00
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
43c93dff26 Inject base target to '_blank' on preview iframe. Closes #172 2016-11-29 15:18:25 -02: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
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
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
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 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
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
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
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
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
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
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