Problem/Motivation

Media Directories Browser is wonderful. Now that Drupal CMS is out and Canvas adoption grows fast, the user experience of Media Directories should also be available in Canvas Media selection.

Currently it doesn't seem to be supported

Steps to reproduce

Install https://www.drupal.org/project/canvas or Drupal CMS
Install Media Directories
Place a media in canvas - you see the regular media Browser, but no Media Directories Browser

Proposed resolution

Create a Media Directories Canvas Submodule that replaces the regular Media Browser in Canvas with Media Directories Browser, like for Media Entity Reference fields

Remaining tasks

  1. Discuss
  2. Implement
  3. Test
  4. Release

User interface changes

API changes

Data model changes

Comments

anybody created an issue. See original summary.

  • rang501 committed bdea3452 on 3.0.x
    Issue #3614772: Add Drupal Canvas integration submodule
    

  • rang501 committed eda0819b on 3.0.x
    Issue #3614772: Ignore canvas classes in phpstan analysis
    
rang501’s picture

Status: Active » Needs review

Thank you for the suggestion.
Because the canvas is now even more mature and used on many sites already, this module must support it as well. I have committed a new submodule which switches the core media library with browser.

Local testing did not reveal any visible issues and tests were fine as well.

  • rang501 committed bdaadc4a on 3.0.x
    Issue #3614772: Style the browser widget for Canvas's form panels...
rang501’s picture

Manually tested and fixed smaller styling issues. No other issues found at the moment.

rang501’s picture

Status: Needs review » Fixed

Marking as fixed. If there are issues, create a new issue.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.