-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[linux] fix: update for new events syntax #3734
Conversation
Changed uses of deprecated `.On` to the current standard.
WalkthroughThe pull request introduces modifications to the event handling mechanisms in the Linux application framework. Key changes include the renaming of methods used for registering application and window events, which shifts from a general Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (3)
- v3/pkg/application/application_linux.go (1 hunks)
- v3/pkg/application/events_common_linux.go (1 hunks)
- v3/pkg/application/webview_window_linux.go (2 hunks)
Additional comments not posted (8)
v3/pkg/application/events_common_linux.go (1)
16-16
: Approved: Updated event registration method.The change from
a.parent.On
toa.parent.OnApplicationEvent
aligns with the new event handling standards. It's recommended to add a comment explaining why this change was necessary for future maintainability.v3/pkg/application/application_linux.go (1)
97-97
: Approved: Updated event registration method.The change from
a.parent.On
toa.parent.OnApplicationEvent
aligns with the new event handling standards. It's recommended to add a comment explaining why this change was necessary for future maintainability.v3/pkg/application/webview_window_linux.go (6)
292-292
: Approved: Updated event registration method for window load changes.The change from
On
toOnWindowEvent
aligns with the new event handling standards. It's recommended to add a comment explaining why this change was necessary for future maintainability.
301-301
: Approved: Updated event registration method for window focus in events.The change from
On
toOnWindowEvent
aligns with the new event handling standards. It's recommended to add a comment explaining why this change was necessary for future maintainability.
304-304
: Approved: Updated event registration method for window focus out events.The change from
On
toOnWindowEvent
aligns with the new event handling standards. It's recommended to add a comment explaining why this change was necessary for future maintainability.
307-307
: Approved: Updated event registration method for window delete events.The change from
On
toOnWindowEvent
aligns with the new event handling standards. It's recommended to add a comment explaining why this change was necessary for future maintainability.
310-310
: Approved: Updated event registration method for window move events.The change from
On
toOnWindowEvent
aligns with the new event handling standards. It's recommended to add a comment explaining why this change was necessary for future maintainability.
313-313
: Approved: Updated event registration method for window resize events.The change from
On
toOnWindowEvent
aligns with the new event handling standards. It's recommended to add a comment explaining why this change was necessary for future maintainability.
Thanks 🙏 I had to do the same on Mac. Adding the credits for you |
Description
Changed uses of deprecated
.On
to the current standard.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I updated to the latest v3-alpha, containing the refactor to Events and then tried to build my Application, after said issues I found those to be the blockers to my compilation.
Checklist:
website/src/pages/changelog.mdx
with details of this PRSummary by CodeRabbit
New Features
Bug Fixes
Refactor