Skip to content

Commit 42db985

Browse files
tahmidefazclaude
andauthored
fix: updating widget template config (#870)
* fix: updating widget template config * feat: add widgetRegistry entries for widget layout migration Add exploreCapabilities, favoriteServices, openshift, openshiftAi, recentlyVisited, and supportCases widget configs migrated from chrome-service-backend. Remove placeholder test entry. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: add quay widgetRegistry entry Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat: remove openshift, openshiftai, and quay widgetRegistry entries Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 04bb861 commit 42db985

1 file changed

Lines changed: 314 additions & 49 deletions

File tree

frontend.yml

Lines changed: 314 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -30,76 +30,341 @@ objects:
3030
exact: true
3131
widgetRegistry:
3232
- scope: "landing"
33-
module: "./LandingWidgetModule"
33+
module: "./ExploreCapabilities"
3434
config:
35-
icon: "CogIcon"
36-
title: "Recent Activity"
35+
icon: "RocketIcon"
36+
title: "Explore capabilities"
37+
defaults:
38+
w: 3
39+
h: 5
40+
maxH: 10
41+
minH: 1
42+
- scope: "chrome"
43+
module: "./DashboardFavorites"
44+
featureFlag: "widget.favoriteServices.enable"
45+
config:
46+
icon: "StarIcon"
47+
title: "My favorite services"
3748
headerLink:
38-
title: "View all activity"
39-
href: "/settings/activity"
49+
title: "View all services"
50+
href: "/allservices"
4051
defaults:
4152
w: 1
42-
h: 2
43-
maxH: 4
53+
h: 6
54+
maxH: 10
55+
minH: 1
56+
- scope: "landing"
57+
module: "./RecentlyVisited"
58+
featureFlag: "widget.recentlyVisited.enable"
59+
config:
60+
icon: "HistoryIcon"
61+
title: "Recently visited"
62+
defaults:
63+
w: 1
64+
h: 7
65+
maxH: 10
66+
minH: 1
67+
- scope: "landing"
68+
module: "./SupportCaseWidget"
69+
config:
70+
icon: "HeadsetIcon"
71+
title: "My support cases"
72+
headerLink:
73+
title: "Open a support case"
74+
href: "https://access.redhat.com/support/cases/#/case/new/get-support?caseCreate=true"
75+
defaults:
76+
w: 2
77+
h: 4
78+
maxH: 10
4479
minH: 1
4580
baseWidgetLayouts:
46-
- name: "landingDashboard"
47-
displayName: "Landing Dashboard"
81+
- name: "landingPage"
82+
displayName: "LandingPage"
4883
templateConfig:
4984
sm:
50-
- w: 1
51-
h: 2
52-
cx: 0
85+
- cx: 0
5386
cy: 0
54-
i: "recent-activity"
87+
i: 'rhel#rhel'
88+
w: 1
89+
h: 4
90+
maxH: 10
91+
minH: 1
92+
- cx: 0
93+
cy: 1
94+
i: 'openshift#openshift'
95+
w: 1
96+
h: 4
97+
maxH: 10
98+
minH: 1
99+
- cx: 0
100+
cy: 2
101+
i: 'ansible#ansible'
102+
w: 1
103+
h: 4
104+
maxH: 10
105+
minH: 1
106+
- cx: 0
107+
cy: 3
108+
i: 'recentlyVisited#recentlyVisited'
109+
w: 1
110+
h: 5
111+
maxH: 10
112+
minH: 1
113+
- cx: 0
114+
cy: 4
115+
i: 'favoriteServices#favoriteServices'
116+
w: 1
117+
h: 4
118+
maxH: 10
119+
minH: 1
120+
- cx: 0
121+
cy: 5
122+
i: 'subscriptions#subscriptions'
123+
w: 1
124+
h: 6
125+
maxH: 10
126+
minH: 1
127+
- cx: 0
128+
cy: 6
129+
i: 'exploreCapabilities#exploreCapabilities'
130+
w: 1
131+
h: 13
132+
maxH: 13
133+
minH: 1
134+
- cx: 0
135+
cy: 7
136+
i: 'openshiftAi#openshiftAi'
137+
w: 1
138+
h: 4
139+
maxH: 10
140+
minH: 1
141+
- cx: 0
142+
cy: 8
143+
i: 'imageBuilder#imageBuilder'
144+
w: 1
145+
h: 4
146+
maxH: 10
147+
minH: 1
148+
- cx: 0
149+
cy: 9
150+
i: 'acs#acs'
151+
w: 1
152+
h: 4
153+
maxH: 10
154+
minH: 1
55155
md:
56-
- w: 1
57-
h: 2
58-
cx: 0
156+
- cx: 0
59157
cy: 0
60-
i: "recent-activity"
61-
- w: 1
62-
h: 2
63-
cx: 1
158+
i: 'rhel#rhel'
159+
w: 1
160+
h: 4
161+
maxH: 10
162+
minH: 1
163+
- cx: 0
164+
cy: 1
165+
i: 'openshift#openshift'
166+
w: 1
167+
h: 4
168+
maxH: 10
169+
minH: 1
170+
- cx: 0
171+
cy: 2
172+
i: 'ansible#ansible'
173+
w: 1
174+
h: 4
175+
maxH: 10
176+
minH: 1
177+
- cx: 1
64178
cy: 0
65-
i: "quick-links"
179+
i: 'recentlyVisited#recentlyVisited'
180+
w: 1
181+
h: 3
182+
maxH: 10
183+
minH: 1
184+
- cx: 1
185+
cy: 1
186+
i: 'favoriteServices#favoriteServices'
187+
w: 1
188+
h: 4
189+
maxH: 10
190+
minH: 1
191+
- cx: 1
192+
cy: 2
193+
i: 'subscriptions#subscriptions'
194+
w: 1
195+
h: 5
196+
maxH: 10
197+
minH: 1
198+
- cx: 0
199+
cy: 3
200+
i: 'exploreCapabilities#exploreCapabilities'
201+
w: 2
202+
h: 6
203+
maxH: 10
204+
minH: 1
205+
- cx: 0
206+
cy: 4
207+
i: 'imageBuilder#imageBuilder'
208+
w: 1
209+
h: 4
210+
maxH: 10
211+
minH: 1
212+
- cx: 1
213+
cy: 4
214+
i: 'openshiftAi#openshiftAi'
215+
w: 1
216+
h: 4
217+
maxH: 10
218+
minH: 1
219+
- cx: 1
220+
cy: 3
221+
i: 'acs#acs'
222+
w: 2
223+
h: 3
224+
maxH: 10
225+
minH: 1
66226
lg:
67-
- w: 1
68-
h: 2
69-
cx: 0
227+
- cx: 0
70228
cy: 0
71-
i: "recent-activity"
72-
- w: 1
73-
h: 2
74-
cx: 1
229+
i: 'rhel#rhel'
230+
w: 1
231+
h: 4
232+
maxH: 10
233+
minH: 1
234+
- cx: 1
75235
cy: 0
76-
i: "quick-links"
77-
- w: 1
78-
h: 2
79-
cx: 2
236+
i: 'openshift#openshift'
237+
w: 1
238+
h: 4
239+
maxH: 10
240+
minH: 1
241+
- cx: 0
242+
cy: 1
243+
i: 'ansible#ansible'
244+
w: 2
245+
h: 4
246+
maxH: 10
247+
minH: 1
248+
- cx: 0
249+
cy: 4
250+
i: 'exploreCapabilities#exploreCapabilities'
251+
w: 2
252+
h: 6
253+
maxH: 10
254+
minH: 1
255+
- cx: 2
80256
cy: 0
81-
i: "notifications"
257+
i: 'recentlyVisited#recentlyVisited'
258+
w: 1
259+
h: 4
260+
maxH: 10
261+
minH: 1
262+
- cx: 2
263+
cy: 2
264+
i: 'favoriteServices#favoriteServices'
265+
w: 1
266+
h: 4
267+
maxH: 10
268+
minH: 1
269+
- cx: 2
270+
cy: 3
271+
i: 'subscriptions#subscriptions'
272+
w: 1
273+
h: 6
274+
maxH: 10
275+
minH: 1
276+
- cx: 0
277+
cy: 4
278+
i: 'openshiftAi#openshiftAi'
279+
w: 1
280+
h: 4
281+
maxH: 10
282+
minH: 1
283+
- cx: 1
284+
cy: 4
285+
i: 'imageBuilder#imageBuilder'
286+
w: 1
287+
h: 4
288+
maxH: 10
289+
minH: 1
290+
- cx: 2
291+
cy: 4
292+
i: 'acs#acs'
293+
w: 1
294+
h: 4
295+
maxH: 10
296+
minH: 1
82297
xl:
83-
- w: 1
84-
h: 2
85-
cx: 0
298+
- cx: 0
86299
cy: 0
87-
i: "recent-activity"
88-
- w: 1
89-
h: 2
90-
cx: 1
300+
i: 'rhel#rhel'
301+
w: 1
302+
h: 4
303+
maxH: 10
304+
minH: 1
305+
- cx: 1
91306
cy: 0
92-
i: "quick-links"
93-
- w: 1
94-
h: 2
95-
cx: 2
307+
i: 'openshift#openshift'
308+
w: 1
309+
h: 4
310+
maxH: 10
311+
minH: 1
312+
- cx: 2
96313
cy: 0
97-
i: "notifications"
98-
- w: 1
99-
h: 2
100-
cx: 3
314+
i: 'ansible#ansible'
315+
w: 1
316+
h: 4
317+
maxH: 10
318+
minH: 1
319+
- cx: 0
320+
cy: 2
321+
i: 'exploreCapabilities#exploreCapabilities'
322+
w: 3
323+
h: 6
324+
maxH: 10
325+
minH: 1
326+
- cx: 3
101327
cy: 0
102-
i: "system-status"
328+
i: 'recentlyVisited#recentlyVisited'
329+
w: 1
330+
h: 3
331+
maxH: 10
332+
minH: 1
333+
- cx: 3
334+
cy: 1
335+
i: 'favoriteServices#favoriteServices'
336+
w: 1
337+
h: 5
338+
maxH: 10
339+
minH: 1
340+
- cx: 3
341+
cy: 2
342+
i: 'subscriptions#subscriptions'
343+
w: 1
344+
h: 6
345+
maxH: 10
346+
minH: 1
347+
- cx: 0
348+
cy: 3
349+
i: 'openshiftAi#openshiftAi'
350+
w: 1
351+
h: 4
352+
maxH: 10
353+
minH: 1
354+
- cx: 1
355+
cy: 3
356+
i: 'imageBuilder#imageBuilder'
357+
w: 1
358+
h: 4
359+
maxH: 10
360+
minH: 1
361+
- cx: 2
362+
cy: 3
363+
i: 'acs#acs'
364+
w: 1
365+
h: 4
366+
maxH: 10
367+
minH: 1
103368
parameters:
104369
- name: ENV_NAME
105370
required: true

0 commit comments

Comments
 (0)