117 Commits

Author SHA1 Message Date
Cássio Souza
a4d7622ade Asset API (#204)
Asset API
2017-01-10 22:23:22 -02: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
Cássio Souza
1efc59a9fb Netlify auth (#194) 2016-12-23 16:59:48 -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
14c798517c Github 'Not Found' for unplublished entries means there are no unpublished entries 2016-12-01 19:59:29 -02:00
Cássio Souza
047f84405a Entry Draft Refactor (#178) 2016-11-30 16:52:17 -02:00
Cássio Zen
6194e969f5 Friendlier error message for missing media_folder 2016-11-29 16:16:56 -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
Andrey Okonetchnikov
5b5f1edb22 Moved applyDefaults function and related code to actions (where it belong).
- Moved applyDefaults + related code
- Added tests for /actions/config.js
- Fixed some ESLint errors
2016-11-11 12:32:03 +01: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 Zen
295cdd2f6d Persistence editorial workflow through own actions & reducer 2016-10-31 18:19:51 -02:00
Cássio Zen
baafe0b32f refactor on slugformatter 2016-10-27 13:50:02 -02:00
Mathias Biilmann Christensen
bbce1c30de Make loading single file work without scanning whole collection 2016-10-27 14:23:36 +02:00
Cássio Zen
bd1216c760 bugfixes for test-repo. Closes #126 and #127 2016-10-20 14:27:58 -02:00
Cássio Zen
3f8f9197c1 small ui adjustments 2016-10-18 15:18:29 -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
e53262d92c Moved persisting logic to entryDraft reducer + added tests. 2016-10-13 14:30:11 +02:00
Andrey Okonetchnikov
077e83dfc9 Handle entry persisting state in actions and reducer + added tests. 2016-10-12 19:19:05 +02:00
Andrey Okonetchnikov
2f37b3df12 Fixed eslint errors 2016-10-12 16:01:27 +02:00
Andrey Okonetchnikov
190aa05d68 Use react-toolbox buttons. Added Cancel button for the entry editor. 2016-10-11 18:27:37 +02: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
0b69f6fa98 Switched to Jest testing framework.
Made tests pass again. Created entries.spec.js + made it pass.
Added wallaby.config.js to support wallaby.js runner.
2016-09-20 14:00:03 +02:00
Cássio Zen
d7363f276e Removed “AppHeader” and “FindBar” from UI 2016-09-19 15:52:20 -03:00
Andrey Okonetchnikov
cc80ef4a29 Added navigation drawer with list of collections. Closes #71 2016-09-16 15:00:24 +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
5409cc1022 Added "Create new" buttons to the header. Closes #49
Note that this is temp solution UI-wise since it won't scale.
2016-09-15 11:12:33 +02:00
Cássio Zen
71b5b0bde9 merge button for editorial workflow 2016-09-14 18:25:45 -03:00
Cássio Zen
0b447d483d Editorial workflow Drag'nDrop 2016-09-13 18:54:39 -03:00
Cássio Zen
686dd51410 Commiting unpublished branches on pre existing branch (updates PR) 2016-09-13 14:31:18 -03:00
Cássio Zen
911e3f7077 initialize editorialWorkflow state after config loaded & parsed 2016-09-13 04:29:30 -03:00
Cássio Zen
165c758bb9 Updated reducer for editorial workflow 2016-09-13 04:09:52 -03:00
Cássio Zen
f51525baaa edit unpublished content on EntryPage (through HOC) 2016-09-13 03:59:48 -03:00
Cássio Zen
04c50d8def editorial workflow HoC 2016-09-08 16:18:38 -03:00
Cássio Zen
90d4b39fc1 Load unpublished entries 2016-09-06 17:18:27 -03:00
Cássio Zen
f0e608a209 Editorial Workflow skeleton 2016-09-06 13:04:17 -03:00
Cássio Zen
b0e62d1ca9 Refactor: Publish mode to publish 'workflow' 2016-09-05 18:56:03 -03:00
Cássio Zen
e852991954 Storing more complete commit information on branch metadata 2016-09-05 12:12:38 -03:00
Cássio Zen
c7544cc0a2 put public_folder config in parity with original ember version 2016-08-30 11:18:14 -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
986e36c137 Pass plugins via context instead of using Redux store 2016-08-18 09:09:54 -03:00
Cássio Zen
a0a24ebf72 plugin architecture 2016-08-17 09:52:17 -03:00
Cássio Zen
474abd8f78 Markdown editor switching 2016-08-11 18:21:32 -03:00
Cássio Zen
bb817aa683 moved to hash history 2016-07-20 15:51:49 -03:00
Cássio Zen
7345c7bd32 Generating findbar commands dynamically based on config 2016-07-20 12:15:29 -03:00
Cássio Zen
9f220181b3 Set mediaProxy objects as uploaded @ implementation 2016-07-19 19:42:37 -03:00
Cássio Zen
483fdb2643 MediaProxy upload 2016-07-19 18:56:54 -03:00
Cássio Zen
18ad041d96 Preparing for github file persistence 2016-07-19 17:11:22 -03:00
Cássio Zen
f7fb01e3cb refinments 2016-07-18 15:07:59 -03:00
Cássio Zen
b991b1af26 basepath config as singleton 2016-07-15 16:16:33 -03:00
Cássio Zen
e3643217de setting base href support for router 2016-07-15 15:05:04 -03:00
Cássio Zen
eee6340879 Default commands option 2016-07-08 08:58:08 -03:00
Cássio Zen
fd8038465e findbar integration 2016-07-08 07:24:46 -03:00
Cássio Zen
923678d74f Accepts command with no parameter 2016-07-07 12:04:19 -03:00
Cássio Zen
cbeb31d585 findbar action creator 2016-07-06 18:51:43 -03:00
Cássio Zen
6ed7e78642 mediaFiles backend persistence structure 2016-06-10 18:48:38 -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
83d03c63ec persistence draft
Persisting individual media file objects
2016-06-07 01:20:54 -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
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
Mathias Biilmann Christensen
67cdd92bfb Start implementing backends and authentication 2016-02-25 12:31:21 -08:00
Mathias Biilmann Christensen
c60d8ba706 Initial commit 2016-02-25 00:45:56 -08:00