Skip to content

Commit 1b4c1b4

Browse files
GitHub Actionsjmagak
authored andcommitted
Enable Quicklinks and Starred Items by default in the global header
1 parent 85a8c58 commit 1b4c1b4

File tree

4 files changed

+79
-42
lines changed

4 files changed

+79
-42
lines changed

assemblies/assembly-configuring-the-global-header.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ include::modules/configuring-the-global-header/proc-mount-points.adoc[leveloffse
2020

2121
include::modules/configuring-the-global-header/con-quicklinks-and-starred-items-in-global-header.adoc[leveloffset=+1]
2222

23-
include::modules/configuring-the-global-header/proc-enabling-quicklinks-starred-items-upgrade.adoc[leveloffset=+1]
23+
include::modules/configuring-the-global-header/proc-enabling-quicklinks-starred-items-after-upgrade.adoc[leveloffset=+1]

modules/configuring-the-global-header/con-quicklinks-and-starred-items-in-global-header.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[id="quicklinks-and-starred-items-in-global-header_{context}"]
2-
= Enable *Quicklinks* and *Starred Items* by default in the global header
2+
= Quicklinks and Starred Items in the global header
33

4-
The *Quicklinks* matrix and *Starred Items* drop-down are enabled by default and are visible without any additional configuration when you deploy a new {product} instance.
4+
The *Quicklinks* matrix and *Starred Items* drop-down are enabled by default and appear in the global header without requiring additional configuration.
55

66
The *Quicklinks* matrix, organized by sections (for example, Documentation or Developer Tools), allows users to quickly access internal or external resources. The *Starred Items* drop-down contains entities and pages that the user has starred.
77

88
The default configuration includes the following components:
99

10-
*StarredDropdown*: Ensures that the `Starred Items` menu appears by default, as shown in the following configuration:
10+
*StarredDropdown*: Displays the *Starred Items* menu in the global header by default, as shown in the following configuration:
1111

1212
[source,yaml]
1313
----
@@ -19,7 +19,7 @@ The default configuration includes the following components:
1919
priority: 85
2020
----
2121

22-
*ApplicationLauncherDropdown*: Provides the `Quicklinks` matrix (application launcher), as shown in the following configuration:
22+
*ApplicationLauncherDropdown*: Provides the *Quicklinks* matrix (application launcher) by default, as shown in the following configuration:
2323

2424
[source,yaml]
2525
----
@@ -31,7 +31,7 @@ The default configuration includes the following components:
3131
priority: 82
3232
----
3333

34-
*MenuItemLink entries*: Define a section, title, icon, and link. The default configuration includes links to the {product-short} documentation and an {product-very-short} Local instance, as shown in the following configurations:
34+
*MenuItemLink entries*: Define sections, titles, icons, and links within the *Quicklinks* matrix. The default configuration includes links to the {product-short} documentation and an {product-very-short} Local, as shown in the following configurations:
3535

3636
[source,yaml]
3737
----
@@ -58,7 +58,7 @@ The default configuration includes the following components:
5858

5959
[NOTE]
6060
====
61-
When upgrading from previous versions, the installer does not overwrite your existing `dynamic-plugins.yaml` configuration. If you had not configured *Starred Items* or *Quicklinks* previously, they remain disabled after the upgrade.
61+
When upgrading from previous versions, the installer does not overwrite your existing `dynamic-plugins.yaml` configuration. If you had not configured *Starred Items* or *Quicklinks* previously, they remain disabled after the upgrade and must be manually enabled.
6262
====
6363

6464

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
[id="enabling-quicklinks-starred-items-upgrade_{context}"]
2+
= Enabling Quicklinks and Starred Items after an upgrade
3+
4+
If you upgrade from {product} `1.6` or earlier, {product} does not automatically enable the *Quicklinks* and *Starred Items* features. You must manually configure these features to display them in the global header.
5+
6+
.Prerequisites
7+
8+
. You have access to your {product} configuration files.
9+
. You have administrative permissions to modify ConfigMaps (if using the Operator).
10+
11+
.Procedure
12+
13+
. Locate your dynamic-plugin configuration.
14+
15+
* Operator deployment: The configuration is stored in a ConfigMap referenced by your Backstage custom resource (CR).
16+
* Helm deployment: The configuration is in your `values.yaml` file or separate configuration files.
17+
18+
. Enable the global-header plugin. Ensure that the `red-hat-developer-hub-backstage-plugin-global-header` entry exists under the `plugins: list` and that `disabled: false` is set.
19+
20+
. Verify that you enabled the global header plugin.
21+
Confirm that you listed the `red-hat-developer-hub-backstage-plugin-global-header` plugin under `plugins:` with `disabled: false` (or without a `disabled` property):
22+
+
23+
[source,yaml]
24+
----
25+
- package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-global-header
26+
disabled: false
27+
----
28+
29+
. Add the required components. Under the plugin's `mountPoints`, add the components as shown in the following example:
30+
+
31+
[source,yaml]
32+
----
33+
mountPoints:
34+
- mountPoint: application/header
35+
importName: GlobalHeader
36+
config:
37+
position: above-sidebar
38+
- mountPoint: global.header/component
39+
importName: StarredDropdown
40+
config:
41+
priority: 85
42+
- mountPoint: global.header/component
43+
importName: ApplicationLauncherDropdown
44+
config:
45+
priority: 82
46+
- mountPoint: global.header/component
47+
importName: MenuItemLink
48+
config:
49+
section: Documentation
50+
priority: 150
51+
props:
52+
title: Developer Hub
53+
icon: developerHub
54+
link: https://docs.redhat.com/en/documentation/red_hat_developer_hub
55+
- mountPoint: global.header/application-launcher
56+
importName: MenuItemLink
57+
config:
58+
section: Developer Tools
59+
priority: 100
60+
props:
61+
title: RHDH Local
62+
icon: developerHub
63+
link: https://github.com/redhat-developer/rhdh-local
64+
----
65+
66+
. Apply the configuration.
67+
68+
* Operator deployment: Update the ConfigMap and allow the Operator to reconcile the changes.
69+
* Helm deployment: Apply your updated configuration using `helm upgrade`.
70+
71+
. Verify the features are enabled.
72+
After the {product} instance restarts, confirm that the star icon and *Quicklinks* matrix appear in the global header.

modules/configuring-the-global-header/proc-enabling-quicklinks-starred-items-upgrade.adoc

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)