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

[docs] Update MIME icons with SVG #711

Merged
merged 2 commits into from
Aug 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/component-spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ qbehaviour
qformat
qtype
question
quicktime
rating
report
reportbuilder
Expand Down
43 changes: 43 additions & 0 deletions docs/devupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,3 +418,46 @@ setUserPreferences([
{name: 'mod_example_bar', value: 43},
]).catch(Notification.exception);
```

## Icons

### MIME

:::info

The MIME icons located in the `pix/f` directory, have undergone an update. These icons, previously available in various sizes, have now been replaced with SVG versions.

:::

To streamline the variety of icons associated with different MIME types, several specific MIME icons have been replaced. Instead, their corresponding generic icons have been integrated from the existing collection, leading to a more efficient representation:

- avi -> video
- base -> database
- bmp -> image
- html -> markup
- jpeg -> image
- mov -> video
- mp3 -> audio
- mpeg -> video
- png -> image
- quicktime -> video
- tiff -> image
- wav -> audio
- wmv -> video

The subsequent MIME icons have been entirely removed:

- clip-353
- edit
- env
- explore
- folder-open
- help
- move
- parent

:::warning

Files utilizing any of these removed icons will now be represented by the "unknown" icon.

:::
Loading