Skip to content
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

[Bug]: .onepart file type icon falls back to genericfile instead of using one (onenote) #33316

Closed
2 tasks done
cpalaparthi opened this issue Nov 21, 2024 · 0 comments
Closed
2 tasks done
Labels

Comments

@cpalaparthi
Copy link
Contributor

Package

react-file-type-icons

Package version

8.11.20

React version

18.3.1

Environment

System:
    OS: Windows 11 10.0.26100
    CPU: (20) x64 Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz
    Memory: 53.72 GB / 63.69 GB
  Browsers:
    Edge: Chromium (131.0.2903.51)
    Internet Explorer: 11.0.26100.1882

Current Behavior

onepart extension is mapped to genericfile (fallback) as it is not present in FileTypeIconMap.

Expected Behavior

onepart extension to be mapped to one extension.

Reproduction

https://codesandbox.io/p/sandbox/currying-sunset-g4hz37

Steps to reproduce

Open the link and observe the file icons in preview pane

Are you reporting an Accessibility issue?

no

Suggested severity

High - No workaround

Products/sites affected

Copilot in meta os (outlook, teams, office.com)

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant