Skip to content

Commit 449ff48

Browse files
authored
add note about tooltips (#3164)
* add note about tooltips * adding tooltip as a valid word
1 parent d844cf5 commit 449ff48

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

astro/src/content/docs/_shared/_admin-user-form.mdx

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ user.data.favoriteColor=Favorite Color
1616

1717
This field is not localizable, so you'll only need to modify the default messages file. [Learn more about modifying the messages file in your theme](/docs/customize/look-and-feel/localization#messages).
1818

19+
You can also add a tooltip by adding a related key to the messages file:
20+
21+
```
22+
{tooltip}user.data.favoriteColor=A user's favorite color. This is used to generate a custom logo with the correct color scheme.
23+
```
24+
1925
Configure the FusionAuth admin UI to use these forms by navigating to <Breadcrumb>Tenants -> Your Tenant -> General</Breadcrumb> and then to the <Breadcrumb>Form settings</Breadcrumb> section. Set the <InlineField>Admin user form</InlineField> field to your new form.
2026

2127
Learn more in the [Tenant documentation](/docs/get-started/core-concepts/tenants#general).

astro/src/content/docs/_shared/_admin-user-registration-form.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ You should modify your theme to add labels for these custom fields for proper di
1414
registration.data.backgroundColor=Desired Background Color
1515
```
1616

17+
You can also add a tooltip by adding a related key to the messages file:
18+
19+
```
20+
{tooltip}registration.data.backgroundColor=The desired background color. This will be used in the application and should be a hex code.
21+
```
22+
23+
1724
This field is not localizable, so you'll only need to modify the default messages file. [Learn more about modifying the messages file in your theme](/docs/customize/look-and-feel/localization#messages).
1825

1926
Then, configure the FusionAuth admin UI to use these forms by navigating to <Breadcrumb>Applications -> Your Application -> Registration</Breadcrumb> and then to the <Breadcrumb>Form settings</Breadcrumb> section. Set the <InlineField>Admin Registration</InlineField> field to your new form.

config/vale/styles/config/vocabularies/FusionAuth/accept.txt

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Stytch
114114
Supabase
115115
Tangany
116116
themeable
117+
tooltip
117118
Twilio
118119
URI
119120
virtualized

0 commit comments

Comments
 (0)