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
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/workspaces/cost-management @redhat-developer/rhdh-plugins-maintainers @ydayagi @mareklibra @batzionb @PreetiW @asmasarw @Aurobinda55 @r14chandra @kgaikwad
/workspaces/dcm @redhat-developer/rhdh-plugins-maintainers @asmasarw @mareklibra
/workspaces/extensions @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-plugins @redhat-developer/rhdh-ui @christoph-jerolimov @karthikjeeyar
/workspaces/global-header @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-ui @ciiay @divyanshiGupta
/workspaces/app-defaults/plugins/app-defaults/src/global-header @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-ui @ciiay @divyanshiGupta
/workspaces/homepage @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-ui @christoph-jerolimov @eswaraiahsapram
/workspaces/install-dynamic-plugins @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-plugins
/workspaces/intelligent-assistant @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-ui @redhat-developer/rhdh-ai @karthikjeeyar @rohitkrai03 @yangcao77
Expand All @@ -32,6 +32,7 @@
/workspaces/orchestrator @redhat-developer/rhdh-plugins-maintainers @lholmquist @lokanandaprabhu @redhat-developer/rhdh-plugins @karthikjeeyar @christoph-jerolimov
/workspaces/quickstart @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-ui @divyanshiGupta @its-mitesh-kumar
/workspaces/scorecard @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-plugins @redhat-developer/rhdh-ui @christoph-jerolimov @its-mitesh-kumar @eswaraiahsapram
/workspaces/test-plugins @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-ui @ciiay @divyanshiGupta
/workspaces/theme @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-ui @ciiay @logonoff
/workspaces/translations @redhat-developer/rhdh-plugins-maintainers @redhat-developer/rhdh-ui @ciiay @debsmita1 @karthikjeeyar
/workspaces/x2a @redhat-developer/rhdh-plugins-maintainers @mareklibra @eloycoto @yray-pixel
Expand Down
9 changes: 9 additions & 0 deletions .github/archived-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@
"gitTag": "@red-hat-developer-hub/backstage-plugin-augment-common@0.3.0",
"reason": "No longer maintained",
"archivedDate": "2026-11-02"
},
{
"pluginName": "@red-hat-developer-hub/backstage-plugin-global-header",
"version": "3.3.1",
"workspace": "global-header",
"plugin": "global-header",
"gitTag": "@red-hat-developer-hub/backstage-plugin-global-header@3.3.1",
"reason": "Merged into @red-hat-developer-hub/backstage-plugin-app-defaults",
"archivedDate": "2026-11-24"
}
]
}
5 changes: 3 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ workspace/dcm:
workspace/extensions:
- 'Workspace\\s*extensions'

workspace/global-header:
- 'Workspace\\s*global-header'

workspace/homepage:
- 'Workspace\\s*homepage'
Expand Down Expand Up @@ -49,6 +47,9 @@ workspace/repo-tools:
workspace/scorecard:
- 'Workspace\\s*scorecard'

workspace/test-plugins:
- 'Workspace\\s*test-plugins'

workspace/theme:
- 'Workspace\\s*theme'

Expand Down
7 changes: 4 additions & 3 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ workspace/extensions:
- changed-files:
- any-glob-to-any-file: ['workspaces/extensions/**']

workspace/global-header:
- changed-files:
- any-glob-to-any-file: ['workspaces/global-header/**']

workspace/homepage:
- changed-files:
Expand Down Expand Up @@ -66,6 +63,10 @@ workspace/scorecard:
- changed-files:
- any-glob-to-any-file: ['workspaces/scorecard/**']

workspace/test-plugins:
- changed-files:
- any-glob-to-any-file: ['workspaces/test-plugins/**']

