Islandora / islandora_mirador

Use the Mirador viewer with your Islandora site.
https://www.drupal.org/project/islandora_mirador
GNU General Public License v2.0
3 stars 9 forks source link

Remove configs. #19

Closed rosiel closed 1 year ago

rosiel commented 1 year ago

What does this Pull Request do?

Removes optional configs in favour of putting them in the Starter Site.

What's new?

How should this be tested?

Documentation Status

Additional Notes:

Any additional information that you think would be helpful when reviewing this PR.

Interested parties

Tag @alxp

alxp commented 1 year ago

I tested this on an existing site (not built with starter site) and uninstalling the movule, switching to the new branch, and re-enabling the module, causes the context that was enabled on the site to disappear.

I think removing the entity view displays and EVAs makes sense but I think we should leave the contexts and maybe also the view modes.

rosiel commented 1 year ago

Yes, the purpose of this PR is for the mirador module, which shouldn't have opinions about how you make use of contexts or view modes, can have its config set up by the starter site.

I'm not in favour of having stub config in the mirador module, when all this kind of config makes sense with the rest of similar config in the starter site. Our testing framework is not rugged enough for us to maintain:

alxp commented 1 year ago

OK after talking through this more I think we can just say 'contexts are a weird Islandora thing' so other modules that islandora may make use of don't need to define them themselves.