-
Notifications
You must be signed in to change notification settings - Fork 159
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
Load thumbnails for space images instead of the whole file #6529
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Results for oCISTrashbinUploadMoveJourney https://drone.owncloud.com/owncloud/web/23292/69/1
|
553a585
to
0a3b549
Compare
Results for oCISSharingPublic1 https://drone.owncloud.com/owncloud/web/23309/67/1
|
packages/web-app-files/src/mixins/spaces/actions/uploadImage.js
Outdated
Show resolved
Hide resolved
Results for oCISSharingPublic1 https://drone.owncloud.com/owncloud/web/23333/67/1
|
959439f
to
ffd47be
Compare
packages/web-app-files/src/components/SideBar/Actions/SpaceActions.vue
Outdated
Show resolved
Hide resolved
Results for oCISSharingInternal2 https://drone.owncloud.com/owncloud/web/23361/60/1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 👍🏻
packages/web-app-files/src/components/SideBar/Details/SpaceDetails.vue
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Details/SpaceDetails.vue
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/mixins/spaces/actions/uploadImage.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
@@ -138,5 +138,13 @@ export default { | |||
store.getters.configuration.server || window.location.origin, | |||
get(store, 'getters.capabilities.files.archivers', []) | |||
) | |||
// FIXME: Remove mock data | |||
thumbnailService.initialize( | |||
get(store, 'getters.capabilities.files.thumbnail', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If guess we'll name it differently (like preview
or something more generic), but that's not an issue for now. The way you implemented it allows a fix with minimal footprint ❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also check in the future if we can add supported mime types to the capabilities of oc10 as soon as the json schema for the capability is fixed.
Results for oC10XGAPortrait2 https://drone.owncloud.com/owncloud/web/23376/45/1 |
Results for oC10XGAPortrait1 https://drone.owncloud.com/owncloud/web/23376/44/1 |
Results for oCISSharingInternal3 https://drone.owncloud.com/owncloud/web/23378/61/1
|
Results for oCISSharingInternal2 https://drone.owncloud.com/owncloud/web/23378/60/1
|
Results for oCISSharingPublic2 https://drone.owncloud.com/owncloud/web/23378/68/1
|
Results for oCISTrashbinUploadMoveJourney https://drone.owncloud.com/owncloud/web/23378/69/1
|
Results for oC10FileOperations https://drone.owncloud.com/owncloud/web/23382/14/1 |
Kudos, SonarCloud Quality Gate passed! |
Description
Enhancement: Load space images as preview
We've added a new logic which renders space images as preview to minimize data traffic
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: