51 Commits

Author SHA1 Message Date
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
695f533c8e Added resolvePath helper to normalize and prepend the public_path and as needed 2016-11-17 15:33:02 -02:00
8d9f894928 Use public_folder to display images persisted with no path reference 2016-11-17 11:12:14 -02: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
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
6ce58a789d Do not use expect to get better diffs out of Jest 2016-11-11 11:02:11 +01: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
baafe0b32f refactor on slugformatter 2016-10-27 13:50:02 -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
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
f7b74453ab bugfix. Closes #122 2016-10-20 11:30: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
e53262d92c Moved persisting logic to entryDraft reducer + added tests. 2016-10-13 14:30:11 +02:00
f9c43bd275 Removed expect import 2016-10-13 11:56:26 +02:00
27659b77f1 Removed console.error from auth reducer to cleanup tests outputs. We should use Netlify error wrapper. 2016-10-13 11:34:55 +02:00
077e83dfc9 Handle entry persisting state in actions and reducer + added tests. 2016-10-12 19:19:05 +02:00
8d51f9be3e Fixed ESLint errors and tests for entries reducer 2016-10-12 16:04:58 +02: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
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
71b5b0bde9 merge button for editorial workflow 2016-09-14 18:25:45 -03:00
0b447d483d Editorial workflow Drag'nDrop 2016-09-13 18:54:39 -03:00
2b27718493 Enabled HMR for reducers 2016-09-13 18:05:20 +02:00
911e3f7077 initialize editorialWorkflow state after config loaded & parsed 2016-09-13 04:29:30 -03:00
165c758bb9 Updated reducer for editorial workflow 2016-09-13 04:09:52 -03:00
f51525baaa edit unpublished content on EntryPage (through HOC) 2016-09-13 03:59:48 -03:00
b6874152d9 unpublished items dashboard 2016-09-08 19:04:54 -03:00
04c50d8def editorial workflow HoC 2016-09-08 16:18:38 -03:00
90d4b39fc1 Load unpublished entries 2016-09-06 17:18:27 -03:00
f0e608a209 Editorial Workflow skeleton 2016-09-06 13:04:17 -03:00
6eec0feb72 Small refactor preparing for branch creating/editing. Also closes #58 2016-08-29 17:09:04 -03:00
2b70893e89 content creation internal + test_repo implementations 2016-08-25 16:11:00 -03:00
b717874e7b Allow the creation of new entries 2016-08-24 21:37:22 -03:00
986e36c137 Pass plugins via context instead of using Redux store 2016-08-18 09:09:54 -03:00
a0a24ebf72 plugin architecture 2016-08-17 09:52:17 -03:00
474abd8f78 Markdown editor switching 2016-08-11 18:21:32 -03:00
9f220181b3 Set mediaProxy objects as uploaded @ implementation 2016-07-19 19:42:37 -03:00
18ad041d96 Preparing for github file persistence 2016-07-19 17:11:22 -03:00
b9cee02758 eslint compliance on reducers & VOs 2016-06-30 17:28:47 -03:00
a39307bd8b Add missing semicolon 2016-06-18 12:29:03 -07:00
3f11a93056 correct entity name 2016-06-16 17:50:36 -03:00
6ed7e78642 mediaFiles backend persistence structure 2016-06-10 18:48:38 -03:00
1700f98e4e Refactor on upload media data fow 2016-06-10 14:01:14 -03:00
1ba98fdb5a refactor: Creating Medias reducer 2016-06-10 00:16:01 -03:00
9275aaec90 Moved draft state for an entry (when in edit mode) to Redux 2016-06-08 11:18:34 -03:00
32e54cdbdc Load, display and edit entries from test repo and github 2016-06-05 01:52:18 -07:00
d2aa1adf7b Basic editing with some widgets 2016-05-30 16:55:32 -07:00
978b7290c5 Test repo can now be used to list entries 2016-02-25 20:40:35 -08:00
67cdd92bfb Start implementing backends and authentication 2016-02-25 12:31:21 -08:00