557 Commits

Author SHA1 Message Date
Daniel Lautzenheiser
0fd69879fa Fix types and login logo, remove unneeded files 2022-09-30 08:20:36 -04:00
Daniel Lautzenheiser
8acda23acc
Feature/rebrand (#3) 2022-09-30 08:13:47 -04:00
Shawn Erquhart
aac5167461 migrate bitbucket backend 2018-07-25 21:17:57 -04:00
Shawn Erquhart
768fcbaa1d begin scaffolding for lerna 2018-07-25 21:17:57 -04:00
Benaiah Mischenko
9894b3e805 BitBucket backend 2018-07-24 09:48:06 -04:00
Caleb
cc4dc43898 Make object control pure (no extra imports). (#1446) 2018-07-02 18:01:08 -04:00
Gil Greenberg
042e23885f very minor padding adjustments (#1420) 2018-06-13 12:49:32 -04:00
Robert Karlsson
d9488458a9 Don't render hidden widgets in markdown visual editor (#1414) 2018-06-12 09:55:10 -04:00
Robert Karlsson
f365955478 Only use label_singular when one item is rendered in the listControl (#1422) 2018-06-12 09:47:20 -04:00
Benaiah Mischenko
b65f68efd4 GitLab backend built with cursor API (#1343) 2018-06-11 22:03:43 -04:00
Shawn Erquhart
78e4b829d0 fix workflow top panel styling 2018-06-07 17:33:20 -06:00
Shawn Erquhart
89f2c9b93b
Fix negative CSS variables (#1384) 2018-05-25 14:39:08 -04:00
Shawn Erquhart
9fd0ff4a6a
return date object from date/datetime widgets if no format set (#1296)
* return date object from date/datetime widgets if no format set

BREAKING CHANGE

As of 1.0, the documented behavior for the date and datetime widgets was
to always return a string value, but they were instead returning a date
object if the default date was not manually changed by the user. This
was addressed in #1143, but it became clear afterward that static site
generators were depending on the raw date objects that Netlify CMS was
unintentionally producing. Remaining as is or addressing the bug were
both "breaking" states, so this commit reverts to producing raw date
objects when no format is explicitly set.

It is now considered an edge case to require string dates, as most
static site generators expect to parse a raw date against formatting in
a site's templates.

Also note that this commit improves the original behavior by always
providing a date object when no format is provided, even if the user
manually changes the value.

* produce raw date when no format is provided
2018-05-25 12:03:44 -04:00
Caleb
4d981d8e01 Upgrade to Webpack 4 (#1214) 2018-05-15 18:37:59 -04:00
Daniel Mahon
40494a4e43 Adds support for passing component type or element to PreviewContent, supports React.forwardRef (#1248) 2018-05-14 13:36:55 -04:00
Roger Zurawicki
cd30b59b92 Support displayFields in the Relation widget (#1303)
* Support displayFields in the Relation widget

* Fix typo

* Wrap display fields in String constructors

* 📝 Documentation updates
2018-05-01 16:43:08 -07:00
Shawn Erquhart
855bfde79b
allow custom auth endpoint (#1294) 2018-04-24 21:35:56 -04:00
Damien Duhamel
a5d4fd41a4 Don’t try to validate an optional field if it is empty (#1237) 2018-04-24 12:28:09 -04:00
Shawn Erquhart
df7486333b allow login screen to be skipped for test repo demos 2018-04-19 13:11:42 -04:00
Damien Duhamel
79f6672228 Use an isHidden property 2018-04-16 18:12:11 -04:00
Damien Duhamel
106968990d Add markdown editor toolbar customization 2018-04-16 18:12:11 -04:00
Damien Duhamel
9975c7e914 fix: Allow typing in date widget (#1247)
* Allow typing in date widget

* Handle empty case & warn user when invalid

* Try parsing date with moment

* Rename isValid -> isValidDate

* Warn user when date is invalid
2018-04-14 08:06:03 -06:00
Damien Duhamel
3eb30e5b1e Fix property key iterator 2018-04-13 17:53:30 -04:00
Caleb
db292abe03 Fix actual code errors listed by linter. 2018-04-12 14:17:42 -07:00
Maciej Matuszewski
df2d5c2432 fix: button alignment on older safari (#1227)
* Fix button alignment on older safari

* Add @maciejmatu to contributors
2018-04-12 08:15:11 -06:00
Caleb
77a7c369f3 Fix Date Control Regression
Fix regression from b7fcb8b. Dates were disappearing completely until
the field was clicked into.
2018-03-29 14:22:25 -04:00
Luís Miguel
b2051343cc Fix regression in list relation previews 2018-03-28 16:19:50 -04:00
Caleb
21469148fb Hide create new button for single files. 2018-03-28 10:11:27 -04:00
Shawn Erquhart
79ddb3b91c accept CSS string in registerPreviewStyle 2018-03-28 10:08:47 -04:00
Mike Romani
55f01e6f1d Fields default to Blank String (#1126) 2018-03-28 10:07:20 -04:00
Sam
a2d4267500 Allow adding items to be disabled for list widget (#1102) 2018-03-15 16:16:32 -04:00
Shawn Erquhart
a83c04cad0 allow manual initialization and config as an arg 2018-03-06 16:22:55 -05:00
Caleb
b7fcb8b3d9 Use formatted datetime value in Redux. 2018-03-03 22:45:39 -05:00
Shawn Erquhart
c4222895a5 exlude time from default date widget format 2018-03-03 22:45:39 -05:00
Shawn Erquhart
d73731cf1f fix lost unsaved changes when updating status or publishing 2018-02-27 20:34:12 -05:00
Iñaki García
527d201ed5 Fix Collections List Sidebar css (#1103) 2018-02-27 16:58:33 -05:00
Caleb
684735311c Fix list items crashing for first fields other than strings. 2018-02-23 10:25:06 -05:00
xifengjin88
03a16dd603 added uniqueId for input field and its cooresponding label 2018-02-22 11:38:07 -05:00
xifengjin88
fa8003e361 updated field id to uniqueId with lodash 2018-02-22 11:38:07 -05:00
Pedro Duarte
49894d9fd9 Add label_singular to collection config (#1086) 2018-02-19 09:00:52 -08:00
Sol Park
1d41620509 Add collection label next to search results (#1068)
* add collection name next to title

Co-authored-by: Mike Romani <29218846+MichaelRomani@users.noreply.github.com>

* only show collection name when entries are searched

Co-authored-by: Mike Romani <29218846+MichaelRomani@users.noreply.github.com>

* add simple design to collection label

Co-authored-by: Mike Romani <29218846+MichaelRomani@users.noreply.github.com>

* remove  from higher components. Add props passing down directly from EntryListing

* fix design of collection label to top left corner

* update collection label styling to match workflow
2018-02-07 15:16:20 -07:00
Doocey
9208b8cfcf Change collapsed arrow direction for lists and editor widgets 2018-01-28 18:33:18 -07:00
Luís Miguel
3c21a6a6db Fix relation lists (regression #359) 2018-01-23 16:50:10 -05:00
Luís Miguel
3691417856 Fix proptype warning 2018-01-19 18:56:35 -05:00
Eric Jinks
b8c411ce28 GitHub svg media library preview support (#954)
* Append sanitize query to svg download_url

* Add svg ext to media viewable

* Append searchParam manually
2018-01-04 12:17:52 -07:00
jimmaaay
6fca83c81b Fix Firefox positioning bug #907. (#976) 2018-01-03 14:08:54 -07:00
Shawn Erquhart
b1006a9173 fix list widget default values 2018-01-03 11:09:13 -05:00
Christian Nolte
4b5fb89b6b Add expand/collapse to object widget (#927) 2017-12-24 07:42:26 -05:00
Marco Biedermann
dfd1111552 optimize images 2017-12-22 17:21:05 -05:00
Shawn Erquhart
fbf728ca23 fix list collapse config setting 2017-12-22 16:33:29 -05:00