Skip to content

[PBIOS-701]Updates to PBAvatar #530

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

RachelRadford21
Copy link
Contributor

What does this PR do?

[PBIOS-701]Updates to PBAvatar

https://runway.powerhrg.com/backlog_items/PBIOS-701

Checklist

  • LABELS - Add a label: breaking, bug, improvement, documentation, or enhancement. See Labels for descriptions.
  • RELEASES - Add the appropriate label: Ready for Testing / Ready for Release
  • TESTING - Have you tested your story?

@RachelRadford21 RachelRadford21 added improvement Upgrades to kits or libraries Ready for Testing For anything that needs testing labels Apr 3, 2025
@RachelRadford21 RachelRadford21 self-assigned this Apr 3, 2025
@RachelRadford21 RachelRadford21 requested a review from a team as a code owner April 3, 2025 20:56
@@ -63,7 +63,7 @@ public struct PBAvatar: View {


if let status = self.status {
PBOnlineStatus(status: status, size: statusSize, variant: .border)
PBOnlineStatus(status: status, size: statusSize ?? avatarStatusSize, variant: .border)
Copy link
Contributor

Choose a reason for hiding this comment

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

What is going to happen when the Online status get a nil value here?
Is that the expected behavior?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@isismsilva
I have the default set to medium, if it's nil. If you think it should default to something else or this is incorrect, lmk

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this needs to be a design decision. Let's ask Jess to make sure how it is supposed to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Upgrades to kits or libraries Ready for Testing For anything that needs testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants