|
8 | 8 | ssl: false |
9 | 9 | host: localhost |
10 | 10 | port: 4000 |
| 11 | + # Specify the public URL that this user interface responds to. This corresponds to the "dspace.ui.url" property in your backend's local.cfg. |
| 12 | + # SSR is only enabled when the client's "Host" HTTP header matches this baseUrl. The baseUrl is also used for redirects and SEO links (in robots.txt). |
| 13 | + baseUrl: http://localhost:4000 |
11 | 14 | # NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript |
12 | 15 | nameSpace: / |
13 | 16 | # The rateLimiter settings limit each IP to a 'limit' of 500 requests per 'windowMs' (1 minute). |
@@ -237,7 +240,12 @@ submission: |
237 | 240 | - value: default |
238 | 241 | style: text-muted |
239 | 242 | icon: fa-circle-xmark |
240 | | - |
| 243 | + # Icons to be displayed next to an authority controlled value, to give indication of the source. |
| 244 | + sourceIcons: |
| 245 | + # Example of configuration for authority logo based on sources. |
| 246 | + # The configured icon will be displayed next to the authority value in submission and on item page or search results. |
| 247 | + - source: orcid |
| 248 | + - path: assets/images/orcid.logo.icon.svg |
241 | 249 | # Fallback language in which the UI will be rendered if the user's browser language is not an active language |
242 | 250 | fallbackLanguage: en |
243 | 251 |
|
@@ -397,6 +405,30 @@ item: |
397 | 405 | pageSize: 5 |
398 | 406 | # Show the bitstream access status label on the item page |
399 | 407 | showAccessStatuses: false |
| 408 | + # Configuration of metadata to be displayed in the item metadata link view popover |
| 409 | + metadataLinkViewPopoverData: |
| 410 | + # Metdadata list to be displayed for entities without a specific configuration |
| 411 | + fallbackMetdataList: |
| 412 | + - dc.description.abstract |
| 413 | + - dc.description.note |
| 414 | + # Configuration for each entity type |
| 415 | + entityDataConfig: |
| 416 | + - entityType: Person |
| 417 | + # Descriptive metadata (popover body) |
| 418 | + metadataList: |
| 419 | + - person.affiliation.name |
| 420 | + - person.email |
| 421 | + # Title metadata (popover header) |
| 422 | + titleMetadataList: |
| 423 | + - person.givenName |
| 424 | + - person.familyName |
| 425 | + # Configuration for identifier subtypes, based on metadata like dc.identifier.ror where ror is the subtype. |
| 426 | + # This is used to map the layout of the identifier in the popover and the icon displayed next to the metadata value. |
| 427 | + identifierSubtypes: |
| 428 | + - name: ror |
| 429 | + icon: assets/images/ror.logo.icon.svg |
| 430 | + iconPosition: IdentifierSubtypesIconPositionEnum.LEFT |
| 431 | + link: https://ror.org |
400 | 432 |
|
401 | 433 | # Community Page Config |
402 | 434 | community: |
@@ -645,3 +677,62 @@ geospatialMapViewer: |
645 | 677 | accessibility: |
646 | 678 | # The duration in days after which the accessibility settings cookie expires |
647 | 679 | cookieExpirationDuration: 7 |
| 680 | + |
| 681 | +# Configuration for layout customization of metadata rendering in Item page |
| 682 | +# Currently only the authority reference config is available, more will follow with the integration of the so called CRIS layout. |
| 683 | +layout: |
| 684 | + # Configuration of icons and styles to be used for each authority controlled link |
| 685 | + authorityRef: |
| 686 | + - entityType: DEFAULT |
| 687 | + entityStyle: |
| 688 | + default: |
| 689 | + icon: fa fa-user |
| 690 | + style: text-info |
| 691 | + - entityType: PERSON |
| 692 | + entityStyle: |
| 693 | + person: |
| 694 | + icon: fa fa-user |
| 695 | + style: text-success |
| 696 | + default: |
| 697 | + icon: fa fa-user |
| 698 | + style: text-info |
| 699 | + - entityType: ORGUNIT |
| 700 | + entityStyle: |
| 701 | + default: |
| 702 | + icon: fa fa-university |
| 703 | + style: text-success |
| 704 | + - entityType: PROJECT |
| 705 | + entityStyle: |
| 706 | + default: |
| 707 | + icon: fas fa-project-diagram |
| 708 | + style: text-success |
| 709 | + |
| 710 | +# Configuration for customization of search results |
| 711 | +searchResults: |
| 712 | + # Metadata fields to be displayed in the search results under the standard ones |
| 713 | + additionalMetadataFields: |
| 714 | + - dc.contributor.author |
| 715 | + - dc.date.issued |
| 716 | + - dc.type |
| 717 | + # Metadata fields to be displayed in the search results for the author section |
| 718 | + authorMetadata: |
| 719 | + - dc.contributor.author |
| 720 | + - dc.creator |
| 721 | + - dc.contributor.* |
| 722 | + # When the search results are retrieved, for each item type the metadata with a valid authority value are inspected. |
| 723 | + # Referenced items will be fetched with a find all by id strategy to avoid individual rest requests |
| 724 | + # to efficiently display the search results. |
| 725 | + followAuthorityMetadata: |
| 726 | + - type: Publication |
| 727 | + metadata: dc.contributor.author |
| 728 | + - type: Product |
| 729 | + metadata: dc.contributor.author |
| 730 | + |
| 731 | + # The maximum number of item to process when following authority metadata values. |
| 732 | + followAuthorityMaxItemLimit: 100 |
| 733 | + |
| 734 | + # The maximum number of metadata values to process for each metadata key |
| 735 | + # when following authority metadata values. |
| 736 | + followAuthorityMetadataValuesLimit: 5 |
| 737 | + |
| 738 | + |
0 commit comments