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

Add email to the Avatar picker #360

Merged
merged 7 commits into from
Aug 22, 2024
Merged

Conversation

pinarol
Copy link
Contributor

@pinarol pinarol commented Aug 21, 2024

Closes #346

Description

Testing Steps

  • SwiftUI demo app > avatar picker

Email should be visible at the top.

@pinarol pinarol self-assigned this Aug 21, 2024
@wpmobilebot
Copy link

wpmobilebot commented Aug 21, 2024

Gravatar UIKit Prototype Build📲 You can test the changes from this Pull Request in Gravatar UIKit Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar UIKit Prototype Build Gravatar UIKit Prototype Build
Build Number1121
Version1.0
Bundle IDcom.automattic.gravatar-sdk-demo-uikit.prototype-build
Commitfa9b7e6
App Center BuildGravatar SDK Demo - UIKit #55
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
@wpmobilebot
Copy link

wpmobilebot commented Aug 21, 2024

Gravatar SwiftUI Prototype Build📲 You can test the changes from this Pull Request in Gravatar SwiftUI Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar SwiftUI Prototype Build Gravatar SwiftUI Prototype Build
Build Number1121
Version1.0
Bundle IDcom.automattic.gravatar-sdk-demo-swiftui.prototype-build
Commitfa9b7e6
App Center BuildGravatar SDK Demo - SwiftUI #54
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
)
.padding(.vertical, borderWidth) // to prevent borders from getting clipped
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not directly related with this PR but I saw that the borders are getting clipped a bit, this fixes it.

private func header() -> some View {
VStack(alignment: .leading) {
Text("Avatars")
.font(.title2.weight(.bold))
Text("Choose or upload your favorite avatar images and connect them to your email address.")
.font(.subheadline)
.foregroundColor(Color(UIColor.secondaryLabel))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not directly related with this PR but this is how it is in the designs and only a 1 line change so I wanted to include here.

@pinarol pinarol marked this pull request as ready for review August 21, 2024 10:35
@pinarol pinarol requested a review from etoledom August 21, 2024 10:35
Copy link
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

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

Looking good!

I would only ask to add an email in the xcode preview, but other than that, all good 🎉

@pinarol
Copy link
Contributor Author

pinarol commented Aug 22, 2024

Thanks a lot. I addressed that. This PR is blocked by #358 so it'd be great if you also review that one. @etoledom

Base automatically changed from wppinar/add-navbar to trunk August 22, 2024 15:51
@pinarol pinarol merged commit 0939a8f into trunk Aug 22, 2024
9 checks passed
@pinarol pinarol deleted the wppinar/add-email-to-avatar-picker branch August 22, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants