Skip to content

Conversation

@JessicaSachs
Copy link
Contributor

@JessicaSachs JessicaSachs commented Sep 25, 2021

Context

The new Launchpad designs are not designed to work in a very small window. This PR sets a new minimum width and height as well as a new preferredWidth and preferredHeight to support first time users and older users whose previous window values were below the new minimums.

While I was in the Windows options, I also changed the backgroundColor to match what the Launchpad's backgroundColor is... so it doesn't flash between gray and white.

How to test

New Users

  1. Open the launchpad
  2. Try to resize it smaller than the min + max

Existing Users

  1. Manually modify the code within interactive-e2e#getWindowArgs to have a smaller minWidth + height.
  2. yarn dev
  3. Resize the window to the smaller minWidth + height
  4. Kill yarn dev and revert any changes
  5. Open the app again w yarn dev

Expected: The Launchpad app should be set to the preferredWidth and preferredHeight

How has the user experience changed?

Better window size defaults. No background color flash when starting up the Launchpad.

Considerations

We aren't setting the x/y coordinates for first time users of the new version. I think it should probably be centered, but I don't want to do that change right now.

@JessicaSachs JessicaSachs requested a review from a team as a code owner September 25, 2021 23:25
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 25, 2021

Thanks for taking the time to open a PR!

@JessicaSachs JessicaSachs requested review from chrisbreiding and jennifer-shehane and removed request for a team September 25, 2021 23:25
@JessicaSachs JessicaSachs changed the base branch from develop to unified-desktop-gui September 25, 2021 23:25
@JessicaSachs JessicaSachs requested review from elevatebart and lmiller1990 and removed request for chrisbreiding and jennifer-shehane September 25, 2021 23:45
@lmiller1990
Copy link
Contributor

I think this PR should be made against develop and back-merged?

As for testing:

Test 1 - new users

This is the max height/with for launchpad now:

image

Test 2

I am not getting the expected result for the second test, though. It's remembering and keeping the size I dragged it to, even after reopening:

Screen Shot 2021-09-27 at 10 26 38 am

@JessicaSachs
Copy link
Contributor Author

It shouldn't be back merged because the new dimensions only look good with the new UI.

@lmiller1990
Copy link
Contributor

@JessicaSachs makes sense.

Maybe I misread the test plan or something, could do a quick pair review when our hours overlap and get this in.

@JessicaSachs JessicaSachs merged commit 20ca60c into unified-desktop-gui Oct 5, 2021
tgriesser added a commit that referenced this pull request Oct 6, 2021
* unified-desktop-gui:
  chore: improving component test infra (#18378)
  chore(launchpad): launchpad UI tweaks (#18369)
  feat: wire up add project button (#18320)
  feat(unify): adding larger defaults for the Launchpad window (#18248)
  fix(app): allow launching app dev server w/o relying on `supportFile` to bundle deps (#18354)
  feat(unify): reporter dark theme (#18313)
  feat(launchpad): UNIFY-371 header menu (#18338)
@jennifer-shehane jennifer-shehane deleted the unify/setting-launchpad-window-defaults branch August 28, 2025 13:21
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.

4 participants