Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 16/umbraco-ui-builder/areas/dashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ description: Configuring Dashboards in Umbraco UI Builder.

# Dashboards

Dashboards in Umbraco UI Builder provide an intuitive way to present important information and tools at the root of a section within the Umbraco backoffice. They serve as a starting point for users, offering quick access to relevant data, insights, or actions. Dashboards can be customized, reordered, and configured to display for specific user groups, making them a flexible tool for enhancing the backoffice experience. When multiple dashboards are available in a section, they appear in a tabbed layout for easy navigation.
Dashboards in Umbraco UI Builder provide an intuitive way to present important information and tools at the root of a section within the Umbraco backoffice. They serve as a starting point for users, offering quick access to relevant data, insights, or actions. Dashboards can be customized, reordered, and configured to display for specific user groups, making them a flexible tool for enhancing the backoffice experience. When multiple dashboards are available in a section, they appear in a tabbed layout for navigation.

![Dashboards](../images/dashboards.png)

## Defining a Dashboard

You can define a dashboard by calling one of the `AddDashboard` methods on a [`SectionConfigBuilder`](sections.md) or a [`WithSectionConfigBuilder`](sections.md#extending-an-existing-section) instance.
You can define a dashboard by calling one of the `AddDashboard` methods on a [`SectionConfigBuilder`](sections.md) or a [`WithSectionConfigBuilder`](sections.md#extending-existing-sections) instance.

### Using the `AddDashboard()` Method

Expand Down
2 changes: 1 addition & 1 deletion 16/umbraco-ui-builder/cards/custom-cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class AvgPersonAgeCard : Card
| Name | The name of the card. | Yes |
| Alias | A unique alias for the card. | Yes |
| GetValue(object parentId = null) | A method to retrieve the card's value. | Yes |
| Icon | An icon displaed in the card. | No |
| Icon | An icon displayed in the card. | No |
| Color | The color of the card. | No |
| Suffix | The suffix displayed after the card value. | No |

Expand Down
14 changes: 7 additions & 7 deletions 16/umbraco-ui-builder/changelog-archive/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ description: Changelog for Konstrukt, the backoffice UI builder for Umbraco.
**Description:** Patch release with bug fixes

- Moved encrypted properties implementation to the base repository class so encryption is honored when performing save/load operation directly against the repository API.
- Made `SecurityHelper` swappable so you can use something other than the default `DataProtectionProvider` implementation that comes out of the box (OOTB).
- Made `SecurityHelper` swappable so you can use something other than the default `DataProtectionProvider` implementation that comes out of the box.
- Fixed issue with advanced filters that use the lambda `ParameterReplacer` due to the parameter being replaced in the function, but not in the Lambda parameters list.
- Fixed date filters not working on mobile resolution devices.

Expand Down Expand Up @@ -62,7 +62,7 @@ description: Changelog for Konstrukt, the backoffice UI builder for Umbraco.

- Fixed searchable properties not being searched in a case-insensitive way for repositories that don't use Umbraco's NPoco extension methods.
- Fixed regression in Konstrukt repository not correctly combining filters.
- Fixed exception due to `ServiceProvider` not getting passed to Data transfer object (DTO) mapper.
- Fixed exception due to `ServiceProvider` not getting passed to Data Transfer Object (DTO) mapper.

## v1.5.0

Expand All @@ -89,16 +89,16 @@ description: Changelog for Konstrukt, the backoffice UI builder for Umbraco.
**Date:** 2022-07-12
**Description:** Minor release with additional features and bug fixes

- Added [`WithSection`](../areas/sections.md#extending-an-existing-section) / [`WithTree`](../areas/trees.md#extending-an-existing-tree) API to create more logical API groupings and to set context for some APIs.
- Added [`WithSection`](../areas/sections.md#extending-existing-sections) / [`WithTree`](../areas/trees.md#extending-an-existing-tree) API to create more logical API groupings and to set context for some APIs.
- Added [`AddTree`](../areas/trees.md#adding-a-tree-to-an-existing-section) support to allow adding a tree to an existing section (currently only able to add 1 Konstrukt tree per section).
- Added [Tree Group](../areas/trees.md#adding-a-group-to-a-tree) support to allow grouping root-level tree folders/collections.
- Added [Tab Sidebar](../collections/editors.md#configuring-a-sidebar-to-a-tab) support to allow showing metadata on the right-hand side of the editor.
- Added file upload support to the actions dialog
- Added a basic [Comma-separated values (CSV) Import](../actions/inbuilt-actions.md#konstruktimportentityaction) action
- Added a basic [Comma-separated Values (CSV) Import](../actions/inbuilt-actions.md#importentityaction) action
- Added [`HideLabel`](../collections/editors.md#hiding-the-label-of-a-field) support to editor fields to explicitly hide the label.
- Added explicit Insert / Update methods to IKonstruktRepository. Internally we use these now instead of the Save method as the Save method isn't reliably able to determine if an entity is new.
- Added better support for transient / scoped repository dependencies (example: better support for EF Core DB contexts which are by default registered as scoped)
- Obsoleted root-level APIs for `AddSection`, `AddDashboard` and `AddVirtualSubTree` which have now moved to sub-configurations of the [`WithSection`](../areas/sections.md#extending-an-existing-section) or [`WithTree`](../areas/trees.md#extending-an-existing-tree) APIs.
- Obsoleted root-level APIs for `AddSection`, `AddDashboard` and `AddVirtualSubTree` which have now moved to sub-configurations of the [`WithSection`](../areas/sections.md#extending-existing-sections) or [`WithTree`](../areas/trees.md#extending-an-existing-tree) APIs.
- Fixed bug with DataViews resolving the wrong filter when using groups and the data view has the same name as a view in a different group. We now prefix the data view alias with the group name to ensure uniqueness across groups.
- Fixed bug in child collections creating dialog thinking it was always editing an existing entity and so wrongfully trying to load an entity from the DB due to the fact the entity ID passed through to the dialog "0" when it should be "-1".

Expand All @@ -119,7 +119,7 @@ description: Changelog for Konstrukt, the backoffice UI builder for Umbraco.
- Added `DeletedProperty` support where the column type is an `int`, and the value is a unix timestamp
- Fixed bug with encrypted properties not handling `null` values
- **[Breaking]** - Updated minimum Umbraco dependency to v10
- **[Breaking]** - Updated UI assets to be a (RCL) Razor Compiled Library. **Be sure to clean your solution to remove old files**.
- **[Breaking]** - Updated UI assets to be a Razor Compiled Library (RCL). **Be sure to clean your solution to remove old files**.

## v1.1.1

Expand Down Expand Up @@ -149,7 +149,7 @@ description: Changelog for Konstrukt, the backoffice UI builder for Umbraco.
- Fixed entity picker value converter not working
- Fixed JS error when editing content due to bad null checking in the Konstrukt `redirectId` interceptor
- Deprecated List View Layout support
- **[Breaking]** - Obsoleted bulk actions and menu items in favour of new actions API
- **[Breaking]** - Obsoleted bulk actions and menu items in favor of new actions API
- **[Breaking]** - Moved actions, data views and cards configuration out of list views onto collections API

## v1.0.2
Expand Down
2 changes: 1 addition & 1 deletion 16/umbraco-ui-builder/collections/field-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For field views, place a view file in the `/Views/Shared/Components/FieldView` f
<!-- Insert your markup here -->
````

WTo register the view, pass the name of the view file (excluding the `.cshtml` file extension) to the relevant API method.
To register the view, pass the name of the view file (excluding the `.cshtml` file extension) to the relevant API method.

### Custom View Component

Expand Down
2 changes: 1 addition & 1 deletion 16/umbraco-ui-builder/filtering/data-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ collectionConfig.AddDataView("Status", "Active", p => p.IsActive);

Enables the `All` option for data views in the collection. The method can take an empty string, which will display the CMS localized `All` value, plain text, or a localized string.

#### Method Synthax
#### Method Syntax

```cs
collectionConfig.AddAllDataView(string? label)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ With the database and model set up, it is time to configure Umbraco UI Builder t
You can configure Umbraco UI Builder either through a Composer or by using the `AddUIBuilder` extension method in `Program.cs`.
{% endhint %}

The following steps cover the `Program.cs` approach. For more details, including configuring via a Composer, see the the [Configuration](../getting-started/configuration.md) article.
The following steps cover the `Program.cs` approach. For more details, including configuring via a Composer, see the [Configuration](../getting-started/configuration.md) article.

### Configuring via `Program.cs`

Expand Down
2 changes: 1 addition & 1 deletion 16/umbraco-ui-builder/miscellaneous/conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ config.AddSection("Repositories")
.AddCollection<People>(p => p.Id, "Person", "People");
```

### Lambda Expression Example Example
### Lambda Expression Example

```csharp
config.AddSection("Repositories", sectionConfig => {
Expand Down