diff --git a/package.json b/package.json index 4bb94fcd..0c14e2b0 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "@fortawesome/vue-fontawesome": "3.0.1", "@vuelidate/core": "^2.0.0", "@vuelidate/validators": "^2.0.0", - "blurhash": "^2.0.4", "body-scroll-lock": "2.7.1", "chromatism": "3.0.0", "click-outside-vue3": "4.0.1", diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 3155abf0..4dcacc7e 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -18,7 +18,6 @@ import { faPencilAlt, faAlignRight } from '@fortawesome/free-solid-svg-icons' -import Blurhash from '../blurhash/Blurhash.vue' library.add( faFile, @@ -64,8 +63,7 @@ const Attachment = { components: { Flash, StillImage, - VideoAttachment, - Blurhash + VideoAttachment }, computed: { classNames () { @@ -86,9 +84,6 @@ const Attachment = { useContainFit () { return this.$store.getters.mergedConfig.useContainFit }, - useBlurhash () { - return this.$store.getters.mergedConfig.useBlurhash - }, placeholderName () { if (this.attachment.description === '' || !this.attachment.description) { return this.type.toUpperCase() diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index f9c4f1c8..947b1bfc 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -64,15 +64,7 @@ :title="attachment.description" @click.prevent.stop="toggleHidden" > - - - - - - - diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue index 5d135711..2fa20742 100644 --- a/src/components/settings_modal/tabs/general_tab.vue +++ b/src/components/settings_modal/tabs/general_tab.vue @@ -407,15 +407,6 @@ {{ $t('settings.preload_images') }} -
  • - - {{ $t('settings.use_blurhash') }} - -
  • { if (masto) { // Not exactly same... output.mimetype = data.pleroma ? data.pleroma.mime_type : data.type - output.meta = data.meta + output.meta = data.meta // not present in BE yet output.id = data.id } else { output.mimetype = data.mimetype // output.meta = ??? missing } - output.blurhash = data.blurhash output.url = data.url output.large_thumb_url = data.preview_url output.description = data.description diff --git a/static/blurhash-overlay.png b/static/blurhash-overlay.png deleted file mode 100755 index 209a9438..00000000 Binary files a/static/blurhash-overlay.png and /dev/null differ diff --git a/yarn.lock b/yarn.lock index 7027b7d8..5ead5936 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2494,11 +2494,6 @@ binary-extensions@^2.0.0: resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -blurhash@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/blurhash/-/blurhash-2.0.4.tgz#60642a823b50acaaf3732ddb6c7dfd721bdfef2a" - integrity sha512-r/As72u2FbucLoK5NTegM/GucxJc3d8GvHc4ngo13IO/nt2HU4gONxNLq1XPN6EM/V8Y9URIa7PcSz2RZu553A== - body-parser@1.19.2: version "1.19.2" resolved "https://registry.npmjs.org/body-parser/-/body-parser-1.19.2.tgz"