Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Hide Mirador when the manifest is empty. #33

Closed
rosiel opened this issue Sep 25, 2023 · 2 comments
Closed

[FEATURE] Hide Mirador when the manifest is empty. #33

rosiel opened this issue Sep 25, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@rosiel
Copy link
Member

rosiel commented Sep 25, 2023

Overview of feature request

Hide the viewer when empty.

What kind of user is the feature intended for?
User, Site Designer

What inspired the request?
The Mirador viewer still shows up - showing 1 of 0 - when the manifest is empty.

What existing behavior do you want changed?
That the viewer shows up when empty.

Any brand new behavior do you want to add to Islandora?
I want it to be hide-able when empty.

Any related open or closed issues to this feature request?
No

Screenshot 2023-09-25 at 10 12 59 AM
@rosiel rosiel added the enhancement New feature or request label Sep 25, 2023
@alxp
Copy link
Contributor

alxp commented Sep 25, 2023

I wonder if we could make this a feature request to Mirador itself, perhaps that it fold itself into a compact view when there's no content.

This is useful either way though so I support this feature and might be able to get time to work on it.

@rosiel
Copy link
Member Author

rosiel commented Sep 28, 2023

For the moment we can use Contexts to hide the viewer, for example, require the condition "Node is referenced by other nodes" and use field_member_of, which will activate the context only for nodes with members.

@rosiel rosiel closed this as completed Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants