-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
fix(ds): Set default Tooltip cursor to inherit (not help) #17436
Conversation
ced3e45
to
03eebaa
Compare
da04ab2
to
58257d9
Compare
WalkthroughThe update modifies the default cursor style applied to the 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
⏰ Context from checks skipped due to timeout of 90000ms (5)🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hit it!
adc74b2
to
32d4603
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
packages/components/src/components/Tooltip/Tooltip.test.tsx (1)
99-107
: LGTM! The updated test correctly reflects the new default cursor behavior.The change from 'help' to 'inherit' for the default cursor style is a good improvement as it allows the tooltip to respect the parent element's cursor style rather than enforcing a specific cursor. This provides more flexibility for component consumers.
Note: There's a minor typo in the test description - "should should" (duplicated word).
- it('should should apply the default=inherit cursor when the passed cursor is undefined', () => { + it('should apply the default=inherit cursor when the passed cursor is undefined', () => {
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
packages/components/src/components/Tooltip/Tooltip.test.tsx
(1 hunks)packages/components/src/components/Tooltip/Tooltip.tsx
(1 hunks)submodules/trezor-common
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- submodules/trezor-common
🚧 Files skipped from review as they are similar to previous changes (1)
- packages/components/src/components/Tooltip/Tooltip.tsx
⏰ Context from checks skipped due to timeout of 90000ms (9)
- GitHub Check: run-e2e-suite-desktop-tests (@group=wallet, trezor-user-env-unix bitcoin-regtest)
- GitHub Check: run-e2e-suite-desktop-tests (@group=other, trezor-user-env-unix)
- GitHub Check: run-e2e-suite-desktop-tests (@group=passphrase, trezor-user-env-unix)
- GitHub Check: run-e2e-suite-desktop-tests (@group=settings, trezor-user-env-unix bitcoin-regtest)
- GitHub Check: run-e2e-suite-desktop-tests (@group=device-management, trezor-user-env-unix)
- GitHub Check: run-e2e-suite-desktop-tests (@group=suite, trezor-user-env-unix)
- GitHub Check: Setup and Cache Dependencies
- GitHub Check: build-web
- GitHub Check: Analyze with CodeQL (javascript)
32d4603
to
4d1e651
Compare
Description
Related Issue
Resolve
Screenshots: