Skip to content

Add Windows title bar component to the onboarding screen - #125

Merged
wojtekn merged 1 commit into
trunkfrom
fix/windows-onboarding-titlebar
May 14, 2024
Merged

Add Windows title bar component to the onboarding screen#125
wojtekn merged 1 commit into
trunkfrom
fix/windows-onboarding-titlebar

Conversation

@fluiddot

@fluiddot fluiddot commented May 14, 2024

Copy link
Copy Markdown
Contributor

Related to 6992-gh-automattic/dotcom-forge.

Proposed Changes

  • Add the WindowsTitlebar component to the onboarding screen when running the app on Windows.
Windows macOS

Testing Instructions

Preparation:

  • Delete all sites. This can be done by simply deleting the folder $HOME/Studio).

Windows

  • Open the app.
  • Observe the onboarding screen is displayed.
  • Observe the title bar is displayed containing the app's icon and name.

macOS

  • Open the app.
  • Observe the onboarding screen is displayed.
  • Observe there's no title bar, only the OS buttons to close/minimize/maximize.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
@fluiddot fluiddot self-assigned this May 14, 2024
@fluiddot
fluiddot requested review from a team May 14, 2024 10:16
@fluiddot
fluiddot marked this pull request as ready for review May 14, 2024 10:16

@SiobhyB SiobhyB left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM after testing on a VM with Windows 11. Thanks for addressing @fluiddot! 🙌

Before After

I verified there are no adverse changes on the Mac version, too.

@wojtekn wojtekn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The code change looks clear. It works well on both systems: nothing changes on macOS, and I see the full bar on Onboarding on Windows.

@wojtekn
wojtekn merged commit 6542535 into trunk May 14, 2024
@wojtekn
wojtekn deleted the fix/windows-onboarding-titlebar branch May 14, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants