124 Commits

Author SHA1 Message Date
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
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
db58c1216b Temporarily disabling some Find Bar functionalities 2016-12-02 19:25:38 -02:00
88d02ebb71 Missing Prop. Closes #182 2016-12-02 15:19:08 -02:00
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
007575d315 Use public_folder to display images persisted with no path reference (#163) 2016-11-17 11:41:54 -02:00
790619083d Fix cms hanging when going to new entry page 2016-11-15 17:21:33 -08:00
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
a6fc8506f5 Dashboard page (#150) 2016-11-02 12:25:43 -02:00
44bbb84d44 bugfix in Draft entry editing 2016-11-01 14:31:04 -02:00
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
295cdd2f6d Persistence editorial workflow through own actions & reducer 2016-10-31 18:19:51 -02:00
dabf6a1be1 typo 2016-10-27 13:10:44 -02:00
bbce1c30de Make loading single file work without scanning whole collection 2016-10-27 14:23:36 +02:00
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
5151e7cdb1 Bugfixes due to new slug signature (#145) 2016-10-26 15:50:34 -02:00
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
3465dc1376 Merge pull request #129 from netlify/infinite-loading-indicator
Better loading indicator
2016-10-21 15:33:13 +02:00
a9b25cc85f Adjust topbar styles 2016-10-21 15:32:12 +02:00
188fec4529 [feature] Better loading indicator
- Use react-topbar-progress-indicator as a global loading indicator.
- Added a global reducer that only holds `isFetching` for now.
- Display loading indicator on any `*_REQUEST` actions.
- Closes #103
2016-10-20 18:52:24 +02:00
195479f088 styles fix 2016-10-20 14:26:57 -02:00
871fdc9331 removed global selectors 2016-10-20 10:47:37 -02:00
1cbf6736a2 Small padding adjustment 2016-10-19 15:08:05 -02:00
3f8f9197c1 small ui adjustments 2016-10-18 15:18:29 -02:00
e001714aed Optimistic Updates (#114)
* Optimistic Updates structure
* Optimistic update for Editorial Workflow
2016-10-18 14:30:13 -02:00
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
863d90c8ee Use Loader on the entry page. Closes #102 2016-10-14 13:42:58 +02:00
e53262d92c Moved persisting logic to entryDraft reducer + added tests. 2016-10-13 14:30:11 +02:00
190aa05d68 Use react-toolbox buttons. Added Cancel button for the entry editor. 2016-10-11 18:27:37 +02:00
6fa02bf79b Removed //eslint-disable-line 2016-10-11 14:56:33 +02:00
4868267669 Added onOverlayClick to handle the NavBar. Hide it initially + added a fixed permanentAt to make editing screen more usable. 2016-10-11 11:42:06 +02:00
0688a9c5ab Added propTypes + some code refactoring to fix eslint errors 2016-10-11 11:33:56 +02:00
899681ee84 Merge branch 'master' into markitup-react 2016-10-11 10:28:42 +02:00
494ea636a3 eslint adjustments 2016-10-10 16:35:42 -03:00
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
ca34def49e Merge branch 'master' into markitup-react 2016-10-03 17:00:11 +02:00
5ba0c46aee Merge branch 'master' into class-properties-initializers 2016-10-03 16:41:15 +02:00
9e8bdb18b9 Added missing semicolons to class properties 2016-10-03 16:37:11 +02:00
9838660c0c UI small adjustments & refinments (#87)
* UI small adjustments & refinments

* Removed autohide navbar
2016-10-03 11:18:58 -03:00
e5d4cc55b2 Removed autohide navbar 2016-10-03 11:18:10 -03:00
4010a16a76 Use static propTypes class property 2016-10-03 14:33:48 +02:00
382b1537b0 Use ES7 class properties initializers 2016-10-03 14:25:27 +02:00
ffb1d7a491 UI small adjustments & refinments 2016-09-30 19:51:12 -03:00
841772496a Moved EntryEditor to a separate directory 2016-09-29 19:02:28 +02:00
d7363f276e Removed “AppHeader” and “FindBar” from UI 2016-09-19 15:52:20 -03:00
2fada62fff Removed unused styles + added drawerContent style 2016-09-16 15:01:02 +02:00
cc80ef4a29 Added navigation drawer with list of collections. Closes #71 2016-09-16 15:00:24 +02:00
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
f6ab5e3d47 Better AppHeader component. WIP. 2016-09-15 18:56:08 +02:00
15d7043f9d Simplified FindBar.css 2016-09-15 18:54:47 +02:00