Skip to content
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
6641f39
Add table collection view and manifests
madsrasmussen Mar 2, 2026
60326a7
Use table kind in collection example
madsrasmussen Mar 2, 2026
71b2b36
Update entity-name-table-column-layout.element.ts
madsrasmussen Mar 2, 2026
1c707e8
Recompute table rows when item hrefs change
madsrasmussen Mar 2, 2026
e723f39
define and render columns from manifest
madsrasmussen Mar 2, 2026
69b7c99
wip language implementation
madsrasmussen Mar 2, 2026
4b5f83a
map to unique field
madsrasmussen Mar 2, 2026
447e3da
rename to label
madsrasmussen Mar 18, 2026
7e4cea1
Merge branch 'main' into v17/feature/table-kind-collection-view
madsrasmussen Mar 18, 2026
52b48da
test implementation for users table
madsrasmussen Mar 18, 2026
e309f50
Merge branch 'main' into v17/feature/table-kind-collection-view
madsrasmussen Apr 7, 2026
1c632aa
clean up
madsrasmussen Apr 7, 2026
b41ad1f
add example entity actions
madsrasmussen Apr 7, 2026
cdc712c
add example description
madsrasmussen Apr 7, 2026
a5fe3cb
Merge branch 'main' into v17/feature/table-kind-collection-view
madsrasmussen Apr 7, 2026
fd093e7
Update table-collection-view.element.ts
madsrasmussen Apr 7, 2026
5e1e26a
Omit base 'meta' and relax table meta type
madsrasmussen Apr 7, 2026
03514eb
Hardcode description column when present
madsrasmussen Apr 7, 2026
32147da
localize column names
madsrasmussen Apr 7, 2026
ca003e9
Update table-collection-view.element.ts
madsrasmussen Apr 7, 2026
e1cc560
Type manifest on collection view elements
madsrasmussen Apr 7, 2026
858fc5b
Use UmbLitElement instead of LitElement
madsrasmussen Apr 7, 2026
c3d2651
fix types
madsrasmussen Apr 7, 2026
ef4bb77
Update entity-name-table-column-layout.element.ts
madsrasmussen Apr 7, 2026
8cadb7e
provide entity context for each table row
madsrasmussen Apr 8, 2026
aeb54c7
fix breaking change and introduce a deprecation warning
madsrasmussen Apr 8, 2026
9b1d762
Add status column to example collection view + localize column labels
madsrasmussen Apr 8, 2026
b65c2cc
implement the UmbTableColumnLayoutElement interface
madsrasmussen Apr 8, 2026
5ed91b9
add tests for the table collection view
madsrasmussen Apr 8, 2026
98ea8f6
Make host element optional; add table docs/types
madsrasmussen Apr 8, 2026
c6bf8ef
Merge branch 'main' into v17/feature/table-kind-collection-view
madsrasmussen Apr 8, 2026
05332f2
Update controller-host.mixin.ts
madsrasmussen Apr 8, 2026
192f419
Merge branch 'v17/feature/table-kind-collection-view' of https://gith…
madsrasmussen Apr 8, 2026
6d9c4cf
Update src/Umbraco.Web.UI.Client/src/packages/core/entity-action/glob…
madsrasmussen Apr 8, 2026
3530bab
Merge branch 'main' into v17/feature/table-kind-collection-view
nielslyngsoe Apr 15, 2026
ca5ee9f
Merge branch 'main' into v17/feature/table-kind-collection-view
madsrasmussen Apr 17, 2026
1806d1e
Update controller-host.mixin.ts
madsrasmussen Apr 17, 2026
ef88e00
Update entity-name-table-column-layout.element.ts
madsrasmussen Apr 17, 2026
c3207a4
Update entity-actions-table-column-view.element.ts
madsrasmussen Apr 17, 2026
c67ef84
Handle undefined row element in table rendering
madsrasmussen Apr 17, 2026
2795344
Update controller-host.mixin.ts
madsrasmussen Apr 17, 2026
f93cc5f
Merge branch 'main' into v17/feature/table-kind-collection-view
madsrasmussen Apr 20, 2026
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,40 @@ export class ExampleCollectionRepository
entityType: 'example',
name: 'Example Item 1',
icon: 'icon-newspaper',
description: 'This is a description of Example Item 1',
status: 'Published',
},
{
unique: 'bc9b6e24-4b11-4dd6-8d4e-7c4f70e59f3c',
entityType: 'example',
name: 'Example Item 2',
icon: 'icon-newspaper',
description: 'This is a description of Example Item 2',
status: 'Draft',
},
{
unique: '5a2f4e3a-ef7e-470e-8c3c-3d859c02ae0d',
entityType: 'example',
name: 'Example Item 3',
icon: 'icon-newspaper',
description: 'This is a description of Example Item 3',
status: 'Published',
},
{
unique: 'f4c3d8b8-6d79-4c87-9aa9-56b1d8fda702',
entityType: 'example',
name: 'Example Item 4',
icon: 'icon-newspaper',
description: 'This is a description of Example Item 4',
status: 'Draft',
},
{
unique: 'c9f0a8a3-1b49-4724-bde3-70e31592eb6e',
entityType: 'example',
name: 'Example Item 5',
icon: 'icon-newspaper',
description: 'This is a description of Example Item 5',
status: 'Published',
},
];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { UmbCollectionFilterModel } from '@umbraco-cms/backoffice/collection';
import type { UmbCollectionFilterModel, UmbCollectionItemModel } from '@umbraco-cms/backoffice/collection';
import type { UmbWithDescriptionModel } from '@umbraco-cms/backoffice/models';

