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: assemblies/assembly-configuring-a-floating-action-button.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,6 @@
3
3
[id="{context}"]
4
4
= Configuring a floating action button in {product}
5
5
6
-
As a {product-short} administrator, you can use the floating action button to configure any action button as a floating button in any page in the {product-short} instance as you want. The floating action button is preinstalled on a {product-short} instance and disabled by default. You can also configure floating action buttons to display as submenu options within the main floating action button.
6
+
You can use the floating action button plugin to configure any action button as a floating button in any page in the {product-short} instance as you want. The floating action button plugin is disabled by default. You can also configure floating action buttons to display as submenu options within the main floating action button.
Copy file name to clipboardExpand all lines: modules/configuring-a-floating-action-button/proc-configuring-floating-action-button-as-a-dynamic-plugin.adoc
= Configuring a floating action button as a dynamic plugin
4
4
5
-
You can configure a dynamic plugin as a floating action button to perform actions or open an internal or external link.
5
+
You can configure the floating action button as a dynamic plugin to perform actions or open an internal or external link.
6
+
7
+
.Prerequisties
8
+
You must have sufficient permissions as a platform engineer.
6
9
7
10
.Procedure
8
11
9
12
. Add the `app-config-dynamic.yaml` content into `app.config-local.yaml`.
10
13
11
-
. Set the disabled property to `false`. For example:
14
+
. Set the disabled property to `false` in `app.config-local.yaml`. For example:
12
15
+
13
16
[source,yaml]
14
17
----
@@ -21,11 +24,11 @@ global:
21
24
disabled: false
22
25
----
23
26
24
-
. To configure a dynamic plugin as a floating action button, complete any of the following tasks:
27
+
. To configure a floating action button as a dynamic plugin, complete any of the following tasks:
25
28
26
-
** Specify the `global.floatingactionbutton/config` mount point in your plugin configuration. For example:
29
+
** Specify the `global.floatingactionbutton/config` mount point in your `app-config-dynamic.yaml` file. For example:
27
30
+
28
-
.bulk-import plugin as a floating action button example
31
+
.Example of a bulk-import plugin as a floating action button
29
32
[source,yaml]
30
33
----
31
34
dynamicPlugins:
@@ -54,9 +57,9 @@ global:
54
57
----
55
58
<1> (Required) The import name with an associated component to the mount point.
56
59
57
-
** To configure a dynamic plugin as a floating action button that opens an external link, specify the `global.floatingactionbutton/config` mount point in the `backstage-plugin-global-floating-action-button` plugin. For example:
60
+
** To configure a dynamic plugin as a floating action button that opens an external link, specify the `global.floatingactionbutton/config` mount point in your `app-config-dynamic.yaml` file. For example:
58
61
+
59
-
.floating action button that opens Github example
62
+
.Example of a floating action button that opens GitHub
60
63
[source,yaml]
61
64
----
62
65
dynamicPlugins:
@@ -74,6 +77,9 @@ global:
74
77
to: https://github.com/redhat-developer/rhdh-plugins
75
78
----
76
79
80
+
== Floating action button parameters
81
+
Use the parameters as shown in the following table to configure your floating action button plugin.
82
+
77
83
.Floating action button parameters
78
84
|===
79
85
| Name | Description | Type | Default value | Required
0 commit comments