Skip to content

Commit 263ac50

Browse files
feat(homepage): updating homepage wrapper (#3487)
* Updated dynamic home page plugin wrapper * Updating the version to 1.9.1 for dynamic home page
1 parent 4a3ee20 commit 263ac50

File tree

3 files changed

+67
-71
lines changed

3 files changed

+67
-71
lines changed

dynamic-plugins.default.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -737,22 +737,22 @@ plugins:
737737
importName: OnboardingSection
738738
config:
739739
layouts:
740-
xl: { w: 12, h: 5 }
741-
lg: { w: 12, h: 5 }
742-
md: { w: 12, h: 5 }
743-
sm: { w: 12, h: 5 }
744-
xs: { w: 12, h: 7 }
745-
xxs: { w: 12, h: 13 }
740+
xl: { w: 12, h: 6 }
741+
lg: { w: 12, h: 6 }
742+
md: { w: 12, h: 7 }
743+
sm: { w: 12, h: 8 }
744+
xs: { w: 12, h: 9 }
745+
xxs: { w: 12, h: 14 }
746746
- mountPoint: home.page/cards
747747
importName: EntitySection
748748
config:
749749
layouts:
750-
xl: { w: 12, h: 6 }
751-
lg: { w: 12, h: 6 }
752-
md: { w: 12, h: 6 }
753-
sm: { w: 12, h: 6 }
754-
xs: { w: 12, h: 10 }
755-
xxs: { w: 12, h: 14.5 }
750+
xl: { w: 12, h: 7 }
751+
lg: { w: 12, h: 7 }
752+
md: { w: 12, h: 8 }
753+
sm: { w: 12, h: 9 }
754+
xs: { w: 12, h: 11 }
755+
xxs: { w: 12, h: 15 }
756756
- mountPoint: home.page/cards
757757
importName: TemplateSection
758758
config:
@@ -763,6 +763,9 @@ plugins:
763763
sm: { w: 12, h: 5 }
764764
xs: { w: 12, h: 7.5 }
765765
xxs: { w: 12, h: 13.5 }
766+
translationResources:
767+
- importName: homepageTranslations
768+
ref: homepageTranslationRef
766769

767770
# Group: Techdocs
768771
- package: ./dynamic-plugins/dist/backstage-plugin-techdocs-backend-dynamic

dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-dynamic-home-page/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "red-hat-developer-hub-backstage-plugin-dynamic-home-page",
3-
"version": "1.5.3",
3+
"version": "1.9.1",
44
"main": "src/index.ts",
55
"types": "src/index.ts",
66
"license": "Apache-2.0",
@@ -29,7 +29,7 @@
2929
},
3030
"dependencies": {
3131
"@mui/material": "5.18.0",
32-
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page": "1.5.3"
32+
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page": "1.9.1"
3333
},
3434
"devDependencies": {
3535
"@backstage/cli": "^0.34.1",

dynamic-plugins/yarn.lock

Lines changed: 50 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -6764,7 +6764,7 @@ __metadata:
67646764
languageName: node
67656765
linkType: hard
67666766

6767-
"@backstage/plugin-home-react@npm:^0.1.15, @backstage/plugin-home-react@npm:^0.1.20, @backstage/plugin-home-react@npm:^0.1.26, @backstage/plugin-home-react@npm:^0.1.27":
6767+
"@backstage/plugin-home-react@npm:^0.1.15, @backstage/plugin-home-react@npm:^0.1.20":
67686768
version: 0.1.27
67696769
resolution: "@backstage/plugin-home-react@npm:0.1.27"
67706770
dependencies:
@@ -6786,7 +6786,7 @@ __metadata:
67866786
languageName: node
67876787
linkType: hard
67886788

6789-
"@backstage/plugin-home-react@npm:^0.1.30":
6789+
"@backstage/plugin-home-react@npm:^0.1.29, @backstage/plugin-home-react@npm:^0.1.30":
67906790
version: 0.1.30
67916791
resolution: "@backstage/plugin-home-react@npm:0.1.30"
67926792
dependencies:
@@ -6848,46 +6848,6 @@ __metadata:
68486848
languageName: node
68496849
linkType: hard
68506850

6851-
"@backstage/plugin-home@npm:^0.8.8":
6852-
version: 0.8.9
6853-
resolution: "@backstage/plugin-home@npm:0.8.9"
6854-
dependencies:
6855-
"@backstage/catalog-client": ^1.10.1
6856-
"@backstage/catalog-model": ^1.7.4
6857-
"@backstage/config": ^1.3.2
6858-
"@backstage/core-app-api": ^1.17.1
6859-
"@backstage/core-compat-api": ^0.4.3
6860-
"@backstage/core-components": ^0.17.3
6861-
"@backstage/core-plugin-api": ^1.10.8
6862-
"@backstage/frontend-plugin-api": ^0.10.3
6863-
"@backstage/plugin-catalog-react": ^1.19.0
6864-
"@backstage/plugin-home-react": ^0.1.27
6865-
"@backstage/theme": ^0.6.6
6866-
"@material-ui/core": ^4.12.2
6867-
"@material-ui/icons": ^4.9.1
6868-
"@material-ui/lab": 4.0.0-alpha.61
6869-
"@rjsf/core": 5.23.2
6870-
"@rjsf/material-ui": 5.23.2
6871-
"@rjsf/utils": 5.23.2
6872-
"@rjsf/validator-ajv8": 5.23.2
6873-
lodash: ^4.17.21
6874-
luxon: ^3.4.3
6875-
react-grid-layout: 1.3.4
6876-
react-resizable: ^3.0.4
6877-
react-use: ^17.2.4
6878-
zod: ^3.22.4
6879-
peerDependencies:
6880-
"@types/react": ^17.0.0 || ^18.0.0
6881-
react: ^17.0.0 || ^18.0.0
6882-
react-dom: ^17.0.0 || ^18.0.0
6883-
react-router-dom: ^6.3.0
6884-
peerDependenciesMeta:
6885-
"@types/react":
6886-
optional: true
6887-
checksum: 3c6e188a5b0adcbae91de5d4bd7e7d82e132a1ea2c0d9d050d30a154c0a7fe39bb05be703fc28c0ff86aadbcc347cfdc09305ee746b40d9798045401879339d0
6888-
languageName: node
6889-
linkType: hard
6890-
68916851
"@backstage/plugin-kubernetes-backend@npm:^0.20.1":
68926852
version: 0.20.1
68936853
resolution: "@backstage/plugin-kubernetes-backend@npm:0.20.1"
@@ -8251,6 +8211,39 @@ __metadata:
82518211
languageName: node
82528212
linkType: hard
82538213

8214+
"@backstage/plugin-user-settings@npm:^0.8.25":
8215+
version: 0.8.26
8216+
resolution: "@backstage/plugin-user-settings@npm:0.8.26"
8217+
dependencies:
8218+
"@backstage/catalog-model": ^1.7.5
8219+
"@backstage/core-app-api": ^1.19.0
8220+
"@backstage/core-compat-api": ^0.5.2
8221+
"@backstage/core-components": ^0.18.0
8222+
"@backstage/core-plugin-api": ^1.11.0
8223+
"@backstage/errors": ^1.2.7
8224+
"@backstage/frontend-plugin-api": ^0.12.0
8225+
"@backstage/plugin-catalog-react": ^1.21.0
8226+
"@backstage/plugin-signals-react": ^0.0.15
8227+
"@backstage/plugin-user-settings-common": ^0.0.1
8228+
"@backstage/theme": ^0.6.8
8229+
"@backstage/types": ^1.2.2
8230+
"@material-ui/core": ^4.12.2
8231+
"@material-ui/icons": ^4.9.1
8232+
"@material-ui/lab": 4.0.0-alpha.61
8233+
react-use: ^17.2.4
8234+
zen-observable: ^0.10.0
8235+
peerDependencies:
8236+
"@types/react": ^17.0.0 || ^18.0.0
8237+
react: ^17.0.0 || ^18.0.0
8238+
react-dom: ^17.0.0 || ^18.0.0
8239+
react-router-dom: ^6.3.0
8240+
peerDependenciesMeta:
8241+
"@types/react":
8242+
optional: true
8243+
checksum: fb21f77793e769c1b3c028aa5576dec9f5774f4019ccf9717b29b9c883bec22965814ab06319179b404d8c5b87d9943ca69c3d8aac99b6a34ae90ecb34a74374
8244+
languageName: node
8245+
linkType: hard
8246+
82548247
"@backstage/release-manifests@npm:^0.0.11":
82558248
version: 0.0.11
82568249
resolution: "@backstage/release-manifests@npm:0.0.11"
@@ -13994,20 +13987,20 @@ __metadata:
1399413987
languageName: node
1399513988
linkType: hard
1399613989

13997-
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page@npm:1.5.3":
13998-
version: 1.5.3
13999-
resolution: "@red-hat-developer-hub/backstage-plugin-dynamic-home-page@npm:1.5.3"
13990+
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page@npm:1.9.1":
13991+
version: 1.9.1
13992+
resolution: "@red-hat-developer-hub/backstage-plugin-dynamic-home-page@npm:1.9.1"
1400013993
dependencies:
14001-
"@backstage/catalog-client": ^1.10.0
14002-
"@backstage/catalog-model": ^1.7.4
14003-
"@backstage/core-components": ^0.17.2
14004-
"@backstage/core-plugin-api": ^1.10.7
14005-
"@backstage/plugin-catalog-react": ^1.18.0
14006-
"@backstage/plugin-home": ^0.8.8
14007-
"@backstage/plugin-home-react": ^0.1.26
14008-
"@backstage/plugin-search-react": ^1.9.0
14009-
"@backstage/plugin-user-settings": ^0.8.22
14010-
"@backstage/theme": ^0.6.6
13994+
"@backstage/catalog-client": ^1.11.0
13995+
"@backstage/catalog-model": ^1.7.5
13996+
"@backstage/core-components": ^0.17.5
13997+
"@backstage/core-plugin-api": ^1.10.9
13998+
"@backstage/plugin-catalog-react": ^1.20.1
13999+
"@backstage/plugin-home": ^0.8.11
14000+
"@backstage/plugin-home-react": ^0.1.29
14001+
"@backstage/plugin-search-react": ^1.9.3
14002+
"@backstage/plugin-user-settings": ^0.8.25
14003+
"@backstage/theme": ^0.6.8
1401114004
"@mui/icons-material": 5.18.0
1401214005
"@mui/material": 5.18.0
1401314006
"@mui/styles": 5.18.0
@@ -14018,7 +14011,7 @@ __metadata:
1401814011
peerDependencies:
1401914012
react: 16.13.1 || ^17.0.0 || ^18.2.0
1402014013
react-router-dom: 6.30.1
14021-
checksum: ecc928298b919e68ec28d392102280ecf166c794aefc128004788b020dcdcee09c29502787e4cf20a014ef9cd4c15d2f343c30e4bb1bd38f9c79d713fc548c0d
14014+
checksum: 0dc2881f32268ce64a871ee17008bf7ff55c0039218b3fdd76c7f2cd49d5303e72042b4470b7dbbf7cd756396656d6e88dddb5cc3cd4dab612a4c962475f7a7c
1402214015
languageName: node
1402314016
linkType: hard
1402414017

@@ -35025,7 +35018,7 @@ __metadata:
3502535018
"@backstage/cli": ^0.34.1
3502635019
"@janus-idp/cli": 3.6.1
3502735020
"@mui/material": 5.18.0
35028-
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page": 1.5.3
35021+
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page": 1.9.1
3502935022
typescript: 5.9.2
3503035023
languageName: unknown
3503135024
linkType: soft

0 commit comments

Comments
 (0)