Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion catalog-info-plugins-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- ./workspaces/bulk-import/plugins/bulk-import-backend/catalog-info.yaml
- ./workspaces/bulk-import/plugins/bulk-import-common/catalog-info.yaml
- ./workspaces/bulk-import/plugins/bulk-import/catalog-info.yaml
- ./workspaces/homepage/plugins/dynamic-home-page/catalog-info.yaml
- ./workspaces/homepage/plugins/homepage/catalog-info.yaml
- ./workspaces/orchestrator/plugins/orchestrator-backend/catalog-info.yaml
- ./workspaces/orchestrator/plugins/orchestrator-common/catalog-info.yaml
- ./workspaces/orchestrator/plugins/orchestrator-swf-editor-envelope/catalog-info.yaml
Expand Down
7 changes: 7 additions & 0 deletions workspaces/homepage/.changeset/rename-homepage-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@red-hat-developer-hub/backstage-plugin-homepage': minor
'@red-hat-developer-hub/backstage-plugin-homepage-backend': patch
'@red-hat-developer-hub/backstage-plugin-homepage-common': patch
---

Renamed the frontend homepage plugin from `@red-hat-developer-hub/backstage-plugin-dynamic-home-page` to `@red-hat-developer-hub/backstage-plugin-homepage` for consistency with the sibling `homepage-backend` and `homepage-common` packages.
2 changes: 1 addition & 1 deletion workspaces/homepage/.changeset/renovate-b801429.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@red-hat-developer-hub/backstage-plugin-dynamic-home-page': patch
'@red-hat-developer-hub/backstage-plugin-homepage': patch
---

Updated dependency `react-use` to `17.6.1`.
2 changes: 1 addition & 1 deletion workspaces/homepage/.changeset/renovate-e174d86.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@red-hat-developer-hub/backstage-plugin-dynamic-home-page': patch
'@red-hat-developer-hub/backstage-plugin-homepage': patch
---

Updated dependency `@scalprum/react-core` to `0.11.3`.
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/catalog-starred.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Starred entities and starred entities grouped by catalog `Kind`:
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: CatalogStarredEntitiesCard
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/entity-section.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Entity Section Card is a UI component designed for the RHDH homepage experience.
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: EntitySection
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/featured-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Shows some techdocs.
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: FeaturedDocsCard
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/headline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Allow admins and customers to structure the home page content.
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: Headline
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The title is optional for both components.
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: MarkdownCard
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/onboarding-section.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The Learn Section Card is designed to help users quickly discover learning resou
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: OnboardingSection
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/placeholder.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The placeholder component could be used to test different layout options, and co
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: Placeholder
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/quick-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Allow users to easily discover resource.
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: QuickAccessCard
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/recently-visited.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Shows the recently visited pages (incl. catalog entities) the current user visit
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: RecentlyVisitedCard
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The search bar is a simple component that allows the user to start a search.
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: SearchBar
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/template-section.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The Template Section Card enables users to quickly explore and initiate software
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: TemplateSection
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/top-visited.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Shows the top visited pages (incl. catalog entities) the current user visited.
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: TopVisitedCard
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/cards/worldclock.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The world clock component (thanks again to the upstream Home plugin) is a great
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: WorldClock
Expand Down
6 changes: 3 additions & 3 deletions workspaces/homepage/docs/defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The home page loads automatically a configuration like this, when no other confi
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage
Expand Down Expand Up @@ -70,7 +70,7 @@ For an interactive homepage where users can add, remove, move, and resize cards:
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicCustomizableHomePage
Expand Down Expand Up @@ -130,7 +130,7 @@ Each card can have a `layouts` definition and `props` that are depending on the
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: Headline
Expand Down
18 changes: 9 additions & 9 deletions workspaces/homepage/docs/header.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The title can be changed by overriding the `title` property of the dynamic home
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage for customizable homepage
Expand All @@ -69,7 +69,7 @@ You can also use a `subtitle` property which isn't used by default:
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage
Expand All @@ -90,7 +90,7 @@ Some titles might look just good if the users have or have not a profile `displa
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage
Expand All @@ -115,7 +115,7 @@ The page title could override the header title to display a slightly different t
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage
Expand Down Expand Up @@ -147,7 +147,7 @@ To show the current time you must specific at least the `format`:
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage
Expand All @@ -164,7 +164,7 @@ Showing the current date instead of time:
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage
Expand All @@ -183,7 +183,7 @@ By default the format is based on the browser language settings. You can enforce
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage
Expand All @@ -201,7 +201,7 @@ There is also an option to specify a label shown above the time. This is especia
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage
Expand Down Expand Up @@ -243,7 +243,7 @@ The world clock option (thanks to the upstream home plugin) provides you the opt
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicHomePage # or DynamicCustomizableHomePage
Expand Down
8 changes: 4 additions & 4 deletions workspaces/homepage/docs/layout-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ So the default width takes 100% and the default height is 4*60 (row height) + 3*
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: Placeholder
Expand Down Expand Up @@ -60,7 +60,7 @@ The following card will use the full space on smaller widows, and the half of th
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: Placeholder
Expand All @@ -86,7 +86,7 @@ A second card will be shown below that card by default. To show cards side by si
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: Placeholder
Expand Down Expand Up @@ -125,7 +125,7 @@ And this will work similar also for 3 columns of course:
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
mountPoints:
- mountPoint: home.page/cards
importName: Placeholder
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/docs/user-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To enable this you must configure the home-page plugin and replace the default H
```yaml
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
red-hat-developer-hub.backstage-plugin-homepage:
dynamicRoutes:
- path: /
importName: DynamicCustomizableHomePage
Expand Down
12 changes: 6 additions & 6 deletions workspaces/homepage/e2e-tests/utils/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

