Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tooltip to custom data input #750

Merged
merged 1 commit into from
Feb 1, 2024

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
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
Member

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
4 of 5 checks passed
@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.

3 participants