506 Commits

Author SHA1 Message Date
Damien Duhamel
8849953b50 fix image form not displaying when added as first item in markdown widget 2017-12-21 14:35:30 -05:00
Shawn Erquhart
a1b947a23e fix markdown widget re-rendering on load 2017-12-21 14:20:23 -05:00
Caleb
035b02bd24 Abstract notif component for auth pages. 2017-12-20 08:52:55 -07:00
Shawn Erquhart
4721f12c9f fix infinite scrolling for collections with integrations 2017-12-19 12:24:53 -05:00
Shawn Erquhart
11ee874d6f remove obsolete test 2017-12-14 15:49:13 -08:00
Caleb
a0f928dd49 Update snapshots. 2017-12-14 15:49:13 -08:00
Shawn Erquhart
78ad082021 update markdown mark hotkeys to use isHotkey 2017-12-14 14:59:59 -08:00
Shawn Erquhart
7c9c765c28 use is-hotkey in slate plugin checks 2017-12-14 14:59:59 -08:00
Shawn Erquhart
d321b9eb6d use isHotkey for markdown keydown listener 2017-12-14 14:59:59 -08:00
Shawn Erquhart
1608b5e52a remove outmoded code from markdown widget hotkeys 2017-12-14 14:59:59 -08:00
Damien Duhamel
99ee5e2f9a Check next in condition 2017-12-14 14:59:59 -08:00
Damien Duhamel
fba6929301 Change historyOfTypeIsValid condition 2017-12-14 14:59:59 -08:00
Damien Duhamel
9e5f42e772 Update slate plugin to drop data 2017-12-14 14:59:59 -08:00
Damien Duhamel
515dde1dfe Fix #783 duplicate uploading same asset name (#853) 2017-12-14 09:44:13 -08:00
Caleb
43a6c6ff15 Fix select widgets with object type options. 2017-12-14 08:25:23 -08:00
Shawn Erquhart
051257aa12 eliminate prop type and validation console warnings 2017-12-07 15:38:06 -05:00
Mathias Biilmann Christensen
de7454ad1e Fix position of editor view controls
These were so far off to the right tht they got cut off by the screen.
This aligns them with the user icon
2017-12-07 13:16:59 -05:00
Shawn Erquhart
cfbf31b130
WIP - Global UI (#785)
* update top bar and collections sidebar UI

* update collection entries UI

* improve global layout

* merge search page into collection page

* enable new entry button

* search fixup

* wip -initial editor update

* update editor scrolling and markdown toolbar position

* wip

* editor toolbar progress

* editor toolbar wip

* finished basic editor toolbar

* add standalone toggle component

* improve markdown toolbar spacing

* add user avatar placeholder

* finish markdown toggle styling

* refactor icon setup, add new icons

* add new icons to markdown editor toolbar

* remove extra app container

* add markdown active mark style

* relation and text widget styling

* widget design updates, basic list/object design update

* widget style updates, image widget improvements

* refactor widget directory, fix file removal

* widget focus styles

* finish editor widget focus styles

* migrate media library modal to react-modal

* wip - migrate editor component form to modal

* wip - move editor component form to modal

* wip - embed plugin forms in the editor

* inline shortcode forms working

* disable react hot loading, its breaking things

* improve shortcode form styles

* make shortcode form collapsible, improve styling

* add close functionality to shortcode blocks

* improve base media library styling

* fix shortcode label

* migrate unstyled workflow to new UI

* wip - reorganizing everything

* more work moving everything

* finish more moving and eliminating stuff

* restructure, remove react-toolbox

* wip - removing old stuff, more restructure

* finish restructure

* wip - css arch

* switch back to test repo

* update react-datetime to ^2.11.0

* remove leftover react-toolbox button

* more restructuring clean-up

* fix UI component directory case

* wip -css editor control style

* wip - consolidate widget styles

* wip - use a single control renderer

* fixed object values breaking

* wip - editor control active styles

* pass control wrapper to widgets

* ensure branch name is trimmed

* wip - improve widget authoring support

* import Map to Widget component

* refactor toolbar buttons

* wip - more widget active styles

* break out editor toggle component

* add local scroll sync back

* update editor toggle icons

* limit editor control pane content width

* fix editor control spacing

* migrate markdown toolbar stickiness to css

* fix markdown toolbar border radius

* temporarily use test backend

* stop markdown toolbar from going to bottom

* restore disabled markdown toolbar buttons for raw

* test markdown widget without focus styles

* more widget updates

* remove card visuals from editor

* disable dragging editor split off screen

* use editorControl component for shortcode fields

* make header site link configurable

* add configurable collection descriptions

* temporarily add example assets

* add basic list view

* remove outdated css mixins

* add and implement search icon

* activate quick add menu

* visualize usable space in editor view

* fix entry close, other improvements

* wip - editorial workflow updates

* some dropshadow and other CSS tweaks

* workflow ui updates

* add worfklow card buttons

* fix workflow card button handlers

* some dropshadow and other CSS tweaks

* make workflow board wider

* center workflow and collection views

* add basic responsiveness

* a bunch of fun UI fixes! a BUNCH! (#875)

* give `.nc-entryEditor-toolbar-mainSection` left and right child divs

* a bunch of fun UI fixes! a BUNCH!

* remove obscure --buttonShadow

* revert to test repo

* fix not found page styling

* allow workflow publishing from any column

* disallow publishing from all columns, with feedback

* fix new entry button

* fix markdown state persisting across entries

* enable simple workflow save and new from editor

* update slug in address bar when saving new entry

* wip - workflow updates, deletion working

* add status change functionality to editor

* wip - improving status change from editor

* editor toolbar back button improvements, loading improvements, cleanup

* progress on the media library UI cleanup

* remove font smothing css

* a quick fix for these buttons

* tweaks

* progress on media library modal— broken FYI

* fix media library functionality, finish migrating footer

* remove media library footer files

* remove leftover css import

* fix media library

* editor publishing functionality complete (unstyled)

* remove leftover loader var from media library

* wip - editor publishing styles

* add status dropdown styling

* editor toolbar style updates

* editor toolbar state improvements

* progress on the media library UI cleanup, style improvements

* finish editorial workflow editor styling

* finish media library styling

* fix config

* add what-input to optimize focus styling

* fix button

* fix navigation blocking for simple workflow

* improve simple workflow publishing

* add avatar dropdown to editor top bar

* style github and test-repo auth pages

* add git gateway auth page styles

* improve editor error styling
2017-12-07 12:37:10 -05:00
Shawn Erquhart
9b2e51d75d fix slate mark rendering 2017-12-06 01:02:41 -05:00
Damien Duhamel
2e7e66dc29 Fixes #846 Backspace removes empty blocks (#854)
* Fixes backspace remove empty block

* rename data to event
2017-11-30 12:09:13 -05:00
Shawn Erquhart
0caae558f9 handle when a date/datetime field is updated to empty 2017-11-27 22:41:47 -05:00
Shawn Erquhart
a7ad6d570e allow empty default date value 2017-11-27 22:25:00 -05:00
Shawn Erquhart
1a7c999f12 simplify date time initial value set 2017-11-27 22:25:00 -05:00
Benaiah Mischenko
b5b7fab2a7 Coerce includeTime to a boolean 2017-11-27 22:25:00 -05:00
Benaiah Mischenko
d6c0505c49 Fixes for date formatting PR 2017-11-27 22:25:00 -05:00
Mathias Biilmann Christensen
688332410c Keep old behevior if no format attribute is set on date widgets 2017-11-27 22:25:00 -05:00
Mathias Biilmann Christensen
704f1144ed Make date and datetime widget respect format attribute 2017-11-27 22:25:00 -05:00
Shawn Erquhart
5647b5c3c2 update slate snapshots 2017-11-27 12:08:40 -05:00
Shawn Erquhart
9342c9c064 fix slate migration bugs 2017-11-27 12:08:40 -05:00
Shawn Erquhart
1bbaebf6d5 disable slate-edit-table plugin until updated 2017-11-27 12:08:40 -05:00
Shawn Erquhart
63d2b09b09 Update Slate to 0.29.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
c9e97b5c7e Update Slate to 0.28.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
ff0b8d4ca8 Update Slate to 0.27.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
9569f18ee4 add private media library for integrations 2017-11-19 02:13:27 -05:00
Shawn Erquhart
2a9697db0a fix image filtering case sensitivity 2017-11-15 12:42:03 -05:00
Shawn Erquhart
a4ff229e37 fix ControlHOC ref for redux container widgets
If a widget uses `connect` to receive state updates from the store,
`ControlHOC` can no longer get the control instance ref. This fix
checks for this case and uses a connect option to obtain the wrapped
control ref.
2017-11-11 21:42:15 -05:00
Shawn Erquhart
b3af4e86cb add generic error boundary, apply to preview iframe 2017-11-11 10:35:03 -05:00
Benaiah Mischenko
e00c396697 Add unselected option to select widget when no default is set 2017-11-11 10:33:40 -05:00
Jinksi
7d1998c3d6 Add background-color to ListControl 2017-11-08 16:36:45 -05:00
Shawn Erquhart
6b45a46a39 add media library
* rebase editorial workflow pull requests when behind

* fix async/await transpilation

* add media library pagination

* switch media library to grid layout

* ensure that only cms branches can be force updated
2017-11-08 15:00:28 -05:00
pjsier
2a4af64a71 Turn off style toggle on Enter 2017-11-07 14:09:56 -05:00
Eric Jinks
b2d93ef729 Add ScrollSync Button to Preview UI (#693)
* Add ScrollSync Button

* Create <ToggleButton /> component && update CSS

* Swap Icons && fix formatting
2017-10-26 12:26:42 -07:00
Caleb
daa5395346 Fix tests for React 16. 2017-10-26 14:04:31 -04:00
Aquib Master
c97856c71d Flash an error on save when required fields are missed
- Add error type constants
- Flash an error message when the user saves without completing all required fields
- Surface presence errors
2017-10-26 13:58:37 -04:00
Benaiah Mischenko
b501db7239 Fix ListControl collapsing bug (#738) 2017-10-25 16:28:34 -07:00
Caleb
b9fdaec8b7 Fix history warning when opening entry.
When clicking on a entry in the listing, a console error would be logged
by `history` (react-router): "Hash history cannot push state; it is
ignored". This was caused because using `bind` in the click handler
caused the return value to be passed to the `history.push` as the second
param. This was ignored in react-router v2, but gives a warning in v4.
2017-10-24 20:33:37 -06:00
Shawn Erquhart
2abdd34502 fix list object styling 2017-10-24 14:44:13 -04:00
Benaiah Mischenko
040e654382 Make collapsing persist on correct item when sorting 2017-10-24 14:44:13 -04:00
Benaiah Mischenko
f649e8cad6 Migrate ListControl from react-sortable to react-sortable-hoc 2017-10-24 14:44:13 -04:00
Caleb
cd72e1d9dd Remove react-dnd wrapper lib.
`react-simple-dnd` is just a wrapper for `react-dnd`, and it doesn't
support React 16. This PR changes to using the underlying library
directly.
2017-10-23 11:19:58 -04:00