TAMULib / dspace-angular

DSpace 7.x (and above) User Interface built on Angular.io
https://wiki.lyrasis.org/display/DSDOC7x/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Community subcommunities/collections tree navigation #28

Closed wwelling closed 10 months ago

wwelling commented 10 months ago

References

Resolves #14

Description

Add theme override to community list component providing ability to scope to a community and afford expand/collapse all. Replace subcommunities/collection paginated lists with this tree component in a theme community page override. Also, applies override to the image-gallery theme.

During development bugs were discovered in community list service and component that resulted in an upstream PR with same commits in this PR. Unfortunately, some changes in core code were required and have been commented as TAMU customizations.

I have asked @tdonohue if there is interest by the community for the ability to scope the community list (tree) component. He said there is a good chance others would like the feature of a community tree browser at the community level to avoid having to load entire community/collection paths to navigate. This somewhat justifies the core code changes and we may be able to contribute upstream.

image

image

Instructions for Reviewers

Configure dspace-angular to point to dev environment DSpace REST API with config.dev.yml such as:

rest:
  ssl: true
  host: api-dev.library.tamu.edu
  port: 443
  nameSpace: /dspace7

Navigate to Communities & Collection page and to various communities. Expand/collapse the tree individually and using the expand/collapse all buttons.

Checklist

This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!