Skip to content

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Oct 8, 2025

Part of #243348
Part of #270314

@Tyriar Tyriar added this to the October 2025 milestone Oct 8, 2025
@Tyriar Tyriar self-assigned this Oct 8, 2025
Copy link

vs-code-engineering bot commented Oct 8, 2025

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/base/browser/ui/findinput/findInput.ts
  • src/vs/base/browser/ui/findinput/findInputToggles.ts
  • src/vs/base/browser/ui/findinput/replaceInput.ts
  • src/vs/base/browser/ui/hover/hover.ts
  • src/vs/base/browser/ui/toggle/toggle.ts
  • src/vs/base/browser/ui/tree/abstractTree.ts
  • src/vs/workbench/contrib/chat/browser/chatStatus.ts

@joaomoreno

Matched files:

  • src/vs/base/browser/ui/tree/abstractTree.ts

@benibenj

Matched files:

  • src/vs/base/browser/ui/tree/abstractTree.ts

Comment on lines +27 to +30
/** @deprecated Prefer hoverStyle and hoverLifecycleOptions instead */
readonly hoverDelegate?: IHoverDelegate;
readonly hoverStyle?: HoverStyle;
readonly hoverLifecycleOptions?: IHoverLifecycleOptions;
Copy link
Member Author

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.

Copy link
Member Author

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.

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.

1 participant