// These translation files are not exported by the package, so relative imports are necessary for e2e tests
/* eslint-disable @backstage/no-relative-monorepo-imports */
import { homepageMessages } from '../../plugins/dynamic-home-page/src/translations/ref.js';
import homepageTranslationDe from '../../plugins/dynamic-home-page/src/translations/de.js';
import homepageTranslationFr from '../../plugins/dynamic-home-page/src/translations/fr.js';
import homepageTranslationEs from '../../plugins/dynamic-home-page/src/translations/es.js';
import homepageTranslationIt from '../../plugins/dynamic-home-page/src/translations/it.js';
import homepageTranslationJa from '../../plugins/dynamic-home-page/src/translations/ja.js';
import { homepageMessages } from '../../plugins/homepage/src/translations/ref.js';
import homepageTranslationDe from '../../plugins/homepage/src/translations/de.js';
import homepageTranslationFr from '../../plugins/homepage/src/translations/fr.js';
import homepageTranslationEs from '../../plugins/homepage/src/translations/es.js';
import homepageTranslationIt from '../../plugins/homepage/src/translations/it.js';
import homepageTranslationJa from '../../plugins/homepage/src/translations/ja.js';
/* eslint-enable @backstage/no-relative-monorepo-imports */

export type HomepageMessages = typeof homepageMessages;
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/packages/app-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@openshift/dynamic-plugin-sdk": "^5.0.1",
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-homepage": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-theme": "^0.14.1",
"@scalprum/react-core": "0.11.3",
"react": "^18.0.2",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/homepage/packages/app-legacy/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ import {
FeaturedDocsCard,
WorldClock,
HomePageCardMountPoint,
} from '@red-hat-developer-hub/backstage-plugin-dynamic-home-page';
import { homepageTranslations } from '@red-hat-developer-hub/backstage-plugin-dynamic-home-page/alpha';
} from '@red-hat-developer-hub/backstage-plugin-homepage';
import { homepageTranslations } from '@red-hat-developer-hub/backstage-plugin-homepage/alpha';

const identityProviders: IdentityProviders = [
'guest',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { CodeSnippet, Content, Header, Page } from '@backstage/core-components';
import { stringify } from 'yaml';

// eslint-disable-next-line @backstage/no-relative-monorepo-imports
import { useDynamicHomePageCards } from '../../../../../plugins/dynamic-home-page/src/hooks/useDynamicHomePageCards';
import { useDynamicHomePageCards } from '../../../../../plugins/homepage/src/hooks/useDynamicHomePageCards';

export const DebugHomepageAvailableWidgets = () => {
const mountPoints = useDynamicHomePageCards();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
import useAsync from 'react-use/lib/useAsync';
import { stringify } from 'yaml';

import { defaultWidgetsApiRef } from '@red-hat-developer-hub/backstage-plugin-dynamic-home-page';
import { defaultWidgetsApiRef } from '@red-hat-developer-hub/backstage-plugin-homepage';

export const DebugHomepageDefaultWidgets = () => {
const defaultWidgetsApi = useApi(defaultWidgetsApiRef);
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@backstage/ui": "^0.15.0",
"@mui/icons-material": "5.18.0",
"@mui/material": "5.18.0",
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-homepage": "workspace:^",
"@red-hat-developer-hub/backstage-plugin-theme": "^0.14.1",
"react": "^18.0.2",
"react-dom": "^18.0.2",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/packages/app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { signInModule } from './modules/signIn';
import {
homePageModule,
homepageTranslationsModule,
} from '@red-hat-developer-hub/backstage-plugin-dynamic-home-page/alpha';
} from '@red-hat-developer-hub/backstage-plugin-homepage/alpha';
import { rhdhThemeModule } from '@red-hat-developer-hub/backstage-plugin-theme/alpha';

export default createApp({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"role": "backend-plugin",
"pluginId": "homepage",
"pluginPackages": [
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page",
"@red-hat-developer-hub/backstage-plugin-homepage",
"@red-hat-developer-hub/backstage-plugin-homepage-backend",
"@red-hat-developer-hub/backstage-plugin-homepage-common"
]
Expand Down
2 changes: 1 addition & 1 deletion workspaces/homepage/plugins/homepage-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"role": "common-library",
"pluginId": "homepage",
"pluginPackages": [
"@red-hat-developer-hub/backstage-plugin-dynamic-home-page",
"@red-hat-developer-hub/backstage-plugin-homepage",
"@red-hat-developer-hub/backstage-plugin-homepage-backend",
"@red-hat-developer-hub/backstage-plugin-homepage-common"
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @red-hat-developer-hub/backstage-plugin-dynamic-home-page
# @red-hat-developer-hub/backstage-plugin-homepage

## 1.14.0

Expand Down
Loading
Loading