Skip to content

Fix Debugger HoverCards - #4627

Merged
kenzieschmoll merged 1 commit into
flutter:masterfrom
CoderDake:fix-debugger-hover
Oct 21, 2022
Merged

kenzieschmoll merged 1 commit into
flutter:masterfrom
CoderDake:fix-debugger-hover

Conversation

@CoderDake

Copy link
Copy Markdown
Contributor

Make sure to turn off white space diff when reviewing this one

Problem:

  • debugger hovercards pop up but then don't disappear afterwards

Solution:

Upgrade the debugger hovercards to use the new and improved HoverCardTooltips that automatically handle appearing and disappearing

Extra Bug Fix:

  • if null was returned from asyncGenerateHoverCardData then the spinner wasn't disappearing afterwards. So I've fixed hoverCardTooltip so that it removes the spinner when null is returned.

Testing

  • Compared the way that hovercards looked and behaved on master to the new hovercards.
    • they seem to have the same
  • Checked widget inspector hovering to ensure it is still working well

@CoderDake
CoderDake marked this pull request as ready for review October 20, 2022 20:03
@CoderDake
CoderDake requested review from a team and elliette as code owners October 20, 2022 20:03
@CoderDake
CoderDake requested review from polina-c and removed request for a team October 20, 2022 20:03

@elliette elliette left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

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.

4 participants