Closed rosiel closed 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.
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:
islandora_iiif
which is still a submodule of islandora). This default would also function as a starting point for those islandora users who are late (or early) to the party and want to install mirador on an existing site. We would have a hard time making it make sense without the rest of the islandora setup, and it would be impossible to maintain two possibly different ways of doing things.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.
What does this Pull Request do?
Removes optional configs in favour of putting them in the Starter Site.
What's new?
no longer add view modes, contexts, view displays, or EVA views.
Does this change add any new dependencies? No.
Does this change require any other modifications to be made to the repository (i.e. Regeneration activity, etc.)? No
Could this change impact execution of existing code? No
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