Skip to content

Commit 87e8a30

Browse files
committed
Switched to actions and colon
1 parent 717d3f6 commit 87e8a30

File tree

15 files changed

+23
-23
lines changed

15 files changed

+23
-23
lines changed

src/Umbraco.Web.UI.Client/src/apps/backoffice/components/backoffice-header-apps.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class UmbBackofficeHeaderAppsElement extends LitElement {
1818

1919
#extensionSlotRenderMethod = (ext: UmbExtensionElementInitializer<ManifestHeaderApp>) => {
2020
if (ext.component) {
21-
ext.component.setAttribute(UMB_MARK_ATTRIBUTE_NAME, 'header-app/' + ext.manifest?.alias);
21+
ext.component.setAttribute(UMB_MARK_ATTRIBUTE_NAME, 'header-app:' + ext.manifest?.alias);
2222
}
2323
return ext.component;
2424
};

src/Umbraco.Web.UI.Client/src/apps/backoffice/components/backoffice-header-sections.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class UmbBackofficeHeaderSectionsElement extends UmbLitElement {
6767
? this.localize.string(section.manifest?.meta.label)
6868
: section.manifest?.name,
6969
)}"
70-
data-mark="section-link/${section.alias}"></uui-tab>
70+
data-mark="section-link:${section.alias}"></uui-tab>
7171
`,
7272
)}
7373
</uui-tab-group>

src/Umbraco.Web.UI.Client/src/packages/block/block/workspace/views/edit/block-workspace-view-edit-tab.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class UmbBlockWorkspaceViewEditTabElement extends UmbLitElement {
8080
${this._hasProperties
8181
? html` <umb-block-workspace-view-edit-properties
8282
.managerName=${this.#managerName}
83-
data-mark="property-group/root"
83+
data-mark="property-group:root"
8484
.containerId=${this._containerId}></umb-block-workspace-view-edit-properties>`
8585
: ''}
8686
${this.hideSingleGroup && this._groups.length === 1
@@ -97,7 +97,7 @@ export class UmbBlockWorkspaceViewEditTabElement extends UmbLitElement {
9797
return html`
9898
<umb-block-workspace-view-edit-properties
9999
.managerName=${this.#managerName}
100-
data-mark="property-group/${group.name}"
100+
data-mark="property-group:${group.name}"
101101
.containerId=${group.id}></umb-block-workspace-view-edit-properties>
102102
`;
103103
}

src/Umbraco.Web.UI.Client/src/packages/core/content/workspace/views/edit/content-editor-tab.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class UmbContentWorkspaceViewEditTabElement extends UmbLitElement {
5454
? html`
5555
<uui-box>
5656
<umb-content-workspace-view-edit-properties
57-
data-mark="property-group/root"
57+
data-mark="property-group:root"
5858
.containerId=${this._containerId}></umb-content-workspace-view-edit-properties>
5959
</uui-box>
6060
`
@@ -65,7 +65,7 @@ export class UmbContentWorkspaceViewEditTabElement extends UmbLitElement {
6565
(group) =>
6666
html`<uui-box .headline=${this.localize.string(group.name) ?? ''}>
6767
<umb-content-workspace-view-edit-properties
68-
data-mark="property-group/${group.name}"
68+
data-mark="property-group:${group.name}"
6969
.containerId=${group.id}></umb-content-workspace-view-edit-properties>
7070
</uui-box>`,
7171
)}

src/Umbraco.Web.UI.Client/src/packages/core/property-type/workspace/views/settings/property-workspace-view-settings.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class UmbPropertyTypeWorkspaceViewSettingsElement extends UmbLitElement i
216216
<umb-form-validation-message>
217217
<uui-input
218218
id="name-input"
219-
data-mark="entity-name-input"
219+
data-mark="input:entity-name"
220220
name="name"
221221
label=${this.localize.term('placeholders_entername')}
222222
placeholder=${this.localize.term('placeholders_entername')}

src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-editor/workspace-editor.element.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ export class UmbWorkspaceEditorElement extends UmbLitElement {
9696
${when(
9797
!this.enforceNoFooter,
9898
() => html`
99-
<umb-workspace-footer slot="footer" data-mark="workspace-footer">
99+
<umb-workspace-footer slot="footer" data-mark="workspace:footer">
100100
<slot name="footer-info"></slot>
101-
<slot name="actions" slot="actions" data-mark="workspace-footer-actions"></slot>
101+
<slot name="actions" slot="actions" data-mark="workspace:footer-actions"></slot>
102102
</umb-workspace-footer>
103103
`,
104104
)}
@@ -110,7 +110,7 @@ export class UmbWorkspaceEditorElement extends UmbLitElement {
110110
return html`
111111
${!this.hideNavigation && this._workspaceViews.length > 1
112112
? html`
113-
<uui-tab-group slot="navigation" data-mark="workspace-view-links">
113+
<uui-tab-group slot="navigation" data-mark="workspace:view-links">
114114
${repeat(
115115
this._workspaceViews,
116116
(view) => view.alias,
@@ -122,7 +122,7 @@ export class UmbWorkspaceEditorElement extends UmbLitElement {
122122
.label="${view.meta.label ? this.localize.string(view.meta.label) : view.name}"
123123
?active=${'view/' + view.meta.pathname === this._activePath ||
124124
(index === 0 && this._activePath === '')}
125-
data-mark="workspace-view-link/${view.alias}">
125+
data-mark="workspace:view-link:${view.alias}">
126126
<umb-icon slot="icon" name=${view.meta.icon}></umb-icon>
127127
${view.meta.label ? this.localize.string(view.meta.label) : view.name}
128128
</uui-tab>
@@ -143,7 +143,7 @@ export class UmbWorkspaceEditorElement extends UmbLitElement {
143143
compact
144144
href=${this.backPath}
145145
label=${this.localize.term('general_back')}
146-
data-mark="workspace-back-button">
146+
data-mark="action:back">
147147
<uui-icon name="icon-arrow-left"></uui-icon>
148148
</uui-button>
149149
`;

src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-header-name-editable/workspace-header-name-editable.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class UmbWorkspaceHeaderNameEditableElement extends UmbLitElement {
4848
override render() {
4949
return html`<uui-input
5050
id="nameInput"
51-
data-mark="workspace-name-input"
51+
data-mark="input:workspace-name"
5252
.value=${this._name}
5353
@input="${this.#onNameInput}"
5454
required

src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export class UmbWorkspaceSplitViewVariantSelectorElement<
225225
? html`
226226
<uui-input
227227
id="name-input"
228-
data-mark="entity-name-input"
228+
data-mark="input:entity-name"
229229
label=${this.localize.term('placeholders_entername')}
230230
.value=${this._name ?? ''}
231231
@input=${this.#handleInput}

src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-split-view/workspace-split-view.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class UmbWorkspaceSplitViewElement extends UmbLitElement {
5252
${this.displayNavigation
5353
? html`<umb-workspace-entity-action-menu
5454
slot="action-menu"
55-
data-mark="workspace-action-menu"></umb-workspace-entity-action-menu>`
55+
data-mark="workspace:action-menu"></umb-workspace-entity-action-menu>`
5656
: ''}
5757
<slot name="action-menu" slot="action-menu"></slot>
5858
</umb-workspace-editor>

src/Umbraco.Web.UI.Client/src/packages/core/workspace/entity-detail/global-components/entity-detail-workspace-editor.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class UmbEntityDetailWorkspaceEditorElement extends UmbLitElement {
5656
if (this._isNew) return nothing;
5757
return html`<umb-workspace-entity-action-menu
5858
slot="action-menu"
59-
data-mark="workspace-action-menu"></umb-workspace-entity-action-menu>`;
59+
data-mark="workspace:action-menu"></umb-workspace-entity-action-menu>`;
6060
}
6161

6262
static override styles = [

0 commit comments

Comments
 (0)