webiny-js
webiny-js copied to clipboard
File Manager : Clicking image/file returns dashboard
Is your feature request related to a problem? Please describe.
In File Manager when I click the files it shows the dashboard welcome page. When the user is on Dashboard and clicks the File Manager menu, the same FM UI modal is opened and when you click on the file, the FM UI modal is closed. All I want to do is to prevent this or show file details instead.
Describe the solution you'd like.
The current behavior is because the File Manage application is shared between all other applications like Headless CMS, Page Builder, etc. I think it should have some conditions to make it work differently when the user opens the file manager from the welcome page.
Describe alternatives you've considered.
No response
@sunnythelucky thanks for reporting! This is a new one, we haven't noticed this behavior before. We'll look into this :)
A note for whoever will be working on this:
Clicking the settings icon will open file details correctly, but clicking the thumbnail itself is closing the FM, which shouldn't be the case:

@sunnythelucky this will be fixed in 5.27.0 (being released today or tomorrow), and clicking on the image preview will not close the FM itself. But, it won't open the file details either, and that's on purpose.
File Manager is used all across the system, and there are scenarios where you can select multiple files at once, by clicking on them. To keep the behavior consistent no matter where you're using the FM from, we don't want to open file details unless it's an explicit click on the cog/settings icon in the upper right corner of the file preview (see the screenshot above). Otherwise, it would be confusing and behavior would change depending on the context, which is not a good UX.
@Pavel910 Sounds great! I am looking forward to the new update :) And the explanation written above makes sense to me.
there are scenarios where you can select multiple files at once, by clicking on them
@Pavel910 In the FM-only UI, could we select multiples as well, and have a bulk edit option (tag, delete, etc.) Maybe a new issue to open but wanted to get feedback first.
https://github.com/webiny/webiny-js/issues/2416
@bmccarthynn there's currently no such functionality. Feel free to open a new issue as we're planning some improvements on the FM in the near future. We'll then see if it can be done as part of that batch.
@bmccarthynn @Pavel910 Hey, actually this suggestion was made here : https://github.com/webiny/webiny-js/issues/2416 . Is it similar to what you wanted to have?
I found @sunnythelucky already opened it here: https://github.com/webiny/webiny-js/issues/2416.