Releases: leekelleher/umbraco-contentment
Contentment v1.4.2
Hey there Umbraco fans!
Yo, yo, yo, it's another swinging patch release... here's Contentment v1.4.2!
Bug fixes
- #102 Data List - Renaming a data-source would break existing datatype configuration.
- #103 Item Picker - Show message for empty state.
- 94012f5 Item Picker - Added "Enable filter?" option.
- e225e02 Data List: SQL data-source - amends to config editor, UX enhancements.
- 594f0c7 Data List data-sources - Removed a bunch of unnecessary calls to
IOHelper.ResolveUrl
for theConfigurationField
views.
There's a bunch of other small code improvements/refactoring - see PR #104 for full details.
🤫 + new features + 🤫
- #101 Added data-source for Umbraco Members 🤫
- Added data-source for Examine (Lucene) 🤫
(Okay, okay, these are new features, but didn't feel enough to warrant a minor version number bump - given they are "hidden" features.) 😉
Enjoy the release!
Thank you to @bjarnef for your feedback during this release.
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.4.1
Hey there Umbraco fans!
Yup, it's been a week since the v1.4.0 released, (🤫 remember! 😉), but ya know, bugs eh! who needs 'em? not us!
Here's a patch release... Contentment v1.4.1!
Bug fixes
- b1eb248 Fixed zero "falsy" bug with Number Input.
- #97 0e10e94 Clear selection feature for Data List editors. (Okay, okay, it's a new feature in a patch release, but kinda fixes an issue, right?) 😉
Documentation
- #94 b18d5fb Updated Data List docs with info about IoC / Dependency Injection.
- 2f4b779 6edb0ff bd465a7 Added missing screenshots for Code Editor, Number Input and Text Input documentation.
Enjoy the release!
Thank you to @bjarnef and @torerikk for your feedback.
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.4.0
🤫 Shhhush... (Hey there Umbraco fans!)
(Inside voices please.) This is a very low key release, so please let's give a very quiet welcome to Contentment v1.4.0. 🤫
"So, Lee, what's new in this release?" I hear you ask. 😊 Nooo, it's a secret! (🤫 remember) "P-p-p-please!" 🥺🙏
Okay, okay, but don't tell anyone... 🤫
New Data Sources for Data List
Now that Data List has been used out-in-the-wild for a year or so, some folk have grasped its concept and wanted more - beyond what is shipped out the box - more data-sources, more list-editors. My default response has been "try roll you own custom data-source", which is suffice, but then if it's for a common scenario, and we're all rolling our own, then I start to think, what's the point?
In parallel, for my own client projects, I'd been finding all sorts of scenarios for needing custom data-sources. I put them all in my company's internal code library. Many of them were quite generic, so reached the conclusion to include them with Contentment.
Before we all get too excited, all of these new data-sources are hidden by default. By that, I mean they wont show up in the data-source list on a fresh/default install of Contentment. They all need to enabled in code (via an Umbraco Composer). This may be problematic for some developers, but it's a compromise that I came to after much deliberation. I'll explain...
The main reason to hide all these data-sources was to not overwhelm new and casual users. The new extra ones could be considered
advanced or edge-case, they aren't data-sources for typical use. (I'm sure some folk may disagree with me on that point, but hey-ho, it's my opinion).
Okay, okay, enough chatter, here are the new data-sources...
- 0723052 .NET Currencies, (that are part of the .NET Framework, as installed on your web server)
- d178daf .NET Countries, (that are part of the .NET Framework, as installed on your web server)
- 31b0022 .NET Time Zones, (that are part of the .NET Framework, as installed on your web server)
- 87a451d uCssClassName - a salute to @marcemarc! 🖖
- dbd3739 Umbraco Properties
- 2f94022 Umbraco XPath Content, (hopefully this will satisfy #78 #79 🤞)
- a026801 Umbraco Entity
- de81dbb Umbraco Image Cropper (as seen on a recent DEV.to article 😉 )
- 99e7639 Umbraco Member Group
- 61e4d7a User-defined (manual) (uh-uh I made a really nice DataListItem editor for this one 😊)
- e73a069 Umbraco Dictionary
Okay, so how do enable these?
All of the C# classes for the new data-sources are marked as public
, so you can add them in your Composer class like so...
composition
.ContentmentListItems()
.Add<Umbraco.Community.Contentment.DataEditors.CountriesDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.CurrenciesDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.TimeZoneDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.uCssClassNameDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.UmbracoContentPropertiesDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.UmbracoContentXPathDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.UmbracoDictionaryDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.UmbracoEntityDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.UmbracoImageCropDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.UmbracoMemberGroupDataListSource>()
.Add<Umbraco.Community.Contentment.DataEditors.UserDefinedDataListSource>()
;
Urgh, that's a bit long winded, how do I enable them all?!! Okay, okay, chill out, to enable all the new extra data-sources, you can do this...
composition.UnlockContentment(); // 😃
Happy? Ace! The reason for the granularity in the first snippet is so that you can pick and choose which new data-sources you want.
"Is that it? anything else in this release?" Golly gosh, there's no pleasing some people, okay, there are these little features...
- ff85753 Data List Preview - Added JSON tab, to view/copy the raw data.
- 02e6749 MVC Helper method for Content Blocks, e.g.
@Html.DoesPartialExist("partialViewName")
, and@Html.RenderElements(Model.ContentBlocks)
(it'll work with anyIEnumerable<IPublishedElement>
values).
Enjoy the release! 🤫
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.3.0
Hey there Umbraco fans!
Buckle up girls and boys, it's time for... Contentment v1.3.0!
New features
Property Editors
- Code Editor - a code snippet editor, (using the ACE library that is bundled with Umbraco).
Data List
Specifically for the Data List property-editor, there are new features...
- 3cfc35f Preview - (a real time preview of the configured Data Source and List Editor)
- a5e9146 Buttons - (list editor, similar to what folk see used in Umbraco Uno)
- 8dce37d Tags - (list editor, visually similar to Umbraco Tags editor)
Changes and bug fixes
- 91947d6 Temporary CSS fix for the Umbraco icon. Thanks to @bjarnef for spotting this with #77, (a proper fix will come in v2.0.0)
- #81, #82 Data List - Dropdown List - hides extra empty option. Thanks to @dawoe.
- dd67bd4 Data List - Enabled filter to overlay if there are over 10 items.
- f11ff1f Dashboard amends
- 5552b41 Refactored
PublishedContentContractResolver
- useful for rolling your own JSON responses - 297f4c6 Telemetry - captures additional (minimal) configuration
Enjoy the release!
Thank you to @bjarnef and @dawoe for your contributions during the development of this release.
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.2.1
Hey there Umbraco fans!
OK, OK, it's been less than a week since v1.2.0 was released, but I spotted a couple of bugs, patched them up, so here is... Contentment v1.2.1!
Bug fixes
- 1275b91 Fixed intermittent bug with
DisableContentmentTelemetry()
. - 2a623ee Data List's Checkbox List - fixed bug with "Check all" feature.
Enjoy the release!
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.2.0
Hey there Umbraco fans!
Well, well we meet again. May I present to you... Contentment v1.2.0!
Property Editors
- Text Input - a textstring editor, configurable with HTML5 options.
- Number Input - a numeric editor, with sizing configurations.
- Data List: Templated List - uses custom AngularJS markup to render selectable items.
New features
- #71 Added Telemetry feature. More details in the docs ⚡
- 67f00e0 Partially fixed bug with
lk-html-attributes
directive, it was overwriting theclass
attribute values - dd9a0ff Notes - enhanced to enable AngularJS directives/interpolation
- d146c4e Added "lkNodeName" AngularJS filter, wraps Umbraco's "ncNodeName" filter, for use with arrays - thanks @marcemarc for the suggestion
- 77a8a6d Content Blocks - made
IContentBlocksDisplayMode
interface public, should have been done for v1.1.0. Apologies! 😨 - b3a49cc New localized text, reworded the "Delete" confirmation prompts to say "Remove" instead. Previously reusing Nested Content's label
- 56ad4ca Data List's Item Picker - added option for removal confirmation prompt
- 1a52df1 Content Blocks - extended preview model with properties for
ElementIndex
,ElementTypeIcon
andContentTypeIcon
. Saves dealing with theViewData
object. - b7bb66c Content Blocks - added Preview support for
UmbracoViewPage<IPublishedElement>
- 0cd4bbf Adds
composition.DisableContentmentTree()
- nicer than trying to remember how to manually remove Contentment's tree and dashboard. - a19574e Content Blocks - anchored action menu to right - thanks @mattbrailsford for CSS hints
Changes and bug fixes since the v1.1.3 release
- 471fb25, 9094c87 Many tweaks to the Contentment dashboard
- 7aeea36 Content Blocks - fixed quirk displaying ElementType info
- 750f5ce Data List's Item Picker - switched the icon picker to use Umbraco's prevalue one
- 3667549 Data List's Item Picker - CSS rule to hide checkmark for unselected items - thanks @marcemarc for the suggestion
Enjoy the release!
Thank you to @marcemarc and @mattbrailsford for your support during the development of this release.
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.1.3
Hey there Umbraco fans!
Well, this is embarrassing, so soon after the Contentment v1.1.2 patch release, here's another one... Contentment v1.1.3!
Bug fixes
- #66 ContentBlocks preview doesn't work in Umbraco 8.7+
Enjoy the release!
Thanks to @pgregorynz for initially identifying issue #66. Fingers crossed, the 24 Days article can be amended, to note that the preview bug is resolved.
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.1.2
Hey there Umbraco fans!
Here comes the hot stepper... following the recent Contentment v1.1.1 release, here's another patch release... Contentment v1.1.2!
Bug fixes
- #59 No validation on the Content Picker overlay if Max Number of items is configured
- #61 Allow empty option dropdownlist multiple blank options
Enjoy the release!
Thank you to @marcemarc and @Matthew-Wise for feedback leading to this patch release.
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.1.1
Hey there Umbraco fans!
Hot on the heels of the recent Contentment v1.1.0 release, I have a patch release... Contentment v1.1.1!
Many Bothans died to bring us this information.
Bug fixes
- #56 Data List: Value Converter bug when ModelsBuilder is not enabled
Enjoy the release, @marcemarc! 🤫
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...
Contentment v1.1.0
Hey there Umbraco fans!
It's finally here, the wait is over... Contentment v1.1.0!
Property Editors
- Content Blocks - a block editor, configurable using element types.
New features
- d8d57fd Umbraco Content data-source for Data List editor - select a parent node to use its child nodes as the data-source.
- #42 Added "friendly name" option for File System data-source - thanks @lars-erik, @greystate, and @mattbrailsford.
- #48 Add Danish translation file - thanks @greystate.
- #50 Add Portuguese (Brazilian) translation file - thanks @RenanOD.
- 5542b4e Item Picker list-editor, added "overlay size" option.
Changes and bug fixes since the v1.0.1 release
- #41 Accessibility review outcomes, improvements, mostly swapping
<a>
s for<button>
s - thanks @BatJan. - 2bc04a4 Componentized the List editor and Stack editor - with the List editor component being reused with Content Blocks, Item Picker, Configuration Editor and Macro Picker.
- b21dbf6 Enum data-source, bug fix, when using
DataListItemAttribute.Value
, the converter wouldn't map to the Enum correctly. - 7129b76 JSON data-source, changed the defaults (to use Grid Editor config).
- #52 Item Picker list-editor, bug fix, when using duplicate selections, when items have same name, but different value - thanks @soreng.
- #37 Fixed
Easter egg🤫 in Safari browser - thanks @greystate.
Enjoy the release!
Thank you to @BatJan, @greystate, @RenanOD, @soreng, @lars-erik, and @mattbrailsford for your contributions and feedback during the development of this release.
Cheers,
@leekelleher
✌️❤️🕊️
This release is also available on NuGet...