Skip to content

feat(ui): filetype icons#41

Merged
xsahil03x merged 10 commits intomain-design-systemfrom
feature/filetype-icons
Feb 3, 2026
Merged

feat(ui): filetype icons#41
xsahil03x merged 10 commits intomain-design-systemfrom
feature/filetype-icons

Conversation

@renefloor
Copy link
Collaborator

Submit a pull request

Linear: FLU-368

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

This adds the icons for file types: https://www.figma.com/design/Us73erK1xFNcB5EH3hyq6Y/Chat-SDK-Design-System?node-id=157-2400&m=dev

As per discussion on Figma, the icons are simplified compared to chat, the text is now variable so we can have a limited set of svg's.

I have all mime types from chat: https://github.com/GetStream/stream-chat-flutter/blob/master/packages/stream_chat_flutter/lib/src/utils/helpers.dart#L334-L388
And added video types.

Screenshots / Videos

image image image

@renefloor renefloor requested a review from a team as a code owner January 29, 2026 16:31
@coderabbitai
Copy link

coderabbitai bot commented Jan 29, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/filetype-icons

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@renefloor renefloor changed the title Feature/filetype icons feat(ui): filetype icons Jan 29, 2026
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

❌ Patch coverage is 3.33333% with 87 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main-design-system@3acc381). Learn more about missing BASE report.

Files with missing lines Patch % Lines
.../components/accessories/stream_file_type_icon.dart 1.13% 87 Missing ⚠️

❌ Your patch status has failed because the patch coverage (3.33%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@                  Coverage Diff                  @@
##             main-design-system      #41   +/-   ##
=====================================================
  Coverage                      ?   43.49%           
=====================================================
  Files                         ?       75           
  Lines                         ?     1876           
  Branches                      ?        0           
=====================================================
  Hits                          ?      816           
  Misses                        ?     1060           
  Partials                      ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

renefloor and others added 5 commits January 30, 2026 10:54
# Conflicts:
#	apps/design_system_gallery/lib/app/gallery_app.directories.g.dart
#	packages/stream_core_flutter/lib/src/factory/stream_component_factory.dart
#	packages/stream_core_flutter/pubspec.yaml
…/filetype-icons

# Conflicts:
#	packages/stream_core_flutter/pubspec.yaml
@xsahil03x xsahil03x merged commit fe857ee into main-design-system Feb 3, 2026
3 of 4 checks passed
@xsahil03x xsahil03x deleted the feature/filetype-icons branch February 3, 2026 08:34
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