microsoft / microsoft/fluentui-apple

Add Size Ramp to Avatar macOS

Open
#391 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
977
Forks
180
Avg merge
21h 38m
Merged PRs (30d)
1

Description

Platform
  • iOS
  • macOS
Describe the feature that you would like added

The iOS Avatar has an MSFAvatarSize enum to create Avatars in specified sizes. The macOS Avatar does not do that, and currently can be configured to any point size by passing a CGFloat.
Let's add the same size values / enums to macOS, mostly so that in FluentUI React Native, they can have the same API.

What component or utility would this be added to

macOS Avatar

Have you discussed this feature with our team, and if so, who

No, mostly filing a bug so I can link the bug in comments of my PR code.

Additional context/screenshots

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the existing iOS MSFAvatarSize enum and the macOS Avatar component implementation first. Add matching size values and enum-based sizing to macOS so FluentUI React Native can use the same API, then verify that the macOS Avatar exposes the requested sizes consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
desktop
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.