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

Open webview in-app instead of a seperate window on macOS and Windows #1198

Merged
merged 11 commits into from
Oct 2, 2024

Conversation

atavism
Copy link
Contributor

@atavism atavism commented Oct 2, 2024

This PR updates the webview implementation to open the checkout page directly within the app on macOS and Windows, rather than in a separate window. This improves the user experience by keeping navigation seamless and consistent with the rest of the app.

It also includes changes to use webview_windows and some fixes to open the FAQ, forum, and follow us pages in the system browser.

@Derekf5, I know you mentioned opening the webview in a window right next to the main interface. What do you think about opening it directly in-app instead? Here's a video of what it looks like.

Screen.Recording.2024-10-01.at.8.50.48.PM.mov

Copy link
Contributor

@jigar-f jigar-f left a comment

Choose a reason for hiding this comment

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

Just couple of comments

@Derekf5
Copy link

Derekf5 commented Oct 2, 2024

@atavism that is a nice improvement over my suggestion! How does Shepherd look opened in the webview?

@atavism
Copy link
Contributor Author

atavism commented Oct 2, 2024

@Derekf5 Here's what Shepherd looks like in the webview on Windows

Screen.Recording.2024-10-02.at.10.03.04.AM.mov

@Derekf5
Copy link

Derekf5 commented Oct 2, 2024

perfect, just wanted to make sure the QR code fit in frame without scrolling, thanks @atavism!

@atavism
Copy link
Contributor Author

atavism commented Oct 2, 2024

I fixed the issue where the app opens with a Broken UI on Windows as well

image

@atavism atavism merged commit e21cb80 into main Oct 2, 2024
1 check passed
@atavism atavism deleted the atavism/windows-webview branch October 2, 2024 17:48
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.

3 participants