microsoft / microsoft/fluentui

[Bug]: .agent file icon missing from react-file-type-icons

Open Beginner friendly
#35,738 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Fluent UI react-components (v9) Type: Bug :bug:
Dominant language
TypeScript
Stars
20.3k
Forks
2.9k
Avg merge
2d 9h
Merged PRs (30d)
46

Description

Component

Other...

Package version

n/a

React version

n/a

Environment
n/a
Current Behavior

Blank icon

Expected Behavior

Appropriate file icon for SharePoint Agents (.agent files) as seen in the SharePoint Online file viewer:

Image
Reproduction

See below

Steps to reproduce
  1. Open FileTypeIconMap.ts in this repository.
  2. Notice that there is no entry for 'agent'

Marked React/Fluent UI Component versions N/A as I am using this package without React.

Are you reporting an Accessibility issue?

None

Suggested severity

High - No workaround

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Contributor guide

No contributing guide indexed for this repository

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

Start with FileTypeIconMap.ts, where the issue reports that no entry exists for 'agent'. Add the SharePoint Agents file icon mapping and verify that .agent files no longer show a blank icon.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.