-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- changed the scss files structure and also include each styles along with its component to minimize the manager styles file size - animation to the gestures - a couple more gestures - presets to the image editor, also all the filters/presets that don’t have values are switchable - new filter “selected” - use WebWorker + fetch for the images “slightly faster than browser default, also fetch calls are always cached and will avoid re-downloading the image preview every time the sidebar is toggled” - more ways to upload - gls cards will now have temp image until original is loaded to make sure we only load what we need. - animate the upload-panel toggling instead of jumping up&down - big files and long lists should render smoothly now - make sure the events listeners are removed on components destroy - include the font from the screenshot so you get the same look - some files has changed names & folder structure - i now kinda have a better idea of how to fix the sluggish animation, so if you are facing such an issue plz open a ticket with “a how to reproduce” so i can fix it - rdme & resources
- Loading branch information
Showing
55 changed files
with
1,894 additions
and
939 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## New | ||
|
||
- changed the scss files structure and also include each styles along with its component to minimize the manager styles file size | ||
- animation to the gestures | ||
- a couple more gestures | ||
- presets to the image editor, also all the filters/presets that don’t have values are switchable | ||
- new filter “selected” | ||
- use WebWorker + fetch for the images “slightly faster than browser default, also fetch calls are always cached and will avoid re-downloading the image preview every time the sidebar is toggled” | ||
- more ways to upload | ||
|
||
## Fix | ||
|
||
- gls cards will now have temp image until original is loaded to make sure we only load what we need. | ||
- animate the upload-panel toggling instead of jumping up&down | ||
- big files and long lists should render smoothly now | ||
|
||
## Update | ||
|
||
- make sure the events listeners are removed on components destroy | ||
- include the font from the screenshot so you get the same look | ||
- some files has changed names & folder structure | ||
- i now kinda have a better idea of how to fix the sluggish animation, so if you are facing such an issue plz open a ticket with “a how to reproduce” so i can fix it | ||
- rdme & resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 21 additions & 1 deletion
22
src/resources/assets/js/components/globalSearch/lazyLoading.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,33 @@ | ||
<template> | ||
<div> | ||
<img v-if="src" ref="img" :src="src" :alt="file.name" async> | ||
<!-- <img v-else src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"> --> | ||
<img v-else src="/assets/vendor/MediaManager/patterns/gif/5b98026bab87a.gif"> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
img { | ||
background: black; | ||
} | ||
</style> | ||
|
||
<script> | ||
import lazy from '../../mixins/lazy' | ||
export default { | ||
mixins: [lazy] | ||
mixins: [lazy], | ||
watch: { | ||
intersected: { | ||
immediate: true, | ||
handler(val, oldVal) { | ||
if (val) { | ||
this.fetchImg(this.file.path).then((img) => { | ||
this.src = img | ||
}) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
</script> |
Oops, something went wrong.