5335 Commits

Author SHA1 Message Date
Shawn Erquhart
acbd4cb911 Merge pull request #334 from netlify/fix-log-out
Fix logout for Firefox
2017-03-31 16:03:33 -04:00
Shawn Erquhart
71e683f5bf Fix logout for Firefox
The log out menu was nested within a button, which caused
bubbling issues for the log out button event handler. This
was due to a misuse of the React Toolbox AppBar component.
Added a proper IconMenu to trigger the logout dropdown.
2017-03-31 15:47:55 -04:00
Shawn Erquhart
570712c0de #315 fix example optional field 2017-03-29 15:12:28 -04:00
Shawn Erquhart
4b9c7fb723 Merge pull request #327 from netlify/updates-docs
Updates docs to match netlifycms.org/docs
2017-03-28 14:25:27 -04:00
Brian 'bdougie' Douglas
d7b740f1c5 updates docs 2017-03-28 10:02:45 -07:00
Ryan Watters
b7f5ab255e docs: Updating URL for Victor Hugo on Netlify (#319) 2017-03-22 17:02:36 -07:00
Shawn Erquhart
bde15e377e Merge pull request #318 from simplystuart/master
Fix tiny README typo
2017-03-22 14:43:52 -04:00
Stuart Dum
9671fe8fda Fix small README typo 2017-03-22 08:51:21 -04:00
Shawn Erquhart
96d6242b78 Merge pull request #293 from Benaiah/label-cards-in-editorial-workflow
Add meta info to cards in editorial workflow
2017-03-20 20:30:09 -04:00
Benaiah Mischenko
1aa02eb42a Refactor readUnpublishedBranchFile with resolvePromiseProperties 2017-03-20 17:16:58 -07:00
Benaiah Mischenko
1dc2841609 New promise helper, resolvePromiseProperties
`resolvePromiseProperties` takes on object and returns a promise which
resolves to a copy of the object. This copy has all its immediate
properties which were Promises replaced with the resolved value of
those promises. Promises are run with `Promise.all`. Errors are passed
up to the outer promise chain.

Example usage:

```js
resolvePromiseProperties({
  promise: Promise.resolve("this property will resolve to this string"),
  nonPromise: "this will remain the same",

  // you can nest the function
  nestedPromiseInside: resolvePromiseProperties({
    nestedPromise: Promise.resolve("this will resolve"),
    nestedNonPromise: "this stays the same",
  }),
})
.then(obj => console.log(obj))

```

That will produce the following output:

```js
{
  promise: "this property will resolve to this string",
  nonPromise: "this will remain the same",
  nestedPromiseInside: {
    nestedPromise: "this will resolve",
    nestedNonPromise: "this stays the same",
  },
}
```
2017-03-20 17:04:40 -07:00
Benaiah Mischenko
c079cb96c4 Label cards in editorial workflow 2017-03-20 17:02:52 -07:00
Shawn Erquhart
dda4ecd50a Merge pull request #311 from netlify/remove_travis_notifications
Disable email notification for Travis.
2017-03-20 14:41:46 -04:00
Shawn Erquhart
056fd43713 Merge pull request #310 from netlify/add_community_section
Add section about the community to the README.
2017-03-20 14:41:27 -04:00
David Calavera
b507b96d75
Disable email notification for Travis.
They kill my inbox.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2017-03-20 11:07:31 -07:00
David Calavera
4764c6e2f8
Add section about the community to the README.
Mention the public Gitter channel to find members of the community.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2017-03-20 10:56:46 -07:00
Shawn Erquhart
128111a85e Merge pull request #309 from netlify/fix-preview-pane-safari
fix preview pane height in Safari
2017-03-20 12:45:00 -04:00
Shawn Erquhart
b3ce95057e fix preview pane height in Safari 2017-03-20 12:33:04 -04:00
Frederic Brodbeck
ef7f51cc2f fixed typo (#296) 2017-03-17 09:13:03 -07:00
Rory Claasen
cf0062718e Changed she'll to they'll (#297) 2017-03-17 09:12:25 -07:00
Mathias Biilmann
99449bd1d9 Merge pull request #295 from lmcorreia/feature/#294_imperative_commit_msgs
#294 Make commit messages imperative
2017-03-16 19:52:02 -07:00
Luis Correia
e9c6e8cda1 #294 Make commit messages imperative 2017-03-17 01:09:52 +00:00
Shawn Erquhart
b3936c555f Release 0.3.15 2017-03-16 16:15:06 -04:00
Shawn Erquhart
2faeb1af4f Merge pull request #290 from Benaiah/confirm-navigation-while-changes-unsaved
Set correct `hasChanged` and set it on all entry persistence actions
2017-03-16 16:10:04 -04:00
Benaiah Mischenko
3adb1ee4fc Set correct hasChanged and set it on all entry persistence actions 2017-03-16 11:34:36 -07:00
Shawn Erquhart
c8b9f2930e Merge pull request #289 from Benaiah/confirm-navigation-while-changes-unsaved
Don't ask for navigation confirmation on save
2017-03-16 14:13:00 -04:00
Benaiah Mischenko
47c46e7a6a Set state.entryDraft.entry.hasChanged to false when an entry saves succesfully 2017-03-16 11:05:17 -07:00
Shawn Erquhart
cbcd2f3bca Release 0.3.14 2017-03-16 13:40:56 -04:00
Shawn Erquhart
f23229bcb6 Merge pull request #284 from netlify/entry-editor-ui
improve entry editor UI
2017-03-16 12:07:12 -04:00
Shawn Erquhart
3096b4617e improve entry editor UI 2017-03-15 21:18:16 -04:00
Shawn Erquhart
736954da8b Merge pull request #285 from Benaiah/confirm-navigation-while-changes-unsaved
Confirm navigation when it would discard unsaved changes
2017-03-15 18:12:02 -04:00
Benaiah Mischenko
a88b2d6c9f Confirm navigation when it would discard unsaved changes
- New state field: `state.entryDraft.hasChanged`, initialized to
  `false`.

- `state.entryDraft.hasChanged` set to `true` in `entryDraft` reducer
  for `DRAFT_CHANGE_FIELD`.

- `EntryPage` adds a `listenBefore` listener to `history` on
  `componentDidMount` that checks `this.props.entryDraft.hasChanged`
  and, if that is true, asks the user to confirm the navigation.

- `EntryPage` removes its listener on `componentWillUnmount`.
2017-03-15 14:49:38 -07: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
Mathias Biilmann
e7dc2c4e84 Merge pull request #282 from netlify/fix-cache-fetch-issue-on-firefox
Bump version
2017-03-15 00:09:39 -07:00
Mathias Biilmann Christensen
fd1cd3679a Bump version 2017-03-15 00:09:01 -07:00
Mathias Biilmann
fa407a0335 Merge pull request #281 from netlify/fix-cache-fetch-issue-on-firefox
Fix firefox fetch issue in GitHub API
2017-03-15 00:08:11 -07:00
Mathias Biilmann Christensen
5e504bbc5a Fix firefox fetch issue in GitHub API 2017-03-15 00:06:31 -07:00
Shawn Erquhart
adb4a1d3d2 Merge pull request #280 from Benaiah/editorial-workflow-ignore-merged-branches
Filter merged PRs from unpublished posts
2017-03-14 21:03:33 -04:00
Benaiah Mischenko
47096c1cf0 Filter merged PRs from unpublished posts 2017-03-14 17:01:21 -07:00
Shawn Erquhart
224ef6ec3e Merge pull request #279 from Benaiah/full-stops-in-entry-titles
Disallow full stops in entry slugs
2017-03-14 16:51:49 -04:00
Benaiah Mischenko
9fc98a738b Disallow full stops in entry slugs
Full stops in slugs were preventing branch creation for unpublished
entries when using the editorial workflow, as `.` is not an allowed
character in branch names. This commit changes slug generation so
periods are replaced with `-` the same way other "non-sluggable"
characters are.
2017-03-14 13:39:56 -07:00
americool
3c7b8d2322 delete button working (#274)
Fixes #274.
2017-03-11 10:47:36 -08:00
David Calavera
8ffe6730fa Merge pull request #261 from erquhart/master
Add widgetsFor helper - fixes #236
2017-03-11 10:35:45 -08:00
Jessica Parsons
b9d24a1c3e Merge pull request #265 from mwickett/patch-1
Add Spike to list in App File Structure
2017-03-09 14:17:08 -08:00
Mike Wickett
e5f13b5979 Add Spike to list in App File Structure
Added the file path location for the `/admin` folder when using Netlify CMS with Spike.
2017-03-09 11:13:27 -05:00
Shawn Erquhart
ff8b420777 remove leading underscore from getWidget method 2017-03-06 19:38:21 -05:00
Brian Douglas
94344e7c50 Update ISSUE_TEMPLATE.md 2017-03-06 15:04:30 -08:00
Shawn Erquhart
03714f8d1b add documentation for widgetsFor helper 2017-03-06 17:57:43 -05:00
Shawn Erquhart
e48221a04f add shared widget getter for widgetFor and widgetsFor 2017-03-06 15:22:40 -05:00
Shawn Erquhart
9bc80ed5e4 add object support to widgetsFor 2017-03-06 13:30:40 -05:00