62 Commits

Author SHA1 Message Date
Shawn Erquhart
b3af4e86cb add generic error boundary, apply to preview iframe 2017-11-11 10:35:03 -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
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
Benaiah Mischenko
7dd8ca13c4 Migrate to plain CSS (remove CSS modules) (#659)
* Migrate to plain CSS (remove CSS modules)

Change `prefixer` to a function instead of a proxy

* Switch prefix to `nc`

* Replace prefixer with literal class names

* Remove prefixer

* Fix migration errors

* fix compose migrations

* Remove unnecessary theme imports

* Remove old CSS import

* fix sticky toolbar positioning

* update to cssnano v4 so preset is used

* fix css pseudo selectors

* update lockfile
2017-10-18 12:29:38 -04:00
Caleb
9075a87c9d Upgrade react-notifications. 2017-10-02 16:44:32 -06:00
Caleb
9053c1841f Upgrade react-transition-group. 2017-10-02 16:43:30 -06:00
Caleb
cd35289dbc Upgrade depreciated transitions addon to react-transition-group.
v1 of `react-transition-group` is a drop-in replacement.
2017-09-28 13:27:05 -06:00
Caleb
654f844b86 Upgrade to seperate React prop-types library.
`propTypes` was seperated/depreciated from React as of 15.5.0:
https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-09-09 20:16:19 -06:00
Shawn Erquhart
ae56ef6dda convert raw editor to Slate 2017-08-25 16:28:17 -04:00
Shawn Erquhart
1440caf3d0 fix rte scroll handler firing on child scroll 2017-05-24 17:02:13 -07:00
Shawn Erquhart
62a8de98da improve theme color control via variables 2017-05-18 11:12:37 -04:00
Shawn Erquhart
032e1f9d77 fix notification style bugs 2017-05-13 10:16:08 -04: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
Shawn Erquhart
3ee5a5e172 update rich text toolbar styling 2017-05-05 12:58:42 -04:00
Shawn Erquhart
e21a33986f further improve ui contrast and consistency 2017-05-05 12:58:11 -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
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
ba2f092dc3 document Sticky microlib 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
63e916ee2a check for sticky ref before update 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
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
Benaiah Mischenko
c079cb96c4 Label cards in editorial workflow 2017-03-20 17:02:52 -07: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
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
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
d0df70e4d3 Prosemirror working - with some toolbar options 2016-11-01 16:55:21 -07: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
ca34def49e Merge branch 'master' into markitup-react 2016-10-03 17:00:11 +02:00
Andrey Okonetchnikov
382b1537b0 Use ES7 class properties initializers 2016-10-03 14:25:27 +02:00
Cássio Zen
d7363f276e Removed “AppHeader” and “FindBar” from UI 2016-09-19 15:52:20 -03: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
Andrey Okonetchnikov
f6ab5e3d47 Better AppHeader component. WIP. 2016-09-15 18:56:08 +02:00
Cássio Zen
91846cdbc5 Toast component 2016-09-14 11:59:59 -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