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
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 Christensen
5e504bbc5a
Fix firefox fetch issue in GitHub API
2017-03-15 00:06:31 -07:00
Benaiah Mischenko
47096c1cf0
Filter merged PRs from unpublished posts
2017-03-14 17:01:21 -07: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
Shawn Erquhart
ff8b420777
remove leading underscore from getWidget method
2017-03-06 19:38:21 -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
Shawn Erquhart
9dca9f912a
add widgetsFor helper
...
This allows individual widgets to be accessed
from preview templates that handle lists
2017-03-06 12:28:40 -05:00
Mathias Biilmann Christensen
b777343d70
yet another field ordering related change
2017-02-21 23:59:34 -08:00
Mathias Biilmann Christensen
09e6f2c80e
Fix ordering when persisting a files based entry
2017-02-21 23:41:40 -08:00
Mathias Biilmann Christensen
e9088957b3
Fix persistence for collections stored in different files
...
Getting the order of the fields failed when the collections was not folder based
2017-02-21 23:04:12 -08:00
Mathias Biilmann
e294b87554
Merge pull request #231 from verythorough/fix-img-width
...
Prevent giant images in editor
2017-02-17 16:27:16 -08:00
Luis Correia
471b26a9d5
#222 - Encode branch name on requests to avoid errors with special chars
2017-02-03 15:10:27 +00:00
Jessica Parsons
ffead874bf
Fix oversized images
2017-02-02 13:15:20 -08:00
Cássio Zen
507b4cb957
Don't try to validate hidden fields
2017-01-31 17:09:45 -02:00
Cássio Souza
ecbcbf06b5
Role authorization for Netlify-auth ( #224 )
2017-01-26 19:23:42 -02:00
Cássio Zen
2a7314a3ef
Removed console log
2017-01-23 18:32:39 -02:00
Mathias Biilmann Christensen
8e26d5db81
Bump version
2017-01-21 16:57:13 -08:00
Cássio Zen
d237318ef4
Bugfix: Only try to load file if there's a path
2017-01-19 17:28:06 -02:00
Cássio Zen
4dd0c0ccb5
Bugfix: Images not appearing on search
2017-01-19 16:34:13 -02:00
Cássio Souza
0e10c3f984
Local search ( #220 )
...
* Version Bump
* local search skeleton
* Added WaitService middleware
* Return matching queries
* wait action middleware rename/refactor
* bigger debounce time
* Fix: Initialize state using Immutable
* Local Search without integrations
* Local Search refactor: Keep state in closure, recurse
* “string” should be treated as the default widget by the inference. Closes #199
2017-01-19 15:50:26 -02:00
Cássio Zen
f5d1fa7314
Makes input fields easier to click. Closes #173
2017-01-19 14:26:49 -02:00
Cássio Zen
78a9ac0f4b
Added more synonyms
2017-01-19 13:44:40 -02:00
Cássio Zen
ef9f499b42
Bugfix: Do not try to normalize absolute paths
2017-01-19 13:31:44 -02:00
Cássio Zen
b64259cb5a
Sort frontmatter according to the fields order in config file. Closes #215
2017-01-19 12:09:18 -02:00
Cássio Zen
bd13a847a7
bugfix in path. Closes #219
2017-01-18 18:26:01 -02:00
Cássio Zen
11f7c1e047
bugfix in proptype
2017-01-16 16:52:59 -02:00
Cássio Zen
7b755d5839
Bugfix: List with basic string should call onChange
2017-01-16 16:52:24 -02:00
Cássio Zen
63ae669507
more variety of presence check
2017-01-16 16:51:53 -02:00
Cássio Zen
8c6bbed0cd
Make sure to try to persist on next tick
2017-01-13 19:46:49 -02:00
Cássio Souza
3306670459
Validation ( #216 )
...
* Field config options: 'required' and 'pattern'
* Widget controls can implement it's own isValid
* Validation errors store in redux & displayed
* Support for returned Promises in isValid
* Allow widget controls to return either a boolean, an error object or a promise from isValid
2017-01-13 19:30:40 -02:00
Cássio Zen
b710e706da
Bugfix: Set draft as persisting for both publish modes
2017-01-13 17:52:27 -02:00
Cássio Zen
58461c0d22
Added same-origin credentials to fetch config file
2017-01-12 19:20:37 -02:00
Cássio Zen
4f2dc92bfe
Block save/publish buttons while processing
2017-01-11 22:36:49 -02:00
Cássio Souza
48d8077ff0
Editorial workflow Improvements ( #212 )
...
* Merge conflicts automatically. Closes #208
* removed unpublished entry route
All entries (either under editorial workflow or not) go through the same edit route.
2017-01-11 20:58:15 -02:00
Cássio Zen
c40171820f
Log attempt to fetch unpublished entries
2017-01-11 17:45:54 -02:00
Cássio Zen
19e5c61f05
Catch errors from createObjectURL
2017-01-11 17:40:26 -02:00
Cássio Souza
a4d7622ade
Asset API ( #204 )
...
Asset API
2017-01-10 22:23:22 -02:00
Cássio Zen
37f690fc44
List only collections where new entries are allowed. Closes #206
2017-01-05 13:43:37 -02:00
Cássio Zen
f6a1718085
Uniform slug generation
2017-01-02 17:31:01 -02:00
Cássio Zen
c20896d073
Removed help command from commandbar
2017-01-02 17:30:26 -02:00
Mathias Biilmann
112bdd348a
Merge pull request #198 from netlify/prosemirror-polishing
...
An assortment of Markdown Editor fixes
2016-12-30 09:49:36 -08:00
Mathias Biilmann Christensen
544fc210ce
Fix error in markup render test
2016-12-30 09:45:44 -08:00
Mathias Biilmann Christensen
815701bf11
Improvements to the demo experience
...
Explain what the email in the login is for
Make a guess at the users name
Don't mark uploaded files as persisted (since they're not)
2016-12-30 09:40:15 -08:00
Mathias Biilmann Christensen
c60d1a71cc
Make sure the example login page looks decent
2016-12-29 18:38:16 -08:00