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

Spike for events, including mouse motion #292

Merged
merged 1 commit into from
Jul 7, 2023
Merged

Conversation

noahgibbs
Copy link
Collaborator

@noahgibbs noahgibbs commented Jul 6, 2023

I promised Pavan I'd do this.

Description

This has gotten a lot more involved than I planned. Somehow there's always one more thing to sort out.

  • Add some basic mouse events - hover, motion, click.
  • Add a new motion-events example, cut down from another motion example.
  • Add event_box append method, used by the example.
  • Sort out how Slots work on Webview side, including formatting and event handling.

This way "slot" is also a Webview display-side thing, which allows us to register event handlers (e.g. set an onmousemove). But it made sense to sort out a lot of slot stuff while I was adding it.

Image(if needed, helps for a faster review)

Screenshot 2023-07-07 at 00 38 11

Checklist

  • Run tests locally
  • Run linter(check for linter errors)

@noahgibbs noahgibbs force-pushed the mouse_motion_spike branch 5 times, most recently from 0d12856 to fb3c942 Compare July 6, 2023 23:37
Add some basic mouse events - hover, motion, click.
Add a new motion-events example, cut down from another motion example.
Add event_box append method, used by the example.
Sort out how Slots work on Webview side, including formatting and event handling.
@noahgibbs noahgibbs force-pushed the mouse_motion_spike branch from fb3c942 to 0507201 Compare July 6, 2023 23:47
@noahgibbs noahgibbs marked this pull request as ready for review July 6, 2023 23:47
Copy link
Collaborator

@Schwad Schwad left a comment

Choose a reason for hiding this comment

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

This is amazing. Thank you, Noah!

@noahgibbs noahgibbs merged commit 19bc0f7 into main Jul 7, 2023
@noahgibbs noahgibbs deleted the mouse_motion_spike branch July 7, 2023 10:38
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.

2 participants