René's URL Explorer Experiment


Title: refactor(ui): centralize document file-type icons in EMCN by BillLeoutsakosvl346 · Pull Request #7984 · simstudioai/sim · GitHub

Open Graph Title: refactor(ui): centralize document file-type icons in EMCN by BillLeoutsakosvl346 · Pull Request #7984 · simstudioai/sim

X Title: refactor(ui): centralize document file-type icons in EMCN by BillLeoutsakosvl346 · Pull Request #7984 · simstudioai/sim

Description: Summary The document/file-type icon family is defined in the app instead of EMCN. Move all 14 existing SVG components into @sim/emcn/icons and update direct consumers, including the existing landing previews. Keep getDocumentIcon in the app with its MIME-type/extension selection order and upload-validation dependencies unchanged. Preserve the complete icon functions: drawings, view boxes, strokes, PDF lettering, SVG prop forwarding and caller-provided sizes/colors. This is an independent PR against staging and does not depend on #7983. The diff contains only the icon relocation, exports and import updates. The existing document-icon test changes imports only; no new tests, linter tooling, configuration or dependencies are included. Type of Change Other: behavior-preserving UI consolidation Testing 336 EMCN tests and 43 existing app tests passed (document selection, mention icons, attached files and file downloads). EMCN/app type checks, repository lint, API validation, SVG path precision and git diff --check passed. External source comparison verified all 14 original icon functions, unchanged selection logic and import-only consumer changes. All 42 rendered SVG comparisons matched exactly, including caller overrides. Final category check: 14 central icons, zero remaining findings, zero copied drawings and zero stale imports. Copy detection inspected 295 app/package source files containing SVG, including landing consumers. The 13 artwork findings and three PDF-lettering typography findings are resolved by relocating their unchanged definitions into EMCN. Final committed-diff audit: zero violations, 15 intentional central-artwork notifications for the 14 icon definitions and export barrel. The audit source hash matches the final checkout. Validation uses source and rendered markup comparison; no browser screenshot comparison was performed. Unrelated audit findings and coverage gaps remain outside this file-type icon category.

Open Graph Description: Summary The document/file-type icon family is defined in the app instead of EMCN. Move all 14 existing SVG components into @sim/emcn/icons and update direct consumers, including the existing landin...

X Description: Summary The document/file-type icon family is defined in the app instead of EMCN. Move all 14 existing SVG components into @sim/emcn/icons and update direct consumers, including the existing landin...

