dspace-angular
dspace-angular copied to clipboard
Displaying Recent Submissions on the homepage
References
#667
- Fixes #667
Description
Displaying Recent Submissions on the Repository's homepage with option of configuring number of items required to be displayed.
Instructions for Reviewers
Update the "rpp" variable in the config.example.yml with the item count that needs to be displayed in the Recent Submission section. If you do not want to display any item under the Recent Submission section, keep the "rpp" count = 0. Restart the server for the change to take effect, and no need to re-build the application. Home page will show the Recent Submission section below the community list with the latest items submitted. Upon clicking the Load more button, users will be redirected to the search results page, and items will list in descending order based on the submission date. If there is no item submitted in the repository or rpp = 0, then Recent Submission should not appear.
Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.
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!
- [x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
- [x] My PR passes TSLint validation using
yarn run lint - [x] My PR doesn't introduce circular dependencies
- [x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
- [x] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
- [x] If my PR includes new, third-party dependencies (in
package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
@GauravD2t : Thanks for recreating this! I'll add it to the 7.4 review board.
@artlowel and @MarieVerdonck : Adding you as potential reviews since you both helped review #1632, and this is an updated replacement for that PR.