You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/customizing-the-home-page/proc-customizing-quickaccess-card-icons-on-the-rhdh-homepage.adoc
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@ As an administrator, you can customize the QuickAccess card icons on the {produc
9
9
10
10
. Add the JSON Data source. The QuickAccess Cards on the homepage supports loading data from a JSON file. This JSON file can be hosted in your GitHub repository or any accessible endpoint.
11
11
12
-
. Configure the Proxy in `{my-app-config-file}`
12
+
. Configure the Proxy in your {product-very-short} `{my-app-config-file}` file.
13
+
+
14
+
To allow the homepage to fetch data from the hosted JSON file, add the following proxy configuration to your {product-very-short} `{my-app-config-file}` file:
13
15
+
14
-
To allow the homepage to fetch data from the hosted JSON file, add the following proxy configuration to your `{my-app-config-file}`:
15
-
16
16
[source,yaml]
17
17
----
18
18
proxy:
@@ -34,17 +34,17 @@ The following table lists the supported icon types:
34
34
|Example
35
35
|Rendered as
36
36
37
-
|*Backstage System Icon*
37
+
|*{product-custom-resource-type} system icon*
38
38
|`"catalog"`
39
-
|Uses Backstage system [icons](https://github.com/backstage/backstage/blob/master/packages/app-defaults/src/defaults/icons.tsx)
39
+
|Uses {product-custom-resource-type} system [icons](https://github.com/backstage/backstage/blob/master/packages/app-defaults/src/defaults/icons.tsx)
40
40
41
41
|*SVG String*
42
42
|`"<svg>...</svg>"`
43
43
|Renders inline SVG
44
44
45
45
|*Image URL*
46
46
|`"https://example.com/icon.png"`
47
-
|Renders external image. External images might be be restricted to Content Security Policy (CSP) which can be configured in the `app-config.yaml`.
47
+
||Renders external image. External images might be restricted to Content Security Policy (CSP) which can be configured in your {product-very-short} `{my-app-config-file}` file.
48
48
49
49
|*Relative Path*
50
50
|`"/homepage/icons/icon.png"`
@@ -53,7 +53,7 @@ The following table lists the supported icon types:
53
53
54
54
[NOTE]
55
55
====
56
-
SVGs must be valid strings when stored inside JSON (use single quotes inside `<svg>`)
56
+
SVGs must be valid strings when stored inside JSON (use single quotes inside `<svg>`).
0 commit comments