microsoft / microsoft/fluentui-apple
Add Size Ramp to Avatar macOS
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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