- Entry list enhancements:
- The new table view shows the values of several fields in columns, and a column can be sorted by clicking its header. It’s the default view on a large screen. The new
table_columnscollection option picks the columns. A column can be a field name, a nested field likeauthor.name, a special key likecommit_dateor a template like{{locales}}, and it can have a custom label. The Static CMSsummary_fieldsoption also works, as an alias. This effectively solves decaporg/decap-cms#3265. (#579) - The new
bulk_editcollection option lets users change the simple fields of many entries at once, in a table that works like a spreadsheet, and save all the changes in a single commit. It’s handy for chores like turning adraftflag on or off, moving posts to another category or fixing titles. Filter the list first to edit only some of the entries. This effectively solves decaporg/decap-cms#6285. (#854)
- The new table view shows the values of several fields in columns, and a column can be sorted by clicking its header. It’s the default view on a large screen. The new
- API enhancements:
- The new
CMS.registerCustomPage()method adds your own pages to the global toolbar. A page can show a React component, embed another web page, such as an analytics dashboard, or link to an external site in a new tab. It replaces the Static CMSCMS.registerAdditionalLink()method. This effectively solves decaporg/decap-cms#4424, decaporg/decap-cms#4580 and decaporg/decap-cms#5973. (#180) - The new
CMS.registerStringTransformation()method registers custom string transformations, which can then be used like the built-in ones, e.g.{{title | reverse}}or{{title | wrap('[', ']')}}. This effectively solves decaporg/decap-cms#3677. CMS.registerFieldType()and its aliasCMS.registerWidget()now also accept a single definition object, the format that Netlify/Decap CMS supports but doesn’t document. The object can include a newsummaryComponent, which draws a collapsed List field item when the field type is the List field’s only subfield, e.g. a thumbnail and a title instead of a raw file path or ID. (#1066)
- The new
- The new
prompt_commit_messagesbackend option asks users for a commit message every time they save, delete, reorder or upload something. Withtrue, users can edit the whole message. Withprefixorsuffix, they enter a note, such as an issue number, that goes before or after the generated message. When the option is on, the History panel of the Content Editor also shows each commit’s message. This effectively solves decaporg/decap-cms#4415 and decaporg/decap-cms#2082. (#983) - Complex List field items now have Move Up and Move Down buttons in the header, so items can be reordered without dragging. With a mouse, the header buttons only appear when the pointer is over the item or the item has focus, which reduces clutter. (#1067)
- Bug fixes and improvements.
Full Changelog: v0.237.0...v0.238.0