[Modal Layout Picker] Create Modal window for Modal Layout Picker#12482
[Modal Layout Picker] Create Modal window for Modal Layout Picker#12482
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
Generated by 🚫 dangerJS |
|
You can test the changes on this Pull Request by downloading the APK here. |
|
|
ca61403 to
206265b
Compare
24a6d78 to
933ea55
Compare
933ea55 to
b23d080
Compare
|
Hello @iamthomasbishop 👋 , I've completed a first version of the MLP container. Please let me know if you have any design feedback on the attached screenshots or the the APK here. |
…ainer_after # Conflicts: # libs/gutenberg-mobile
👋 @antonis ! I think if you retarget this PR to the |
That sound good. I made the change. |
|
Hey @antonis 👋 Took the build for a spin, and it's coming along nicely. Not seeing any big issues, but here are my notes. Sheet surfaceI'm not sure if this is intentional or not, but I noticed when you're scrolled to the top of the view and pull down softly, we have a snap point where the sheet gets docked at ~2/3 height (video example). We probably only need 2 heights — full-screen and closed. I'm not sure if this something we can control, but when you scroll to the bottom of the sheet and get the usual "ripple" effect (the blue "wave" that shows when you scroll to the end of a container), there looks to be a ~16dp gap between that and the top edge of the footer bar. (video example) Collapsed app bar styleThe text label on the app bar when it's in a collapsed state doesn't look centered. (screenshot) Title/subtitleThe sizing of the title and subtitle look a little small — I believe the title should be set in Headline 4 and the subtitle in Body 1, but it's hard to tell what the current values are in this build — would you mind confirming? Is there any way we can use the system-default serif font (Noto Serif)? My original mockups used the bold weight because that's what we were leaning towards using for headlines across the app, but I'll have to check in to see if that's the final decision. The spacing between the app bar and title also look a little tight — can you confirm how much space is between these (I believe it should be 16, although IIRC the line-height of the labels might be slightly different, which would result in a slight diff)? The spacing between the title and subtitle look a bit too much, but this might be an optical illusion bc of the too-small spacing mentioned above (this also should be 16). Status bar colorWould it be possible to adapt the status bar to a light variation (white background, dark text) when the sheet is fully open? For reference, we're also using this style on post/page preview. |
|
@antonis an update regarding my comment on font-weight of the headings:
We are using the bold weight of Noto Serif for headings as I thought, so we can use that for this sheet 😄 |
|
Hello @ashiagr 👋 , On your observations:
I reproduced this behavior and fixed this.
I agree with you on this. An implementation based on |
Thanks, I confirm it is fixed now 🎉.
Thanks for giving it a try 🙇♀️. I agree with your suggestion, let's proceed with the current solution. Using |
# Conflicts: # WordPress/build.gradle
|
A new build time configuration |

Fixes: wordpress-mobile/gutenberg-mobile#2419
Related PRs:
gutenberg-mobile: [Modal Layout Picker] Disable Page Template picker if MLP is enabled gutenberg-mobile#2494gutenberg: [Mobile] Disable Page Template picker if Modal Layout Picker is enabled WordPress/gutenberg#24061Description
Adds feature flags and a container view for the Modal Layout Picker
To test:
Classic Editor and Gutenberg Editor with Modal Layout Picker Enabled.
On the Modal Layout Picker
Screenshots:
PR submission checklist:
RELEASE-NOTES.txtif necessary.