Skip to content

Conversation

@stnguyen90
Copy link
Contributor

What does this PR do?

Add a tooltip to help developers understand what custom data is.

Test Plan

image

Related PRs and Issues

None

Have you read the Contributing Guidelines on issues?

Yes

@stnguyen90 stnguyen90 requested a review from ArmanNik January 29, 2024 05:18
@vercel
Copy link

vercel bot commented Jan 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
console-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 5:21am
console-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 5:21am
console-preview-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 5:21am

<FormItem>
<Label
tooltip="Deliver supplementary data alongside the notification, which remains hidden from the user's view but can be accessed by your application."
>Custom data <span class="u-color-text-gray">(Optional)</span></Label>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Label component has an optionalText variable that we can use for the (Optional) text instead of using the span :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I switched to using optionalText the spacing between the text seemed too big. That means we need to change the margin, right?

image

@TorstenDittmann TorstenDittmann merged commit 8441240 into 1.5.x Feb 1, 2024
@TorstenDittmann TorstenDittmann deleted the feat-push-custom-data-info branch February 1, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants