-
Notifications
You must be signed in to change notification settings - Fork 5
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
iOS-8994 feed back evolution #303
Conversation
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.
Yes, thats right! Non animated images didn't resize into 48px correctly. Thanks! What do you mean that latter content is not animated? If you refer to info style, specs only define that succes and error should. |
Sorry, not explicit enough with "latter" I was talking about the feedback style variant. The current web implementation was showing the animation but is because is being used as a base component for the other variants and the animation is configurable via prop. Forget about this :) |
if title.isEmpty == false { | ||
views.append(titleLabel) | ||
} | ||
if let subtitle, subtitle.isEmpty == false { | ||
views.append(subtitleLabel) | ||
} | ||
if let errorReference, errorReference.isEmpty == false { | ||
views.append(errorReferenceLabel) | ||
} |
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.
This can be simplified by using the !
operator
if title.isEmpty == false { | |
views.append(titleLabel) | |
} | |
if let subtitle, subtitle.isEmpty == false { | |
views.append(subtitleLabel) | |
} | |
if let errorReference, errorReference.isEmpty == false { | |
views.append(errorReferenceLabel) | |
} | |
if !title.isEmpty { | |
views.append(titleLabel) | |
} | |
if let subtitle, !subtitle.isEmpty { | |
views.append(subtitleLabel) | |
} | |
if let errorReference, !errorReference.isEmpty { | |
views.append(errorReferenceLabel) | |
} |
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'm not a big fan of inverting booleans as I consider it is less readable.
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.
In this case, Is this going to change the ViviΓ±o icon to Tick icon?
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.
Yes, only for success feedback screen
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.
There's an issue with the current lottie asset for the vivo success, causing an incorrect visualization. We're waiting for a new json file. I'll provide it here when we have 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.
New asset provided: https://jira.tid.es/secure/attachment/2166789/f_feedback%20icon%20v3.json |
Hi @aweell! A new version has been upload with the new json file. Thanks π |
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.
Nice job!
π This PR is included in version 26.1.0 π The release is available on GitHub release Your semantic-release bot π¦π |
ποΈ Jira ticket
IOS-8994
π₯ What's the goal?
π§ How do we do it?
π§ͺ How can I verify this?
Grabacion.de.pantalla.2023-09-12.a.las.10.51.10.mov
π AppCenter build