Opengraph URL: https://github.com/simstudioai/sim/pull/7984

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1e9fbb78-3c00-5aa3-9479-539607b24154
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B5E:394173:135229E:1A74E6C:6AFB6F5A
html-safe-nonce05322844dee1f73406123ee1a612715be0551f5e68401228cd08a6663912ed82
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjVFOjM5NDE3MzoxMzUyMjlFOjFBNzRFNkM6NkFGQjZGNUEiLCJ2aXNpdG9yX2lkIjoiMTc2NjQ0MDExNzAwMzMxNzA4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0ba921289c71cd3528c80bd2f4cd1402576096a561ec0e2b19fcd9ed990b96da
hovercard-subject-tagpull_request:4573510207
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7984/files
twitter:imagehttps://avatars.githubusercontent.com/u/157128530?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/157128530?s=400&v=4
og:image:altSummary The document/file-type icon family is defined in the app instead of EMCN. Move all 14 existing SVG components into @sim/emcn/icons and update direct consumers, including the existing landin...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7984/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7984%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7984%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/7984/files
Reloadhttps://github.com/simstudioai/sim/pull/7984/files
Reloadhttps://github.com/simstudioai/sim/pull/7984/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
codex/control-fix-document-iconshttps://github.com/simstudioai/sim/tree/codex/control-fix-document-icons
Conversation 2 https://github.com/simstudioai/sim/pull/7984
Commits 1 https://github.com/simstudioai/sim/pull/7984/commits
Checks 36 https://github.com/simstudioai/sim/pull/7984/checks
Files changed https://github.com/simstudioai/sim/pull/7984/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7984/files
refactor(ui): centralize document file-type icons in EMCN https://github.com/simstudioai/sim/pull/7984/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/7984/files
eabef41 refactor(emcn): centralize document file-type icons Sep 18, 2026 https://github.com/simstudioai/sim/pull/7984/commits/eabef4169adaf2da611efe59ef48b6e07370c9bd
Clear filters https://github.com/simstudioai/sim/pull/7984/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7984/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7984/files
file-download.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-37fbe2c856a50e4020cbcd4c4002561ed384f3234a2a098c7ca1f25cd6fce847
workflow-data.ts https://github.com/simstudioai/sim/pull/7984/files#diff-587333bc7302f0cee1979a4295ccd3f8ed41adc10cd209ca30bb70769d0ba2cf
files-menu-preview.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-5fe3dc5af084db094306ac0e521f9a4b9beebf77a512698c765eb71e85b9deba
knowledge-menu-preview.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-3382cdaaa3c533a0e6ee072f9b942cc15188bd5ce9c7280c8a8bd68723eed65c
file-library-graphic.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-0c139bf957f1781a948c36ecd6bdc25d62d9063c3d7f666561acb8e7cc372e28
files-hero-loop.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-e4cb0a8b8758b36959e89aa506e535cb3d74dd5ade32478deb6ddf60b3ccdb72
drop-overlay.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-38ee128926107356fe6120741efa4a06b982f2a447ab5855590435490dde972d
document-icons.test.ts https://github.com/simstudioai/sim/pull/7984/files#diff-be3823584a986f44d20ec700a500a85f6d05a288dc493060ad922373a9459608
document-icons.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-7cd8c71c2fe6e68af8f20af9cfb98e9eea3d92ef10799beeef1e2dbd088b9561
audio-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-3db1f7967116af93d511f80994d5b24bfc6f0d12b838249a41d578db333849f6
chart-file-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-98d6700b757af1c94ea8b2c7490f5f5c9d5fea1bf81a6b0cfb66e71f8a4a0744
csv-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-8db0e3af2d7bed2a1c7cee9389d5b002f724af4e7daaf58e9ddcaca4cfe81646
default-file-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-eebb9fefec42252d4bd30fc3db7b2686ddc454db3ad58a7da73235fa5b897e2d
docx-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-ee984016beb11d9703d3b1c3d23ef31cb09b2ee6f888d62cefad7046f2580270
html-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-6e2be8d45da81af76b86d2034b1be35a3b1381482b39a692c6e945802044c2e4
index.ts https://github.com/simstudioai/sim/pull/7984/files#diff-ae94dc79bebfec2cd2987e06c43d732ab35ed14f46df866c640e6f236623fc06
json-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-7420492a09605f4113e8b651cb632b57f2847c8bf333561dfdf8c1d29385b481
markdown-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-d45bdc9a210319da556f06038667498eea18f67265d4b4350e42a91a61f8918d
pdf-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-2ef084b2fadc13177d76af854c3ea29878c93b2453e5888981536b459c76a94b
pptx-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-80084fa1a1e78ef6a6fd1e74b9807f67414b0944876d0dd6e994267e91669c59
txt-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-4c43fc4b73ffcbdf7fa16538a1ff0fcf2183694216a7bd0859c6990dd2a08ba1
video-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-8f55e4ee4beb533a6dd64be850346ab729951c7f416253f9376f5a51419e9a1d
xlsx-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-407a46581a51fceccc152debfe06ec01bab6896bdaf2bb47737393c2ee801579
zip-icon.tsx https://github.com/simstudioai/sim/pull/7984/files#diff-b8c465cfa92ef5e97dfbfc8a626b32a46a51abf4682d45fb39c3d1e9dcd02531
apps/sim/app/(interfaces)/chat/components/message/components/file-download.tsxhttps://github.com/simstudioai/sim/pull/7984/files#diff-37fbe2c856a50e4020cbcd4c4002561ed384f3234a2a098c7ca1f25cd6fce847
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/app/(interfaces)/chat/components/message/components/file-download.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-37fbe2c856a50e4020cbcd4c4002561ed384f3234a2a098c7ca1f25cd6fce847
https://github.com/simstudioai/sim/pull/7984/files#diff-37fbe2c856a50e4020cbcd4c4002561ed384f3234a2a098c7ca1f25cd6fce847
apps/sim/app/(landing)/components/hero/components/hero-visual/workflow-data.tshttps://github.com/simstudioai/sim/pull/7984/files#diff-587333bc7302f0cee1979a4295ccd3f8ed41adc10cd209ca30bb70769d0ba2cf
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/app/(landing)/components/hero/components/hero-visual/workflow-data.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-587333bc7302f0cee1979a4295ccd3f8ed41adc10cd209ca30bb70769d0ba2cf
...enu-chip/components/nav-menu-preview/components/files-menu-preview/files-menu-preview.tsxhttps://github.com/simstudioai/sim/pull/7984/files#diff-5fe3dc5af084db094306ac0e521f9a4b9beebf77a512698c765eb71e85b9deba
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/app/(landing)/components/navbar/components/nav-menu-chip/components/nav-menu-preview/components/files-menu-preview/files-menu-preview.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-5fe3dc5af084db094306ac0e521f9a4b9beebf77a512698c765eb71e85b9deba
.../components/nav-menu-preview/components/knowledge-menu-preview/knowledge-menu-preview.tsxhttps://github.com/simstudioai/sim/pull/7984/files#diff-3382cdaaa3c533a0e6ee072f9b942cc15188bd5ce9c7280c8a8bd68723eed65c
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/app/(landing)/components/navbar/components/nav-menu-chip/components/nav-menu-preview/components/knowledge-menu-preview/knowledge-menu-preview.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-3382cdaaa3c533a0e6ee072f9b942cc15188bd5ce9c7280c8a8bd68723eed65c
apps/sim/app/(landing)/files/components/feature-graphics/file-library-graphic.tsxhttps://github.com/simstudioai/sim/pull/7984/files#diff-0c139bf957f1781a948c36ecd6bdc25d62d9063c3d7f666561acb8e7cc372e28
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/app/(landing)/files/components/feature-graphics/file-library-graphic.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-0c139bf957f1781a948c36ecd6bdc25d62d9063c3d7f666561acb8e7cc372e28
apps/sim/app/(landing)/files/components/files-hero-loop.tsxhttps://github.com/simstudioai/sim/pull/7984/files#diff-e4cb0a8b8758b36959e89aa506e535cb3d74dd5ade32478deb6ddf60b3ccdb72
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/app/(landing)/files/components/files-hero-loop.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-e4cb0a8b8758b36959e89aa506e535cb3d74dd5ade32478deb6ddf60b3ccdb72
https://github.com/simstudioai/sim/pull/7984/files#diff-e4cb0a8b8758b36959e89aa506e535cb3d74dd5ade32478deb6ddf60b3ccdb72
...rkspace/[workspaceId]/home/components/user-input/components/drop-overlay/drop-overlay.tsxhttps://github.com/simstudioai/sim/pull/7984/files#diff-38ee128926107356fe6120741efa4a06b982f2a447ab5855590435490dde972d
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/app/workspace/%5BworkspaceId%5D/home/components/user-input/components/drop-overlay/drop-overlay.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-38ee128926107356fe6120741efa4a06b982f2a447ab5855590435490dde972d
apps/sim/components/icons/document-icons.test.tshttps://github.com/simstudioai/sim/pull/7984/files#diff-be3823584a986f44d20ec700a500a85f6d05a288dc493060ad922373a9459608
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/components/icons/document-icons.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-be3823584a986f44d20ec700a500a85f6d05a288dc493060ad922373a9459608
apps/sim/components/icons/document-icons.tsxhttps://github.com/simstudioai/sim/pull/7984/files#diff-7cd8c71c2fe6e68af8f20af9cfb98e9eea3d92ef10799beeef1e2dbd088b9561
View file https://github.com/simstudioai/sim/blob/eabef4169adaf2da611efe59ef48b6e07370c9bd/apps/sim/components/icons/document-icons.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7984/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7984/files#diff-7cd8c71c2fe6e68af8f20af9cfb98e9eea3d92ef10799beeef1e2dbd088b9561
Please reload this pagehttps://github.com/simstudioai/sim/pull/7984/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7984/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.