craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.24k stars 630 forks source link

Limited asset folders display [3.x]: #12969

Closed emmaswann closed 1 year ago

emmaswann commented 1 year ago

What happened?

Description

Following the update to 3.7 when selecting an asset for a field in an entry we are unable to view all folders, as the list is truncated.

The structure of our asset folders is categories > A-Z list > letter > folders for each entity > folders for entity's events.

I had previously believed our issue was purely annoyance that it now took longer to find the folders we were looking for, but have now realised that the lists of folders are truncated meaning we are unable to find the assets to use.

Steps to reproduce

  1. Create entry
  2. Attempt to locate asset to add to field

Expected behavior

  1. Create entry
  2. Successfully locate asset

Actual behavior

  1. Create entry
  2. Unable to find asset via folder location

Craft CMS version

3.8.5

PHP version

7.4.3

Operating system and version

Linux 5.4.0-144-generic

Database type and version

MySQL 8.0.32

Image driver and version

Imagick 3.4.4 (ImageMagick 6.9.10-23)

Installed plugins and versions

Amazon S3 1.3.2 Asset Usage 2.3.1 AsyncQueue 2.3.0 Blitz 3.12.8 Bulk Edit 2.0.6 Cloudflare 1.1.0 Control Panel Nav 3.1.0 Docs 2.1.2 Download Assets 1.0.2 Feed Me 4.6.1 ImageOptimize 1.6.50 Json Client 1.0.3 Matrix Toolbar 1.0.6 Minify 1.2.11 Redactor 2.10.12 Redactor Custom Styles 3.0.4 Redirect Manager 1.1.1 Relabel 2.0.2 Retcon 2.6.1 Retour 3.2.9 Schedule 0.3.2 shopify 2.2.0 Smith 1.2.3 Snitch 3.0.4.1 Tags 1.0.9 Typogrify 1.1.20 Views Work 1.3.0.7 XML Sitemap 1.3.2

Screenshot 2023-03-23 at 15 37 51
i-just commented 1 year ago

Hi, thanks for getting in touch.

Are you on Craft 3.7 or 3.8.5?

Craft 3.8 changed the approach to volume subfolders: https://craftcms.com/blog/rethinking-volume-subfolders. If you’re on 3.8.5, then when you try to add an asset to, e.g. an entry via the assets field, the folders will show at the top of the list in the modal.

Screenshot 2023-03-24 at 10 03 00

I’m not sure I understand the problem correctly, though, so please let me know if the above doesn't help.

emmaswann commented 1 year ago

3.8.5 - I see that, but what is happening is that not all the folders are displaying, it is not displaying all the folders.

Essentially, I have one crucial issue which is that I cannot access all folders - the screengrab I showed was me looking for the folder titled 'Biig Piig' (a musician!) but only a limited number of folders were displayed before some assets were shown.

Then a secondary one - less urgent, although one I still need to rectify somehow - which is that this manner of displaying folders and assets - even if looking for one of the folders which IS displayed - takes multiple times the amount of time to locate a folder and then asset versus the previous way.

On Fri, 24 Mar 2023 at 10:05, Iwona Just @.***> wrote:

Hi, thanks for getting in touch.

Are you on Craft 3.7 or 3.8.5?

Craft 3.8 changed the approach to volume subfolders: https://craftcms.com/blog/rethinking-volume-subfolders. If you’re on 3.8.5, then when you try to add an asset to, e.g. an entry via the assets field, the folders will show at the top of the list in the modal.

[image: Screenshot 2023-03-24 at 10 03 00] https://user-images.githubusercontent.com/4500340/227491286-b7ce2652-79b1-43ec-b188-ad09f2d4b37f.png

I’m not sure I understand the problem correctly, though, so please let me know if the above doesn't help.

— Reply to this email directly, view it on GitHub https://github.com/craftcms/cms/issues/12969#issuecomment-1482547426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWYP35DZVNVRL2WCJQH5GW3W5VWWLANCNFSM6AAAAAAWFMA6NQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Emma Swann (she / her) Founding Editor

Email me for all things reviews: albums, EPs, live as well as the weekly Tracks feature.

w: diymag.com http://www.diymag.com/ e: @.** m: 07540 725 366 tw*: @emmaswannphoto http://www.twitter.com/emmaswannphoto / @diymagazine http://www.twitter.com/diymagazine

i-just commented 1 year ago

Right, thank you for the clarification. I was able to replicate this.

brandonkelly commented 1 year ago

This is fixed for the next Craft 3 and 4 releases, via #13008.

brandonkelly commented 1 year ago

Craft 3.8.6 and 4.4.6 are out with that fix 🎉

emmaswann commented 1 year ago

Wonderful news, thank you!

On Tue, 4 Apr 2023 at 18:19, Brandon Kelly @.***> wrote:

Craft 3.8.6 and 4.4.6 are out with that fix 🎉

— Reply to this email directly, view it on GitHub https://github.com/craftcms/cms/issues/12969#issuecomment-1496332250, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWYP35GMDXGQFO7F4OCNXBDW7RJ2ZANCNFSM6AAAAAAWFMA6NQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Emma Swann (she / her) Founding Editor

Email me for all things reviews: albums, EPs, live as well as the weekly Tracks feature.

w: diymag.com http://www.diymag.com/ e: @.** m: 07540 725 366 tw*: @emmaswannphoto http://www.twitter.com/emmaswannphoto / @diymagazine http://www.twitter.com/diymagazine