workspace/theme:
- changed-files:
- any-glob-to-any-file: ['workspaces/theme/**']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,29 @@
"packageRules": [
{
"description": "all Global Header minor updates",
"matchFileNames": ["workspaces/global-header/**"],
"matchFileNames": [
"workspaces/app-defaults/plugins/app-defaults/src/global-header/**"
],
"extends": [
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-minor-presets(Global Header)"
],
"addLabels": ["team/rhdh", "global-header"]
},
{
"description": "all Global Header patch updates",
"matchFileNames": ["workspaces/global-header/**"],
"matchFileNames": [
"workspaces/app-defaults/plugins/app-defaults/src/global-header/**"
],
"extends": [
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-patch-presets(Global Header)"
],
"addLabels": ["team/rhdh", "global-header"]
},
{
"description": "all Global Header dev dependency updates",
"matchFileNames": ["workspaces/global-header/**"],
"matchFileNames": [
"workspaces/app-defaults/plugins/app-defaults/src/global-header/**"
],
"extends": [
"github>redhat-developer/rhdh-plugins//.github/renovate-presets/base/rhdh-devdependency-presets(Global Header)"
],
Expand Down
17 changes: 9 additions & 8 deletions ARCHIVED_WORKSPACES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ When a workspace or plugin is archived:

## Archived Items

| Workspace | Package | Reason | Source |
| ----------------------------- | ----------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| global-floating-action-button | `@red-hat-developer-hub/backstage-plugin-global-floating-action-button` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-global-floating-action-button@1.9.3](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-global-floating-action-button%401.9.3/workspaces/global-floating-action-button) |
| openshift-image-registry | `@red-hat-developer-hub/backstage-plugin-openshift-image-registry` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-openshift-image-registry@1.18.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-openshift-image-registry%401.18.0/workspaces/openshift-image-registry) |
| sandbox | `@red-hat-developer-hub/backstage-plugin-sandbox` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-sandbox@0.1.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-sandbox%400.1.0/workspaces/sandbox) |
| augment | `@red-hat-developer-hub/backstage-plugin-augment` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-augment@0.3.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-augment%400.3.0/workspaces/augment) |
| augment | `@red-hat-developer-hub/backstage-plugin-augment-backend` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-augment-backend@0.3.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-augment-backend%400.3.0/workspaces/augment) |
| augment | `@red-hat-developer-hub/backstage-plugin-augment-common` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-augment-common@0.3.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-augment-common%400.3.0/workspaces/augment) |
| Workspace | Package | Reason | Source |
| ----------------------------- | ----------------------------------------------------------------------- | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| global-floating-action-button | `@red-hat-developer-hub/backstage-plugin-global-floating-action-button` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-global-floating-action-button@1.9.3](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-global-floating-action-button%401.9.3/workspaces/global-floating-action-button) |
| openshift-image-registry | `@red-hat-developer-hub/backstage-plugin-openshift-image-registry` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-openshift-image-registry@1.18.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-openshift-image-registry%401.18.0/workspaces/openshift-image-registry) |
| sandbox | `@red-hat-developer-hub/backstage-plugin-sandbox` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-sandbox@0.1.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-sandbox%400.1.0/workspaces/sandbox) |
| augment | `@red-hat-developer-hub/backstage-plugin-augment` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-augment@0.3.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-augment%400.3.0/workspaces/augment) |
| augment | `@red-hat-developer-hub/backstage-plugin-augment-backend` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-augment-backend@0.3.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-augment-backend%400.3.0/workspaces/augment) |
| augment | `@red-hat-developer-hub/backstage-plugin-augment-common` | No longer maintained | [@red-hat-developer-hub/backstage-plugin-augment-common@0.3.0](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-augment-common%400.3.0/workspaces/augment) |
| global-header | `@red-hat-developer-hub/backstage-plugin-global-header` | Merged into app-defaults | [@red-hat-developer-hub/backstage-plugin-global-header@3.3.1](https://github.com/redhat-developer/rhdh-plugins/tree/%40red-hat-developer-hub%2Fbackstage-plugin-global-header%403.3.1/workspaces/global-header) |
2 changes: 1 addition & 1 deletion catalog-info-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ spec:
# included packages (=frontend plugins, backend plugins, etc.).
# For maintance reasons, please keep this list alphabetically sorted.
- ./workspaces/bulk-import/catalog-info.yaml
- ./workspaces/global-header/catalog-info.yaml
- ./workspaces/homepage/catalog-info.yaml
- ./workspaces/lightspeed/catalog-info.yaml
- ./workspaces/extensions/catalog-info.yaml
- ./workspaces/orchestrator/catalog-info.yaml
- ./workspaces/test-plugins/catalog-info.yaml
- ./workspaces/theme/catalog-info.yaml
10 changes: 5 additions & 5 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,16 @@ component_management:
name: 'Generally-Available Plugins'
paths:
- workspaces/adoption-insights/
- workspaces/app-defaults/
- workspaces/bulk-import/
- workspaces/global-header/
- workspaces/homepage/
- workspaces/intelligent-assistant/
- workspaces/orchestrator/
- workspaces/quickstart/
# Tech-Preview Plugins — 4 workspace(s)
# Tech-Preview Plugins — 3 workspace(s)
- component_id: tech-preview-plugins
name: 'Tech-Preview Plugins'
paths:
- workspaces/app-defaults/
- workspaces/cost-management/
- workspaces/extensions/
- workspaces/scorecard/
Expand Down Expand Up @@ -170,7 +169,8 @@ flag_management:
- workspaces/extensions/
- name: e2e-global-header
paths:
- workspaces/global-header/
- workspaces/app-defaults/e2e-tests/global-header.spec.ts
- workspaces/app-defaults/e2e-tests/utils/global-header/
- name: e2e-homepage
paths:
- workspaces/homepage/
Expand Down Expand Up @@ -207,7 +207,7 @@ flag_management:
- workspaces/extensions/
- name: global-header
paths:
- workspaces/global-header/
- workspaces/app-defaults/plugins/app-defaults/src/global-header/
- name: homepage
paths:
- workspaces/homepage/
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/material-ui-v4-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"app-defaults",
"bulk-import",
"extensions",
"global-header",
"homepage",
"intelligent-assistant",
"orchestrator",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
Comment thread
debsmita1 marked this conversation as resolved.
Resolved
'@red-hat-developer-hub/backstage-plugin-app-react': minor
'@red-hat-developer-hub/backstage-plugin-app-defaults': minor
---

Moved the global header into app-defaults and split extension APIs into app-react.

`app-react` exports `GlobalHeaderComponentBlueprint`, `GlobalHeaderMenuItemBlueprint`,
related data refs, types, and context hooks
(`useGlobalHeaderComponents` / `useGlobalHeaderMenuItems`) so plugins can contribute
header items without depending on the default implementation.

`app-defaults` hosts the default module, plugin, translations, and configuration, and
loads them through the feature loader. Default toolbar/menu items are also available
from `./global-header` (`globalHeaderPlugin`). Building-block UI
(`GlobalHeaderMenuItem`, `GlobalHeaderIconButton`, `GlobalHeaderDropdown`,
`GlobalHeaderCompanyLogo`) is exported from `/global-header-components`. The header
logo export is named `GlobalHeaderCompanyLogo` so it does not collide with the sidebar
`CompanyLogo` on the package root.

`HeaderIcon` resolves icons via `iconsApi` and falls back to `useApp().getSystemIcon`
so legacy host icon catalogs keep working. The common icon bundle adds Material Icons
ligature aliases (`waving_hand` → same glyph as `quickstart`, plus snake_case variants
of camelCase ids such as `manage_accounts`) so remotes that still pass ligature ids
render on hosts that do not load the Material Icons font.

**BREAKING:** `@red-hat-developer-hub/backstage-plugin-global-header` is discontinued
(the standalone `workspaces/global-header` workspace is removed). Migrate imports to
`@red-hat-developer-hub/backstage-plugin-app-defaults` and
`@red-hat-developer-hub/backstage-plugin-app-react`. Building-block UI that used
`/components` now lives at `/global-header-components`.

**BREAKING:** The app-defaults feature loader now registers the global header masthead
by default. Disable `app-root-wrapper:app/global-header` if you do not want it.
55 changes: 55 additions & 0 deletions workspaces/app-defaults/app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ app:
- page:catalog:
config:
path: /
title: Home
- api:app/app-language:
config:
availableLanguages: ['en', 'de', 'es', 'fr', 'it', 'ja']
Expand All @@ -22,6 +23,16 @@ app:
# Demo element that throws on render; keep it disabled by default.
- sidebar-element:app/crashing: false

support:
url: https://access.redhat.com/products/red-hat-developer-hub
items:
- title: Red Hat Developer Hub
links:
- url: https://access.redhat.com/products/red-hat-developer-hub
title: Product Info
- url: https://access.redhat.com/documentation/en-us/red_hat_developer_hub
title: Documentation

# Sidebar entries declared in config are merged with the contributed ones
# (see plugins/app-defaults/README.md). `Community` is a top-level link,
# `Plugin catalog` joins the Administration group of app-defaults.
Expand All @@ -43,6 +54,50 @@ app:
icon: help
to: https://docs.redhat.com/en/documentation/red_hat_developer_hub

globalHeader:
components:
- title: Visualizer Dashboard
titleKey: components.visualizerDashboard
icon: dashboard
link: /visualizer/tree
priority: 75

menuItems:
- target: help
title: Quick start
titleKey: help.quickStart
icon: waving_hand
link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/
priority: 100
- target: app-launcher
title: Internal Wiki
titleKey: applicationLauncher.internalWiki
icon: article
link: https://wiki.internal.example.com
sectionLabel: applicationLauncher.sections.resources
priority: 80
- target: app-launcher
title: Issue Tracker
titleKey: applicationLauncher.issueTracker
icon: bugReport
link: https://issues.internal.example.com
sectionLabel: applicationLauncher.sections.resources
priority: 70
- target: help
title: FAQ
titleKey: help.faq
icon: quiz
link: https://faq.example.com
sectionLabel: help.supportTitle
priority: 90
- target: help
title: Community Forum
titleKey: help.communityForum
icon: forum
link: https://forum.example.com
sectionLabel: help.supportTitle
priority: 80

organization:
name: My Company

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ string ids in `globalHeader.menuItems`, `globalHeader.components`, mount-point
| `quiz` | FAQ, help menu items |
| `support` | Support menu items |

Source of truth: [`globalHeaderSystemIcons.ts`](../../../plugins/global-header/src/icons/globalHeaderSystemIcons.ts).
Source of truth: [`globalHeaderSystemIcons.tsx`](../../../plugins/app-defaults/src/global-header/icons/globalHeaderSystemIcons.tsx).

Example `app-config.yaml`:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Red Hat Developer Hub includes a configurable and highly extensible global heade
By default it includes a Search input field, Create, Starred[^1], Support[^2] and Notifications[^3] icon buttons and a user profile dropdown.

The plugin uses the **New Frontend System (stable)**. Import from the package root
(`@red-hat-developer-hub/backstage-plugin-global-header`). Extension blueprints
(`@red-hat-developer-hub/backstage-plugin-app-defaults` / `@red-hat-developer-hub/backstage-plugin-app-react`). Extension blueprints
(`GlobalHeaderComponentBlueprint`, `GlobalHeaderMenuItemBlueprint`) allow any
plugin to contribute toolbar items and dropdown menu items. Building-block UI
belongs on the `/components` package subpath so it stays off the root NFS
sync chunk. See the
belongs on the `/global-header-components` package subpath so it stays off the
root NFS sync chunk. See the
[New Frontend System Guide](new-frontend-system.md) for full details,
including architecture, code examples, and API reference.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
site_name: RHDH Global Header
docs_dir: .
nav:
- About: index.md
- Configuration: configuration.md
- New Frontend System: new-frontend-system.md
- Components:
- Button and icons: components/button-and-icons.md
- Divider: components/divider.md
Expand Down
Loading
Loading