-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix/design picker layout #98285
base: trunk
Are you sure you want to change the base?
Fix/design picker layout #98285
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
...g/stepper/declarative-flow/internals/steps-repository/design-setup/unified-design-picker.tsx
Show resolved
Hide resolved
Thanks for catching that @rcrdortiz! There was a dynamic element to this section that was making it tricky to get it right. I just took another look and have an idea of how to handle it. I'll share update after I've gotten a chance to get a fix in! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested and validated:
- We have a better theme thumbnail quality
- Fixed mobile issue with Big Sky CTA
- We're aligning everything in the center for certain screen sizes (>960px width): I didn't find any Figma here W9xI27S6Swvw5Ku21EbZvn-fi-9134_65080 with this new layout, so I may be missing some context, but I thought we wanted everything left-aligned.
- With less than 960px width we have everything left-aligned again. Is that intentional?
-
I liked the new hover effect on the theme thumbnails!
Screen.Recording.2025-01-13.at.16.32.54.mov
Thanks for taking a look @paulopmt1!
I initially shared a post about it here: p9Jlb4-fnF-p2. We've continued to have conversations about it. While I was in here working on this, I saw that it was easy enough to do on my own :)
Thanks for bringing this up. This is intentional since we don't have enough space to meaningfully show the options under topic. As I mentioned in another comment, there's a dynamic element here to contend with. I had a thought on how to handle it there, I'll see if it will work for this breakpoint too!
Yes these are intentionally spaced this way. The two filters are grouped together visually while the button stands separately since it's a different action.
Good catch! Yes, we can improve this alignment.
Thank you! I forgot to mention it but I received feedback from multiple sources that our current hover effect looked like it was disabling the theme. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we fix that vertical alignment we're ready to ship. Great improvements!
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
@paulopmt1 I got the button alignment fixed: Centre aligning the filters turned out to be trickier (cc @rcrdortiz). I was able to tighten the container with CSS so it visually appears centred for most use cases. It's still slightly off due to the dynamic way we're determining what's in the list and what's in the drop down but it's not as noticeable anymore: The exception is if the community filter is preselected (Pick the collect donations goal): The string is too long. To fix that, we can edit the label down to be "Community" only. cc @alaczek in case you see any problem with that. I spoke to @taipeicoder about it and he said the JS code is very complicated and hard to work with so it might be best to stick with this CSS solution for now. I'm open to suggestions if anyone knows of a better way to handle it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Yes that component is unfortunately very capricious in the way it calculates when it should collapse items into the More menu 😕 |
@fditrapani the gap between title + subtitle should be smaller, right? Design mockups is 8px: |
@nuriapenya. Good catch Nuria! I thought we were using the standard component so I didn't take notice but it appears we're not. I've fixed it up for now to match the other screens. We can circle back and standardize the components in a separate pass: |
Related to # #98176, #98170, #98283
Proposed Changes
This PR introduces a number of updates:
Before: Desktop
After: Desktop
Before: Mobile
After: Mobile
Testing Instructions
Go through our onboarding until you reach the design picker step. Compare it against production. If possible, try upgrade to Premium before viewing the design picker to see the Big sky updates. You can use the following URL after your site is updates (just replace the URL):
/setup/site-setup/designSetup?siteSlug=aaa4315.wordpress.com&categories=blog%2Cnewsletter%2Cbusiness%2Clink-in-bio
Pre-merge Checklist