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

Add modern attachment mimetype icons #6119

Open
wants to merge 18 commits into
base: production
Choose a base branch
from
Open

Conversation

grantfitzsimmons
Copy link
Member

@grantfitzsimmons grantfitzsimmons commented Jan 19, 2025

Fixes #6118

Current Behavior

image

New Icons

Note that any video or audio attachment will display the appropriate thumbnail. Any presentation file, whether PowerPoint or another format, will show a presentation icon. Unknown MIME types will be represented by a generic text icon.

image

Checklist

  • Self-review the PR after opening it to make sure the changes look good and
    self-explanatory (or properly documented)
  • Add automated tests
  • Add relevant issue to release milestone
  • Add relevant documentation (Tester - Dev)
  • Add a reverse migration if a migration is present in the PR

Testing instructions

Perform these testing instructions on both production and this PR– the behavior should be consistent, except for cases where the icon has changed due to the changes here.

  • Upload an attachment with the following file type:
    • Thumbnails should be generated for:
      • JPEG
      • PNG
      • PDF
      • TIFF
      • GIF
    • Mimetype Icons should be displayed for:
      • Video
      • Audio
      • Images (of a different file type)
      • PowerPoint
      • Word
      • XML
      • YML
      • JSON
      • Text
      • An unknown mimetype should display generic text icon

@grantfitzsimmons grantfitzsimmons added this to the 7.9.11.1 milestone Jan 19, 2025
@grantfitzsimmons grantfitzsimmons marked this pull request as ready for review January 19, 2025 22:23
Copy link
Member

@maxpatiiuk maxpatiiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new icons look very Linuxy 🤗

@grantfitzsimmons grantfitzsimmons requested review from a team January 22, 2025 14:52
@grantfitzsimmons grantfitzsimmons requested review from a team and removed request for a team January 22, 2025 15:56
Copy link
Contributor

@pashiav pashiav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Upload an attachment with the following file type:
    • Thumbnails should be generated for:
      • JPEG
      • PNG
      • PDF
      • TIFF
      • GIF
    • Mimetype Icons should be displayed for:
      • Video
      • Audio
      • Images (of a different file type)
      • PowerPoint
      • Word
      • XML
      • YML
      • JSON
      • Text
      • An unknown mimetype should display generic text icon

Looks so much better!
Screenshot 2025-01-22 at 12 16 39 PM

@pashiav pashiav requested a review from a team January 22, 2025 18:18
Copy link
Collaborator

@lexiclevenger lexiclevenger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Upload an attachment with the following file type:
    • Thumbnails should be generated for:
      • JPEG
      • PNG
      • PDF
      • TIFF
      • GIF
    • Mimetype Icons should be displayed for:
      • Video
      • Audio
      • Images (of a different file type)
      • PowerPoint
      • Word
      • XML
      • YML
      • JSON
      • Text
      • An unknown mimetype should display generic text icon

Looks good!
Screenshot 2025-01-22 at 12 25 37 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋Back Log
Development

Successfully merging this pull request may close these issues.

Update attachment mimetype icons
6 participants