-
Notifications
You must be signed in to change notification settings - Fork 71
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
Replicating 7.x's collapsable "Details" display #1359
Comments
I'll check out https://www.drupal.org/project/field_group to see if this does the trick. |
I was just about to recommend field_group for doing this. However, perhaps this should be a recipe instead of a default (to limit the default install weight)? |
Agreed. I'm trying to test it now but the composer install failed. Will resume testing/troubleshooting later. |
Field Group works well. Here is my field group (lower left, it's circled in red to make it more visible) closed by default: Clicking on the "Metadata" label opens it: It a bit clunky to set up. One thing is that it looks like admins will need to configure this separately for every display/view mode (default, PDFjs, OpenSeadragon, etc.): But once it's done, it's set and forget. It looks like the field group config is portable: So maybe it could become part o the standard setup? |
Tagging @manez as this would be good candidate for a recipe. |
Finally got to this one on the tech call today, with a resounding "yes" for doing it as a recipe and not as a default. |
@manez, where do recipes fit into the DIG's current workplan? |
@mjordan https://github.com/Islandora-Labs/Islandora-Cookbook is still the home base for recipes. We've talked about evaluating whether those should get rolled into the main docs at some point, but that's pretty far ahead, and would build from what's in the github repo anyway. |
OK, thanks. I'll write up a recipe and open a PR on that repo. |
Islandora 7.x's metadata display was wrapped in a collapsable div that allowed the user to expand/collapse:
Collapsed:
Expanded:
In Islandora 8, the metadata fields are always exposed (similar to the expanded option above). Do we want to emulate 7.x's behavior in 8, or at least provide a built-in option to do so?
The text was updated successfully, but these errors were encountered: