Add support for PSD to display in files && fix fileListCache issue #1817
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Details
Description / Motivation and Context
This pull request adds support for PSD files and includes various other improvements and fixes. The changes span multiple files and functionalities, including front-end and back-end updates, as well as updates to tests and documentation.
Support for PSD files:
starsky/starsky.foundation.platform/Helpers/ExtensionRolesHelper.cs
: Added PSD toImageFormat
enum, updatedMapFileTypesToExtensionDictionary
, and added methods to support PSD files. [1] [2] [3] [4] [5] [6]starsky/starsky/clientapp/src/interfaces/IFileIndexItem.ts
: Added PSD toImageFormat
enum.starsky/starsky/clientapp/src/style/css/21-archive-folder.css
: Updated CSS to handle PSD file icons. [1] [2] [3]starsky/starskytest/FakeCreateAn/CreateAnImagePsd/CreateAnImagePsd.cs
: Created a fake PSD image for testing.starsky/starskytest/starsky.foundation.platform/Helpers/ExtensionRolesHelperTest.cs
: Added tests for PSD file support. [1] [2] [3]starsky/starskytest/starskytest.csproj
: Included test PSD file in the project.Front-end improvements:
starsky/starsky/clientapp/src/hooks/use-filelist.ts
: Updated log message for cache content.starsky/starsky/clientapp/src/shared/filelist-cache.spec.ts
: Added test to ensure PSD and JPEG files with similar names are not confused.starsky/starsky/clientapp/src/shared/filelist-cache.ts
: Fixed collection name comparison logic.Documentation updates:
history.md
: Updated release date for version 0.6.3 and added entries for PSD support and other changes. [1] [2]Related Issue
How Has This Been Tested
Types of changes
Checklist