|
| 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` is set to `false`. |
| 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 `mountPoints` section of the plugin, 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. |
0 commit comments