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

feat(tooltip): add keyboard shortcuts to tooltip #4161

Merged
merged 53 commits into from
Nov 19, 2024

Conversation

krisantrobus
Copy link
Collaborator

Adds the ability to put keyboard actions into tooltip. This works by changing the props Tooltip can accept. It will no accept two types with no overlap. This means when you try to pass text to the component along with types from the KeyboardKeyTooltipProps you will get a typescript error. Also added a failsafe check if developers try to ignore it or attempt to break it in anyway.

@krisantrobus krisantrobus added 🚀 merge it! 🕵🏻‍♀️ Run website visual regression When applied, we will run a full suite of visual regression tests across the doc site labels Nov 19, 2024
Copy link

cypress bot commented Nov 19, 2024

Paste    Run #9076

Run Properties:  status check passed Passed #9076  •  git commit 800e078c99 ℹ️: Merge 9ccfcd6f563d69b32e98863210185dfcc6a4e0f8 into dbd982f8df4160a85a2d51a8709e...
Project Paste
Branch Review add-keyboard-keys-to-tooltip
Run status status check passed Passed #9076
Run duration 06m 14s
Commit git commit 800e078c99 ℹ️: Merge 9ccfcd6f563d69b32e98863210185dfcc6a4e0f8 into dbd982f8df4160a85a2d51a8709e...
Committer krisantrobus
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 125
View all changes introduced in this branch ↗︎

@kodiakhq kodiakhq bot merged commit a720e5e into main Nov 19, 2024
44 checks passed
@kodiakhq kodiakhq bot deleted the add-keyboard-keys-to-tooltip branch November 19, 2024 19:53
@TwilioPasteBot TwilioPasteBot mentioned this pull request Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Components Related to the component library (core) of this system Area: Repo lgtm This PR has been approved by a maintainer 🚀 merge it! 🕵🏻‍♀️ Run website visual regression When applied, we will run a full suite of visual regression tests across the doc site size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants