|
1 | 1 | # NOTE: will log all redux actions and transfers in console |
2 | 2 | debug: false |
3 | 3 |
|
4 | | -# Angular Universal server settings |
| 4 | +# Angular User Inteface settings |
5 | 5 | # NOTE: these settings define where Node.js will start your UI application. Therefore, these |
6 | 6 | # "ui" settings usually specify a localhost port/URL which is later proxied to a public URL (using Apache or similar) |
7 | 7 | ui: |
|
17 | 17 | # Trust X-FORWARDED-* headers from proxies (default = true) |
18 | 18 | useProxies: true |
19 | 19 |
|
20 | | -universal: |
21 | | - # Whether to inline "critical" styles into the server-side rendered HTML. |
22 | | - # Determining which styles are critical is a relatively expensive operation; |
23 | | - # this option can be disabled to boost server performance at the expense of |
24 | | - # loading smoothness. For improved SSR performance, DSpace defaults this to false (disabled). |
| 20 | +# Angular Server Side Rendering (SSR) settings |
| 21 | +ssr: |
| 22 | + # Whether to tell Angular to inline "critical" styles into the server-side rendered HTML. |
| 23 | + # Determining which styles are critical is a relatively expensive operation; this option is |
| 24 | + # disabled (false) by default to boost server performance at the expense of loading smoothness. |
25 | 25 | inlineCriticalCss: false |
| 26 | + # Path prefixes to enable SSR for. By default these are limited to paths of primary DSpace objects. |
| 27 | + # NOTE: The "/handle/" path ensures Handle redirects work via SSR. The "/reload/" path ensures |
| 28 | + # hard refreshes (e.g. after login) trigger SSR while fully reloading the page. |
| 29 | + paths: [ '/home', '/items/', '/entities/', '/collections/', '/communities/', '/bitstream/', '/bitstreams/', '/handle/', '/reload/' ] |
| 30 | + # Whether to enable rendering of Search component on SSR. |
| 31 | + # If set to true the component will be included in the HTML returned from the server side rendering. |
| 32 | + # If set to false the component will not be included in the HTML returned from the server side rendering. |
| 33 | + enableSearchComponent: false |
| 34 | + # Whether to enable rendering of Browse component on SSR. |
| 35 | + # If set to true the component will be included in the HTML returned from the server side rendering. |
| 36 | + # If set to false the component will not be included in the HTML returned from the server side rendering. |
| 37 | + enableBrowseComponent: false |
| 38 | + # Enable state transfer from the server-side application to the client-side application. |
| 39 | + # Defaults to true. |
| 40 | + # Note: When using an external application cache layer, it's recommended not to transfer the state to avoid caching it. |
| 41 | + # Disabling it ensures that dynamic state information is not inadvertently cached, which can improve security and |
| 42 | + # ensure that users always use the most up-to-date state. |
| 43 | + transferState: true |
| 44 | + # When a different REST base URL is used for the server-side application, the generated state contains references to |
| 45 | + # REST resources with the internal URL configured. By default, these internal URLs are replaced with public URLs. |
| 46 | + # Disable this setting to avoid URL replacement during SSR. In this the state is not transferred to avoid security issues. |
| 47 | + replaceRestUrl: true |
| 48 | + # Enable request performance profiling data collection and printing the results in the server console. |
| 49 | + # Defaults to false. Enabling in production is NOT recommended |
| 50 | + #enablePerformanceProfiler: false |
26 | 51 |
|
27 | 52 | # The REST API server settings |
28 | 53 | # NOTE: these settings define which (publicly available) REST API to use. They are usually |
|
33 | 58 | port: 443 |
34 | 59 | # NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript |
35 | 60 | nameSpace: /server |
| 61 | + # Provide a different REST url to be used during SSR execution. It must contain the whole url including protocol, server port and |
| 62 | + # server namespace (uncomment to use it). |
| 63 | + #ssrBaseUrl: http://localhost:8080/server |
36 | 64 |
|
37 | 65 | # Caching settings |
38 | 66 | cache: |
@@ -467,7 +495,12 @@ search: |
467 | 495 | enabled: false |
468 | 496 | # List of filters to enable in "Advanced Search" dropdown |
469 | 497 | filter: [ 'title', 'author', 'subject', 'entityType' ] |
470 | | - |
| 498 | + # |
| 499 | + # Number used to render n UI elements called loading skeletons that act as placeholders. |
| 500 | + # These elements indicate that some content will be loaded in their stead. |
| 501 | + # Since we don't know how many filters will be loaded before we receive a response from the server we use this parameter for the skeletons count. |
| 502 | + # e.g. If we set 5 then 5 loading skeletons will be visualized before the actual filters are retrieved. |
| 503 | + defaultFiltersCount: 5 |
471 | 504 |
|
472 | 505 | # Notify metrics |
473 | 506 | # Configuration for Notify Admin Dashboard for metrics visualization |
@@ -521,6 +554,20 @@ notifyMetrics: |
521 | 554 | config: 'NOTIFY.outgoing.delivered' |
522 | 555 | description: 'admin-notify-dashboard.NOTIFY.outgoing.delivered.description' |
523 | 556 |
|
| 557 | +# Live Region configuration |
| 558 | +# Live Region as defined by w3c, https://www.w3.org/TR/wai-aria-1.1/#terms: |
| 559 | +# Live regions are perceivable regions of a web page that are typically updated as a |
| 560 | +# result of an external event when user focus may be elsewhere. |
| 561 | +# |
| 562 | +# The DSpace live region is a component present at the bottom of all pages that is invisible by default, but is useful |
| 563 | +# for screen readers. Any message pushed to the live region will be announced by the screen reader. These messages |
| 564 | +# usually contain information about changes on the page that might not be in focus. |
| 565 | +liveRegion: |
| 566 | + # The duration after which messages disappear from the live region in milliseconds |
| 567 | + messageTimeOutDurationMs: 30000 |
| 568 | + # The visibility of the live region. Setting this to true is only useful for debugging purposes. |
| 569 | + isVisible: false |
| 570 | + |
524 | 571 | # CRIS Layout |
525 | 572 | # Configuration for CRIS Layout |
526 | 573 | crisLayout: |
|
0 commit comments