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

Improve app init layout launch flow #424

Merged

Conversation

ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Oct 23, 2024

This PR Improves the app-init layout launch flow


Basic changes:

  • Adds ability to send/listen events for the app-init layout via the context bridge between the main and renderer ipc to be secure (the same approach as for other layouts)
  • Improves the loading window workflow to bring more consistency in the sequence of showing windows. Fixes issue with focusing the main window on the launch
  • Bumps electron version from 27.3.5 to 27.3.11 to have the latest patch

Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

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

small question, rest looks good!

@@ -151,7 +157,7 @@ const showLoadingWindow = async (opts = {}) => {
isNotRunProgressLoaderRequired = false,
isIndeterminateMode = false,
noParent = false
} = { ...opts }
} = opts ?? {}
Copy link
Contributor

Choose a reason for hiding this comment

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

i am confused with this, we just have on the top (opts = {})

{ shouldWinBeFocused: true }
)
}
} = opts ?? {}
Copy link
Contributor

Choose a reason for hiding this comment

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

i am confused with this, we just have on the top (opts = {})

Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

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

lgtm!

@ezewer ezewer merged commit d43a88f into bitfinexcom:staging Oct 24, 2024
This was referenced Nov 13, 2024
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