Skip to content

feat(webui): expand file-type icons and share the resolver - #979

Merged
alcholiclg merged 3 commits into
modelscope:mainfrom
Col0ring:feat/file-type-icons
Sep 16, 2026
Merged

alcholiclg merged 3 commits into
modelscope:mainfrom
Col0ring:feat/file-type-icons

Conversation

@Col0ring

Copy link
Copy Markdown
Contributor

Summary

  • expand the file-type icon set with language, config, data and framework icons and drop the merged web icon
  • centralize the extension/full-name lookup in FileCard.getFileIcon and reuse it from the folder tree
  • size up the workspace row icons to match

Testing

  • pnpm typecheck

- add language, config, data and framework icons and drop the merged `web`
  icon
- tighten the existing java, js, py and txt icons and the media badges
- export `getFileIcon` from FileCard with extension and full-name lookups
- reuse it in the folder tree instead of a second mapping
- size the workspace row icons up to match
@alcholiclg
alcholiclg merged commit e857feb into modelscope:main Sep 16, 2026
1 of 2 checks passed
@Col0ring
Col0ring deleted the feat/file-type-icons branch September 16, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants