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

refactor: add onGetFiles to renderer IPC #1450

Merged
merged 5 commits into from
Aug 24, 2023
Merged

Conversation

dsanders11
Copy link
Member

There's a few different things grouped into this PR, but the main one is adding window.ElectronFiddle.onGetFiles, which will be used in a follow-up PR.

When saving, instead of the main process sending an IPC event to the renderer asking it to save, and then having the renderer send a separate IPC event back to the main process with the file contents to save, this is being streamlined to a single IPC event on save where the main process gets the file contents from the renderer.

@dsanders11 dsanders11 marked this pull request as ready for review August 23, 2023 23:26
@dsanders11 dsanders11 requested review from codebytere and a team as code owners August 23, 2023 23:26
@dsanders11 dsanders11 merged commit e9a26b5 into main Aug 24, 2023
3 checks passed
@dsanders11 dsanders11 deleted the refactor-file-manager-2b branch August 24, 2023 05:24
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