-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Remove deprecated managedhover from findwidget + toggle #270313
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
base: main
Are you sure you want to change the base?
Conversation
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @bpaseroMatched files:
@joaomorenoMatched files:
@benibenjMatched files:
|
This doesn't work without adoption in IBaseActionViewItemOptions
/** @deprecated Prefer hoverStyle and hoverLifecycleOptions instead */ | ||
readonly hoverDelegate?: IHoverDelegate; | ||
readonly hoverStyle?: HoverStyle; | ||
readonly hoverLifecycleOptions?: IHoverLifecycleOptions; |
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.
@benibenj what do you think about this as a way to get rid of hoverDelegate in base? I think base only needs to set a groupId and a style (pointer or mouse). We don't want to be passing around callbacks to setupDelayedHover
or setupDelayedHoverAtMouse
inside options so simple options like this are preferable.
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.
I build upon this in #270749 attempting to do the same for IBaseActionViewItemOptions
but I might abandon it there as it's a lot of work to validate and a huge change that can't really be done in stages AFAICT and I wanted to get your view on the HoverStyle
and lifecycle options replacing hoverDelegate
.
Part of #243348
Part of #270314