export interface ExampleCollectionItemModel {
unique: string;
entityType: string;
export interface ExampleCollectionItemModel extends UmbCollectionItemModel, UmbWithDescriptionModel {
name: string;
icon: string;
status: string;
}

export interface ExampleCollectionFilterModel extends UmbCollectionFilterModel {}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import { UMB_COLLECTION_ALIAS_CONDITION } from '@umbraco-cms/backoffice/collecti
export const manifests: Array<UmbExtensionManifest> = [
{
type: 'collectionView',
kind: 'table',
alias: 'Example.CollectionView.Table',
name: 'Example Table Collection View',
js: () => import('./collection-view.element.js'),
weight: 100,
meta: {
label: 'Table',
icon: 'icon-table',
pathName: 'table',
columns: [
{
label: '#general_status',
field: 'status',
},
],
},
conditions: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { UmbEntityActionBase } from '@umbraco-cms/backoffice/entity-action';

export class ExampleGoodbyeEntityAction extends UmbEntityActionBase<never> {
override async execute() {
alert(`Goodbye from "${this.args.unique}"!`);
}
}

export { ExampleGoodbyeEntityAction as api };
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { UmbEntityActionBase } from '@umbraco-cms/backoffice/entity-action';

export class ExampleHelloEntityAction extends UmbEntityActionBase<never> {
override async execute() {
alert(`Hello from "${this.args.unique}"!`);
}
}

export { ExampleHelloEntityAction as api };
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
export const manifests: Array<UmbExtensionManifest> = [
{
type: 'entityAction',
kind: 'default',
alias: 'Example.EntityAction.Hello',
name: 'Example Hello Entity Action',
forEntityTypes: ['example'],
api: () => import('./hello.action.js'),
meta: {
icon: 'icon-handshake',
label: 'Say Hello',
},
},
{
type: 'entityAction',
kind: 'default',
alias: 'Example.EntityAction.Goodbye',
name: 'Example Goodbye Entity Action',
forEntityTypes: ['example'],
api: () => import('./goodbye.action.js'),
meta: {
icon: 'icon-chat',
label: 'Say Goodbye',
},
},
];
2 changes: 2 additions & 0 deletions src/Umbraco.Web.UI.Client/examples/collection/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { manifests as collectionManifests } from './collection/manifests.js';
import { manifests as dashboardManifests } from './dashboard-with-collection/manifests.js';
import { manifests as entityActionManifests } from './entity-actions/manifests.js';
import { manifests as workspaceViewManifests } from './workspace-view-with-collection/manifests.js';

export const manifests: Array<UmbExtensionManifest> = [
...collectionManifests,
...dashboardManifests,
...entityActionManifests,
...workspaceViewManifests,
];
1 change: 1 addition & 0 deletions src/Umbraco.Web.UI.Client/src/assets/lang/da.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,7 @@ export default {
delete: 'Slet',
deleted: 'Slettet',
deleting: 'Sletter...',
description: 'Beskrivelse',
design: 'Design',
details: 'Detaljer',
dictionary: 'Ordbog',
Expand Down
Loading
Loading