From 92ebc1d0189e624edb1252132f849f88142e437c Mon Sep 17 00:00:00 2001 From: Justin Goff Date: Wed, 20 Jul 2022 14:50:21 -0500 Subject: [PATCH 1/5] updated placholder image --- dist/img/placeholder.jpg | Bin 18376 -> 10573 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/dist/img/placeholder.jpg b/dist/img/placeholder.jpg index ae0eff4a6ff9051bd73ecfc37291ae1e2c1158cb..5be39824468b17aa44aafc87c4c4273056399cc1 100644 GIT binary patch literal 10573 zcmbW4by!thm%z_0;?gaBDQS>y>9~Zzr8_ThX^>DrMI*gFyVP|F?+5&ePim06;pI-a_{1+jf^6ddaT-KAu|AWT?GcI|Zk{&ocLCtfJ6}Zsq*t{?TozeWKtfcM zSCH?r{C~;+YW&OVe}}8J{o`?<`+Lnmlzo5e{*L`y=aB;d;zyUYiT_(?n*jjzVE}M# z`fnX;HUJQX0zlp1Ki-G(YQH%7_;^b4^ZWbz^I_0-d{+hiOa4!XzdZjn{Ns6iSI_&a zb_gZ3gN?7N58|q*b{?)CzTSx2o;G%91n>Xc#Q*QWf28$~Ja|xO2edcZ{qj+Um%9w( z?s&P}?)DfTjE6e{&%V9{vfN()xfLHkJV*{ecKQG)86E&Je|~8J z{k3kIxQ4*hmuJMd{%7A`@}>Rv_}>O_+~pK}8{>$$QY)hL5q7@beph_?OMNH^4jKBhU*B0b{@numG$ATfiQ044i{NAZ!o;hzvvxVg#{)xIuy-anMbW zGDs7I0-1oUL5?7IkS{0*^avCUN(4Oxy#y73DnX5)cc5<2FlY+22-*OB1D$~(V0zr`%nud^%Y!w*`d|yNBiIWZ01gGmg44k{;8JiM_#LZ-I{>00a+031Ncp zLc}485N(Jl!~x{0R0^sFHGtYdy`cA@ zG0>;bLTDYd9XbMCgziCq!3bb{uuQO=u>!GTu(Gf!u-dSOv6iupu(7eJvAMBju(h#muzj$@u`{qsv0Je}VXtDJ z;^5&h;t1lX;F#jL%v>a`;JeF&xNmuZ;tPa zAB$gr--bVhe?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;uGKTptum;e9( From 200139053487954b7dbfb7c103736af4950b76c5 Mon Sep 17 00:00:00 2001 From: Justin Goff Date: Wed, 20 Jul 2022 15:43:10 -0500 Subject: [PATCH 2/5] add to library function rename --- dist/scripts/admin.js | 2 +- lib/Admin.php | 2 +- lib/Plugin.php | 7 +------ src/scripts/admin.js | 12 ++++++------ 4 files changed, 9 insertions(+), 14 deletions(-) diff --git a/dist/scripts/admin.js b/dist/scripts/admin.js index 8ea19f3..64807bd 100644 --- a/dist/scripts/admin.js +++ b/dist/scripts/admin.js @@ -1 +1 @@ -!function(e){var a={};function t(i){if(a[i])return a[i].exports;var n=a[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=a,t.d=function(e,a,i){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var n in e)t.d(i,n,function(a){return e[a]}.bind(null,n));return i},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=0)}([function(e,a,t){"use strict";t(1),function(e){var a=e("#widen-media"),t=e(".pagination-links .button"),i=e(".add-to-library"),n=e("#widen-save-collection");function d(){e("#widen-search-submit").attr("disabled",!0),e("#widen-search-spinner").addClass("is-active"),e("#widen-search-results").addClass("disabled",!0)}a.submit(function(){d()}),t.click(function(){d()}),i.click(function(a){a.preventDefault();var t,i,n,d=e(this);i=(t=d).closest(".tile"),n=i.find(".spinner"),t.attr("disabled",!0),i.addClass("disabled",!0),n.addClass("is-active");var r={},o=e(this).attr("data-type"),l=e(this).attr("data-format"),c=e(this).attr("data-ext"),s=e(this).attr("data-id"),u=e(this).attr("data-filename"),_=e(this).attr("data-description"),f=e(this).attr("data-url"),m=e(this).attr("data-templated-url"),p=e(this).attr("data-thumbnail-url"),b=e(this).attr("data-fields");switch(o){case"image":r={action:"widen_media_add_image_to_library",nonce:widen_media.ajax_nonce,type:o,id:s,filename:u,description:_,url:f,templatedUrl:m,fields:b};break;case"pdf":r={action:"widen_media_add_image_to_library",nonce:widen_media.ajax_nonce,type:o,id:s,filename:u,description:_,url:f,templatedUrl:m,thumbnailUrl:p,fields:b};break;case"office":r={action:"widen_media_add_office_file_to_library",nonce:widen_media.ajax_nonce,type:o,ext:c,id:s,filename:u,description:_,url:f,templatedUrl:m,thumbnailUrl:p,fields:b};break;case"generic":r={action:"widen_media_add_generic_file_to_library",nonce:widen_media.ajax_nonce,type:o,ext:c,id:s,filename:u,description:_,url:f,templatedUrl:m,thumbnailUrl:p,fields:b};break;case"video":r={action:"widen_media_add_video_to_library",nonce:widen_media.ajax_nonce,type:o,format:l,id:s,filename:u,description:_,url:f,templatedUrl:m,thumbnailUrl:p,fields:b};break;case"audio":r={action:"widen_media_add_audio_to_library",nonce:widen_media.ajax_nonce,type:o,id:s,filename:u,description:_,url:f}}e.ajax({url:widen_media.ajax_url,type:"POST",data:r}).done(function(e){window.location.reload()})}),n.click(function(a){a.preventDefault();var t=e('[name="prev_search"]').val(),i=e("#widen_image_query_data").html(),n={action:"widen_media_save_collection",nonce:widen_media.ajax_nonce,query:t,items:i};e.ajax({url:widen_media.ajax_url,type:"POST",data:n}).done(function(e){window.location.reload()})})}(jQuery)},function(e,a,t){}]); \ No newline at end of file +!function(e){var t={};function a(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(i,n,function(t){return e[t]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=0)}([function(e,t,a){"use strict";a(1),function(e){var t=e("#widen-media"),a=e(".pagination-links .button"),i=e(".add-to-library"),n=e("#widen-save-collection");function r(){e("#widen-search-submit").attr("disabled",!0),e("#widen-search-spinner").addClass("is-active"),e("#widen-search-results").addClass("disabled",!0)}t.submit(function(){r()}),a.click(function(){r()}),i.click(function(t){t.preventDefault();var a,i,n,r=e(this);i=(a=r).closest(".tile"),n=i.find(".spinner"),a.attr("disabled",!0),i.addClass("disabled",!0),n.addClass("is-active");var d={},o=e(this).attr("data-type"),l=e(this).attr("data-format"),c=e(this).attr("data-ext"),s=e(this).attr("data-id"),u=e(this).attr("data-filename"),f=e(this).attr("data-description"),_=e(this).attr("data-url"),m=e(this).attr("data-templated-url"),p=e(this).attr("data-thumbnail-url"),b=e(this).attr("data-fields");switch(o){case"image":d={action:"widen_media_add_asset_to_library",nonce:widen_media.ajax_nonce,type:o,id:s,filename:u,description:f,url:_,templatedUrl:m,fields:b};break;case"pdf":d={action:"widen_media_add_asset_to_library",nonce:widen_media.ajax_nonce,type:o,id:s,filename:u,description:f,url:_,templatedUrl:m,thumbnailUrl:p,fields:b};break;case"office":case"generic":d={action:"widen_media_add_asset_to_library",nonce:widen_media.ajax_nonce,type:o,ext:c,id:s,filename:u,description:f,url:_,templatedUrl:m,thumbnailUrl:p,fields:b};break;case"video":d={action:"widen_media_add_asset_to_library",nonce:widen_media.ajax_nonce,type:o,format:l,id:s,filename:u,description:f,url:_,templatedUrl:m,thumbnailUrl:p,fields:b};break;case"audio":d={action:"widen_media_add_asset_to_library",nonce:widen_media.ajax_nonce,type:o,id:s,filename:u,description:f,url:_}}e.ajax({url:widen_media.ajax_url,type:"POST",data:d}).done(function(e){window.location.reload()})}),n.click(function(t){t.preventDefault();var a=e('[name="prev_search"]').val(),i=e("#widen_image_query_data").html(),n={action:"widen_media_save_collection",nonce:widen_media.ajax_nonce,query:a,items:i};e.ajax({url:widen_media.ajax_url,type:"POST",data:n}).done(function(e){window.location.reload()})})}(jQuery)},function(e,t,a){}]); \ No newline at end of file diff --git a/lib/Admin.php b/lib/Admin.php index 8ca716d..52065da 100644 --- a/lib/Admin.php +++ b/lib/Admin.php @@ -497,7 +497,7 @@ public function handle_search_submit(): void { * $_POST['description'] * $_POST['url'] */ - public function add_image_to_library(): void { + public function add_asset_to_library(): void { // Kill this process if this method wasn't called from our form. check_ajax_referer( 'widen_media_ajax_request', 'nonce' ); diff --git a/lib/Plugin.php b/lib/Plugin.php index 0fec48a..3ef9b7b 100644 --- a/lib/Plugin.php +++ b/lib/Plugin.php @@ -106,12 +106,7 @@ private function define_admin_hooks(): void { $this->loader->add_action( 'admin_post_handle_search_submit', $plugin_admin, 'handle_search_submit' ); // Register ajax actions for this plugin. - $this->loader->add_action( 'wp_ajax_widen_media_add_image_to_library', $plugin_admin, 'add_image_to_library' ); - $this->loader->add_action( 'wp_ajax_widen_media_add_audio_to_library', $plugin_admin, 'add_audio_to_library' ); - $this->loader->add_action( 'wp_ajax_widen_media_add_pdf_to_library', $plugin_admin, 'add_pdf_to_library' ); - $this->loader->add_action( 'wp_ajax_widen_media_add_office_file_to_library', $plugin_admin, 'add_image_to_library' ); - $this->loader->add_action( 'wp_ajax_widen_media_add_generic_file_to_library', $plugin_admin, 'add_image_to_library' ); - $this->loader->add_action( 'wp_ajax_widen_media_add_video_to_library', $plugin_admin, 'add_image_to_library' ); + $this->loader->add_action( 'wp_ajax_widen_media_add_asset_to_library', $plugin_admin, 'add_asset_to_library' ); $this->loader->add_action( 'wp_ajax_widen_media_save_collection', $plugin_admin, 'save_collection' ); $this->loader->add_filter( 'post_row_actions', $plugin_admin, 'remove_collections_quick_edit', 10, 2 ); $this->loader->add_action( 'admin_menu', $plugin_admin, 'remove_collections_submit_box' ); diff --git a/src/scripts/admin.js b/src/scripts/admin.js index b80499e..eb3e278 100644 --- a/src/scripts/admin.js +++ b/src/scripts/admin.js @@ -38,7 +38,7 @@ import '../styles/admin.scss'; switch (type) { case 'image': data = { - action: 'widen_media_add_image_to_library', + action: 'widen_media_add_asset_to_library', nonce: widen_media.ajax_nonce, type, id, @@ -51,7 +51,7 @@ import '../styles/admin.scss'; break case 'pdf': data = { - action: 'widen_media_add_image_to_library', + action: 'widen_media_add_asset_to_library', nonce: widen_media.ajax_nonce, type, id, @@ -65,7 +65,7 @@ import '../styles/admin.scss'; break case 'office': data = { - action: 'widen_media_add_office_file_to_library', + action: 'widen_media_add_asset_to_library', nonce: widen_media.ajax_nonce, type, ext, @@ -80,7 +80,7 @@ import '../styles/admin.scss'; break case 'generic': data = { - action: 'widen_media_add_generic_file_to_library', + action: 'widen_media_add_asset_to_library', nonce: widen_media.ajax_nonce, type, ext, @@ -95,7 +95,7 @@ import '../styles/admin.scss'; break case 'video': data = { - action: 'widen_media_add_video_to_library', + action: 'widen_media_add_asset_to_library', nonce: widen_media.ajax_nonce, type, format, @@ -110,7 +110,7 @@ import '../styles/admin.scss'; break case 'audio': data = { - action: 'widen_media_add_audio_to_library', + action: 'widen_media_add_asset_to_library', nonce: widen_media.ajax_nonce, type, id, From 7ca5bb24769da8c28c276b08b6970e1f4b36ed27 Mon Sep 17 00:00:00 2001 From: Justin Goff Date: Wed, 20 Jul 2022 15:48:45 -0500 Subject: [PATCH 3/5] set results thumbnail height --- dist/styles/admin.css | 5 +++-- src/styles/admin.scss | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dist/styles/admin.css b/dist/styles/admin.css index 6bffc4f..2376412 100644 --- a/dist/styles/admin.css +++ b/dist/styles/admin.css @@ -131,8 +131,9 @@ .tile__image { display: block; max-width: 100%; - height: auto; - margin: 0 auto; } + height: 210px; + margin: 0 auto; + object-fit: contain; } .tile__header { max-width: 100%; padding: 0 18px; diff --git a/src/styles/admin.scss b/src/styles/admin.scss index 3d4bd8d..e5bbb8d 100644 --- a/src/styles/admin.scss +++ b/src/styles/admin.scss @@ -151,8 +151,9 @@ $breakpoint-xs: 500px; &__image { display: block; max-width: 100%; - height: auto; + height: 210px; margin: 0 auto; + object-fit: contain; } &__header { From 2b1021713a45dffbf00caf5e55cf9e32040844e2 Mon Sep 17 00:00:00 2001 From: Justin Goff Date: Wed, 20 Jul 2022 16:36:52 -0500 Subject: [PATCH 4/5] refactoring and adding comments --- lib/Admin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Admin.php b/lib/Admin.php index 52065da..28f0840 100644 --- a/lib/Admin.php +++ b/lib/Admin.php @@ -545,9 +545,7 @@ public function add_asset_to_library(): void { $asset_data['fields'] = sanitize_text_field( wp_unslash( $_POST['fields'] ) ); } - $mime_type = mime_content_type( $asset_data['url'] ); - - // Get asset size & mime type. + // Get image size & mime type. if ( 'image' === $asset_data['type'] ) { // Original image sizes. $image_size = @getimagesize( $asset_data['url'] ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged @@ -556,12 +554,13 @@ public function add_asset_to_library(): void { $asset_data['mime_type'] = $image_size['mime']; } + // Check if pdf file extension and add mime type. if ( 'pdf' === $asset_data['type'] ) { $asset_data['mime_type'] = 'application/pdf'; } + // Check if Office file extension and add mime type. if ( 'office' === $asset_data['type'] ) { - // check office file extension and apply correct mimetype. if ( 'xls' === $asset_data['ext'] ) { $asset_data['mime_type'] = 'application/vnd.ms-excel'; } @@ -582,8 +581,8 @@ public function add_asset_to_library(): void { } } + // Check if generic file type (.xml, .csv) and add mime type. if ( 'generic' === $asset_data['type'] ) { - // check generic file extension and apply correct mimetype. if ( 'csv' === $asset_data['ext'] ) { $asset_data['mime_type'] = 'text/csv'; } @@ -592,6 +591,7 @@ public function add_asset_to_library(): void { } } + // Check if video file and add mime type. if ( 'video' === $asset_data['type'] ) { if ( 'MPEG4' === $asset_data['format'] ) { $asset_data['mime_type'] = 'video/mp4'; From 22fda5c3fa10f708d5f17c5f471ff65393145bb0 Mon Sep 17 00:00:00 2001 From: Justin Goff Date: Wed, 20 Jul 2022 16:41:14 -0500 Subject: [PATCH 5/5] file extension display --- dist/styles/admin.css | 19 +++++++++++++++++-- lib/Admin/tiles/generic_binary.php | 4 +++- lib/Admin/tiles/image.php | 4 ++++ lib/Admin/tiles/office.php | 1 + lib/Admin/tiles/pdf.php | 4 ++++ lib/Admin/tiles/video.php | 9 +++++++-- src/styles/admin.scss | 25 +++++++++++++++++++++++-- 7 files changed, 59 insertions(+), 7 deletions(-) diff --git a/dist/styles/admin.css b/dist/styles/admin.css index 2376412..5d54423 100644 --- a/dist/styles/admin.css +++ b/dist/styles/admin.css @@ -128,10 +128,22 @@ letter-spacing: 0.02em; -webkit-backface-visibility: hidden; backface-visibility: hidden; } + .tile__wrapper .extension { + position: absolute; + top: 0; + right: 0; + padding: 0.3em 1em; + background-color: #343639; + color: #fff; + font-weight: 700; + border-bottom-left-radius: 3px; + text-transform: uppercase; + font-size: 0.85em; + z-index: 1; } .tile__image { display: block; max-width: 100%; - height: 210px; + height: 200px; margin: 0 auto; object-fit: contain; } .tile__header { @@ -190,8 +202,11 @@ border-color: #99c220; } .tile.added .tile__image, .tile.added .tile__title, - .tile.added .button-link { + .tile.added .button-link, + .tile.added .extension { opacity: 0.4; } + .tile.video .tile__image { + object-fit: cover; } .blur-up:not(.lazyloaded) { opacity: 0.2; diff --git a/lib/Admin/tiles/generic_binary.php b/lib/Admin/tiles/generic_binary.php index ec13b50..bf0aaea 100644 --- a/lib/Admin/tiles/generic_binary.php +++ b/lib/Admin/tiles/generic_binary.php @@ -1,6 +1,6 @@
+