Skip to content

Commit f4c39c8

Browse files
author
Rafał Rogoda
committed
feat/develop-example-content
1 parent 996eae0 commit f4c39c8

File tree

2 files changed

+48
-62
lines changed

2 files changed

+48
-62
lines changed

charts/example-content/templates/contentconfigurations.yaml

+24-31
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
inlineConfiguration:
99
content: |-
1010
{
11-
"name": "overview",
11+
"name": "configuration-examples-overview",
1212
"creationTimestamp": "2025-01-30T08:00:00Z",
1313
"luigiConfigFragment": {
1414
"data": {
@@ -54,10 +54,26 @@ spec:
5454
},
5555
{
5656
"pathSegment": "secondExample",
57-
"hideFromNav": false,
58-
"defineEntity": {
59-
"id": "second"
60-
}
57+
"virtualTree": true,
58+
"url": "https://example.com/",
59+
"loadingIndicator": {
60+
"enabled": false
61+
},
62+
"requiredIFramePermissions": {
63+
"sandbox": [
64+
"allow-forms",
65+
"allow-modals",
66+
"allow-popups",
67+
"allow-popups-to-escape-sandbox",
68+
"allow-same-origin",
69+
"allow-scripts",
70+
"allow-download"
71+
],
72+
"allow": [
73+
"clipboard-read",
74+
"clipboard-write"
75+
]
76+
}
6177
},
6278
{
6379
"pathSegment": "fourthExample",
@@ -85,7 +101,7 @@ spec:
85101
},
86102
{
87103
"entityType": "main.overview::compound",
88-
"url": "http://localhost:4200/main.js#showcase",
104+
"url": "http://localhost:4400/main.js#showcase",
89105
"context": {
90106
},
91107
"layoutConfig": {
@@ -104,33 +120,10 @@ spec:
104120
"title": "{{firstExampleTitle}}",
105121
"description": "{{firstExampleDescription}}"
106122
}
107-
},
108-
{
109-
"entityType": "main.second",
110-
"pathSegment": "secondExample",
111-
"url": "https://example.com/",
112-
"loadingIndicator": {
113-
"enabled": false
114-
},
115-
"requiredIFramePermissions": {
116-
"sandbox": [
117-
"allow-forms",
118-
"allow-modals",
119-
"allow-popups",
120-
"allow-popups-to-escape-sandbox",
121-
"allow-same-origin",
122-
"allow-scripts",
123-
"allow-download"
124-
],
125-
"allow": [
126-
"clipboard-read",
127-
"clipboard-write"
128-
]
129-
}
130-
},
123+
},
131124
{
132125
"entityType": "main.fourth::compound",
133-
"url": "http://localhost:4200/main.js#account-overview",
126+
"url": "http://localhost:4400/main.js#account-overview",
134127
"context": {
135128
"title": "Showcase"
136129
},

charts/example-content/templates/tmp.yaml

+24-31
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
inlineConfiguration:
88
content: |-
99
{
10-
"name": "overview",
10+
"name": "configuration-examples-overview",
1111
"creationTimestamp": "2025-01-30T08:00:00Z",
1212
"luigiConfigFragment": {
1313
"data": {
@@ -53,10 +53,26 @@ spec:
5353
},
5454
{
5555
"pathSegment": "secondExample",
56-
"hideFromNav": false,
57-
"defineEntity": {
58-
"id": "second"
59-
}
56+
"virtualTree": true,
57+
"url": "https://example.com/",
58+
"loadingIndicator": {
59+
"enabled": false
60+
},
61+
"requiredIFramePermissions": {
62+
"sandbox": [
63+
"allow-forms",
64+
"allow-modals",
65+
"allow-popups",
66+
"allow-popups-to-escape-sandbox",
67+
"allow-same-origin",
68+
"allow-scripts",
69+
"allow-download"
70+
],
71+
"allow": [
72+
"clipboard-read",
73+
"clipboard-write"
74+
]
75+
}
6076
},
6177
{
6278
"pathSegment": "fourthExample",
@@ -84,7 +100,7 @@ spec:
84100
},
85101
{
86102
"entityType": "main.overview::compound",
87-
"url": "http://localhost:4200/main.js#showcase",
103+
"url": "http://localhost:4400/main.js#showcase",
88104
"context": {
89105
},
90106
"layoutConfig": {
@@ -103,33 +119,10 @@ spec:
103119
"title": "{{firstExampleTitle}}",
104120
"description": "{{firstExampleDescription}}"
105121
}
106-
},
107-
{
108-
"entityType": "main.second",
109-
"pathSegment": "secondExample",
110-
"url": "https://example.com/",
111-
"loadingIndicator": {
112-
"enabled": false
113-
},
114-
"requiredIFramePermissions": {
115-
"sandbox": [
116-
"allow-forms",
117-
"allow-modals",
118-
"allow-popups",
119-
"allow-popups-to-escape-sandbox",
120-
"allow-same-origin",
121-
"allow-scripts",
122-
"allow-download"
123-
],
124-
"allow": [
125-
"clipboard-read",
126-
"clipboard-write"
127-
]
128-
}
129-
},
122+
},
130123
{
131124
"entityType": "main.fourth::compound",
132-
"url": "http://localhost:4200/main.js#account-overview",
125+
"url": "http://localhost:4400/main.js#account-overview",
133126
"context": {
134127
"title": "Showcase"
135128
},

0 commit comments

Comments
 (0)