[Feature]: export getHashCode for Avatar from avatar.ts for Fluentv8 PersonaInitialsColor / PersonaCoin support
Maintainers usually reply within 1 day
@ValentinaKozlova is already working on this.
Since Sep 29, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start in avatar.ts for the Avatar component and inspect how getHashCode is currently used internally. Export getHashCode so FluentV8 PersonaInitialsColor and PersonaCoin support can use the same implementation, then verify the Avatar package still builds and the exported utility is available to consumers.
Written by the indexing model from the issue text.
Description
Area
React Components (@fluentui/react-components)
Describe the feature that you would like added
Please export getHashCode for Avatar from avatar.ts for FluentV8 PersonaInitialsColor / PersonaCoin support
This was available in FluentV8 to support things like diffs and version history, but it is unavailable in FluentV9 natively
Yes, one could re-create the hash function in code, however exporting it would be safer and more consistent. Would be a small change. Example:
getAvatarColor(name: string): AvatarNamedColor
Additional context
No response
Have you discussed this feature with our team
No response
Validations
- Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
Priority
Medium
- Dominant language
- TypeScript
- Stars
- 20.3k
- Forks
- 2.9k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 69
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing 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.
More from microsoft/fluentui
-
[Bug]: Vertical Slider still logs the deprecated 'slider-vertical' warning in Chromium 132+Possibly taken @jakesalvesen claimed this 1 day ago. OpenFluent UI react-components (v9) Needs: Triage :mag: Type: Bug :bug:
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
microsoft/fluentui#36945 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
@fluentui/web-components: fluent-menu-list loses its arrow keys after it is moved in the DOM (Firefox, Safari)Possibly taken @asxxb claimed this 8 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
[Bug]: WeeklyDayPicker showing incorrect week number when navigating to different weeksPossibly taken @Sanjays2402 claimed this 40 days ago. OpenComponent: CalendarDayGrid Component: WeeklyDayPicker Fluent UI react (v8) Type: Bug :bug:
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
microsoft/fluentui#36721 · 2 comments ·
Maintainers usually reply within 1 day
All issues in microsoft/fluentui
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
mobile-next/mobile-mcp#526 ·
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 1/5 Under an hour Newbie friendliness 73/100
redhat-developer/rhdh-plugin-export-overlays#4470 · 1 comment ·
Maintainers usually reply within 1 day