Skip to content

Problem after uploading a local image after looking at the global media library #218

@mikelittle

Description

@mikelittle

Uploading a local image to the media library after having visited the global library doesn't switch back to the local media library display.
It seem reasonable one would visit the global media library to check if there was already a suitable mage available. Having decided there isn't one, it seems reasonable to switch to the upload tab and upload an image. At that point that uploaded image should display, selected as normal ready to select into the image block.

See attached video

Steps to reproduce:

  1. Create a page or post
  2. Add an image block
  3. Click media library
  4. Switch to the global media library via the drop down
  5. Switch to the upload files tab
  6. Drag an image on to the dialog
  7. Try to click select in the sidebar that appears.

Expected behaviour
I expected the media library tab to switch to displaying the local media library with the newly uploaded image selected. Ready to be inserted into the block.

This video illustrates the issue

altis-media-upload-hb.mp4

Acceptance criteria:

  • After visiting the global media library, then uploading to the local library, you are switched back to the local media library
  • [ ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    should haveShould be done, medium priority for now

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions