Shawn Erquhart
d0ee10a681
Merge pull request #394 from netlify/text-editor-scroll
...
prevent rte scroll, improve code display
2017-05-03 17:10:24 -04:00
Joseph Earl
bfe46a8e13
Fixes #324 Use branch name from config when creating PR
2017-05-01 08:17:46 -07:00
Shawn Erquhart
fdd44c88cb
prevent rte scroll, improve code display
2017-04-28 15:40:54 -07:00
Benaiah Mischenko
9cdc39154a
Prevent long code lines from breaking visual entry editor
...
Previously, long lines of preformatted text would cause the lines to
run off the side of the ProseMirror edit box and give the entire entry
editor a scrollbar. This commit makes the edit box itself scroll,
which looks and feels much less broken.
2017-04-26 12:23:37 -07:00
Shawn Erquhart
7a66dd4dcb
remove superfluous rawMode editor prop
2017-04-24 22:39:37 -04:00
Shawn Erquhart
902134c4e8
add autosizing for markdown editor
2017-04-24 17:52:06 -04:00
Shawn Erquhart
ba2f092dc3
document Sticky microlib
2017-04-24 17:52:06 -04:00
Shawn Erquhart
9ff4e25736
move editor components to dropdown menu
2017-04-24 17:52:06 -04:00
Shawn Erquhart
fdd85486d8
update Toolbar proptypes
2017-04-24 17:52:06 -04:00
Shawn Erquhart
a3b487aaeb
use React Toolbox Switch for rte mode selection
2017-04-24 17:52:06 -04:00
Shawn Erquhart
1a12c6f5aa
fix rte markdown toggle position for small screens
2017-04-24 17:52:06 -04:00
Shawn Erquhart
86b7b84637
fold ToolbarPlugins into Toolbar
2017-04-24 17:52:06 -04:00
Shawn Erquhart
b8dce2fb4b
split out ToolbarPluginForm
2017-04-24 17:52:05 -04:00
Shawn Erquhart
dd29658abb
split out ToolbarPluginFormControl
2017-04-24 17:52:05 -04:00
Shawn Erquhart
63e916ee2a
check for sticky ref before update
2017-04-24 17:52:05 -04:00
Shawn Erquhart
c7d3de0fc8
use ToolbarButton for plugins
2017-04-24 17:52:05 -04:00
Shawn Erquhart
c5d9f44de2
split out ToolbarButton component
2017-04-24 17:52:05 -04:00
Shawn Erquhart
5d839e8410
fix sticky toolbar width
2017-04-24 17:52:05 -04:00
Shawn Erquhart
a1a693051c
improve preview toggle styling
2017-04-24 17:52:05 -04:00
Shawn Erquhart
192afe2ec5
make markdown toggle purpose more obvious
...
The "< >" button on the toolbar should format selected
text as code, but its serving as a visual mode toggle.
This commit switches out the code icon for a text label,
and moves it to the right side of the rich text toolbar.
2017-04-24 17:52:05 -04:00
Shawn Erquhart
de900eeb39
reposition properly when new sticky inserted
2017-04-24 17:52:05 -04:00
Shawn Erquhart
fc5d935e53
use Context for sticky, support multiple stickies
2017-04-24 17:52:05 -04:00
Shawn Erquhart
ec29a04089
implement initial working sticky rte toolbar
2017-04-24 17:52:05 -04:00
Shawn Erquhart
33fe2b820c
add active state to rich text raw toggle
2017-04-24 17:52:04 -04:00
Shawn Erquhart
b2fd96c12e
condense rich text functionality to static toolbar
2017-04-24 17:52:04 -04:00
Benaiah Mischenko
4bb03b8379
Merge pull request #382 from netlify/list-item-delete
...
fix list item deletion
2017-04-21 12:03:30 -07:00
Joseph Earl
6d7bf3b186
Fixes 298 Basic validation for config
2017-04-21 11:03:24 -07:00
Benaiah Mischenko
365c0358e9
Mock AssetProxy in frontmatter testing
2017-04-21 10:34:33 -07:00
Shawn Erquhart
17b40b58ea
fix frontmatter stringification for date fields
...
Switches back to custom frontmatter stringification
until support lands in preliminaries. This is necessary
because we use custom schemas for certain data types,
such as dates and times.
2017-04-21 10:34:33 -07:00
Shawn Erquhart
d250b1cef3
fix list item deletion
2017-04-20 15:22:04 -04:00
Kevin McCormack
39852e9982
Fix filtering by file extension
2017-04-19 11:45:07 -04:00
Benaiah Mischenko
3be734da05
Merge pull request #370 from josephearl/filter-files-extension
...
Fixes #278 Filter folder collection files by extension
2017-04-18 16:28:05 -07:00
Joseph Earl
22137ed777
Fixes #292 Display version number
2017-04-18 16:11:48 -07:00
Joseph Earl
265146e2d1
Fixes #278 filter files by extension
2017-04-18 22:59:30 +01:00
Kevin McCormack
76bf16d62e
Add backend config for site ID
...
Users can now specify `site_domain` in `config.yml`. This is useful
when attempting to access the CMS from a different host.
2017-04-18 16:24:45 -04:00
Joseph Earl
684fd1c490
Fixes 358 Save bar stuck
2017-04-14 21:30:49 +01:00
Shawn Erquhart
2047fda27c
Merge pull request #360 from marzeelabs/feature/#359_list_children_metadata
...
#359 - Handle metadata for all children of a list field
2017-04-14 12:59:08 -04:00
Joseph Earl
4afec469f9
Merge pull request #355 from josephearl/113-disable-editor-preview
...
Fixes #113 Disable editor preview
2017-04-14 17:48:34 +01:00
Joseph Earl
4be23e5fc7
Show error if config fails to parse
2017-04-14 17:22:24 +01:00
Joseph Earl
e2f471e863
Remove webpack footer
2017-04-14 13:56:24 +01:00
Joseph Earl
881c0b0958
Fixes #113 Add ability to disable editor preview for a collection
2017-04-14 13:26:09 +01:00
Luis Correia
b75f86f4c2
#359 - Delete metadata by key of deleted value (previously harcoded)
2017-04-13 12:45:32 +01:00
Luis Correia
805f958165
#359 - Handle metadata for all children of a list field
2017-04-13 11:02:06 +01:00
Benaiah Mischenko
d58cd652d8
Cleanup resolvePromiseProperties
...
There were a couple issues with the original version of
`resolvePromiseProperties`:
- The wrapper promise was unnecessary, since we can just return the
`Promise.all`. Fixing this allows us to remove a wrapping function,
reduce indentation, remove the `resolve` and `reject` calls, and
remove the now unnecessary `.catch` line.
- There was inadvertent mutation in the `Object.assign` call - the
first parameter to `Object.assign` is mutated, so to call it without
mutating existing objects the first parameter should be a literal
`{}`. This is now fixed.
2017-04-11 10:55:56 -07:00
Joseph Earl
dc313d157b
Rename YamlFrontmatter to just Frontmatter
2017-04-09 19:32:33 +01:00
Joseph Earl
a2e8602fdd
Add multi-format frontmatter parser
2017-04-08 23:32:39 +01:00
Benaiah Mischenko
d503547883
Stop showing loader forever when there are no entries ( #343 )
2017-04-07 09:32:30 -07:00
Benaiah Mischenko
12f5e4cda8
Merge pull request #306 from americool/adding-close-preview-feature
...
Adding close preview feature
2017-04-06 15:56:24 -07:00
Julian Krispel-Samsel
c560689edd
fixes #258 - reverse collection order ( #345 )
2017-04-05 15:02:13 -07:00
Shawn Erquhart
4752a1f150
add styling for preview toggle
2017-04-05 12:43:18 -04:00