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

Clear Highlights On Other Panels #6013

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

seanparsons
Copy link
Contributor

Problem:
Highlights end up getting stuck if the user mouses over an element and into a panel like the inspector.

Fix:
The common GridPanelInner component used by the inspector/navigator/code editor clears highlights when the mouse enters it.

Commit Details:

  • Added an onMouseEnter handler to GridPanelInner which clears the highlights.

Manual Tests:
I hereby swear that:

  • I opened a hydrogen project and it loaded
  • I could navigate to various routes in Preview mode

Fixes #6008

- Added an `onMouseEnter` handler to `GridPanelInner` which clears
  the highlights.
Copy link
Contributor

github-actions bot commented Jun 20, 2024

Try me

Copy link

relativeci bot commented Jun 20, 2024

#13173 Bundle Size — 62.26MiB (~+0.01%).

855844d(current) vs 6339ece master#13171(baseline)

Warning

Bundle contains 51 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#13173
     Baseline
#13171
Regression  Initial JS 45.32MiB(~+0.01%) 45.32MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 21.6% 21.58%
No change  Chunks 30 30
No change  Assets 33 33
No change  Modules 4305 4305
No change  Duplicate Modules 525 525
No change  Duplicate Code 31.84% 31.84%
No change  Packages 448 448
No change  Duplicate Packages 51 51
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#13173
     Baseline
#13171
Regression  JS 62.24MiB (~+0.01%) 62.24MiB
Improvement  HTML 11.16KiB (-0.33%) 11.2KiB

Bundle analysis reportBranch feature/clear-highlights-on-othe...Project dashboard

@seanparsons seanparsons merged commit 0a8a6c9 into master Jun 20, 2024
16 checks passed
@seanparsons seanparsons deleted the feature/clear-highlights-on-other-panels branch June 20, 2024 12:53
liady pushed a commit that referenced this pull request Dec 13, 2024
- Added an `onMouseEnter` handler to `GridPanelInner` which clears the
highlights.
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.

When mousing over the inspector, clear all canvas highlights
3 participants