Skip to content

Creating react-file-type-icons package for v9#35515

Open
bigbadcapers wants to merge 165 commits intomicrosoft:masterfrom
bigbadcapers:caperez/filetype-icons-for-v9
Open

Creating react-file-type-icons package for v9#35515
bigbadcapers wants to merge 165 commits intomicrosoft:masterfrom
bigbadcapers:caperez/filetype-icons-for-v9

Conversation

@bigbadcapers
Copy link
Contributor

@bigbadcapers bigbadcapers commented Nov 25, 2025

  • Code is up-to-date with the master branch
  • Your changes are covered by tests (if possible)
  • Package based on existing v8 @fluentui/react-file-type-icons with additional error checks, better documentation and testing.
  • You've run yarn change locally

# Conflicts (merged and resolved):
#	packages/react-file-type-icons/src/FileIconType.ts
#	packages/react-file-type-icons/src/FileTypeIconMap.ts
#	packages/react-file-type-icons/src/getFileTypeIconProps.ts
… wrapped in an if statement to filter unwanted properties from the prototype guard-for-in
…asks, and exploring workspaces

- Introduced `nx-generate` skill for scaffolding projects and code generation using Nx generators.
- Added `nx-plugins` skill to discover and install Nx plugins for various frameworks.
- Created `nx-run-tasks` skill to assist in executing tasks within an Nx workspace.
- Developed `nx-workspace` skill for exploring workspace structure, project configurations, and available targets.
- Added references for affected projects in the workspace.
- Updated VSCode settings for improved terminal history and session management.
- Enhanced guidelines for working with Nx, emphasizing the use of skills for scaffolding and exploration.
- Updated Storybook configuration to ensure visibility of specific component documentation.
- Added mock for `@fluentui/set-version` to prevent errors in Storybook.
@github-actions github-actions bot removed the CI label Mar 3, 2026
@bigbadcapers
Copy link
Contributor Author

Just rebuilt the approach entirely to actually add v9 calling patterns into the existing file type icons package instead of having two competing packages with same major version number.

@bigbadcapers bigbadcapers marked this pull request as draft March 3, 2026 22:30
@bigbadcapers
Copy link
Contributor Author

So the PR now integrates cleanly and i tested both the v9 storybook and older v8 stories, both methods of referencing file type icons work without the need for separate packages.

I did not move the location of the package and that seemed to cause a CI error until this line was added: https://github.com/bigbadcapers/fluentui/blob/829bcbd1638c7b55b504a14fde65d24ce8f89b5e/package.json#L337

It's the one thing that stands out as odd to me now, but I dont know if actually moving the package's folder to where the rest of the v9 controls are would have worse side-effects, and I'm trying to minimize impact to the overall # of files touched. Please lmk what's the best approach here.

@bigbadcapers bigbadcapers marked this pull request as ready for review March 4, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants