Skip to content

Commit 2a39bd8

Browse files
author
Jens Vannerum
committed
Merge branch 'main' into w2p-119612_export-item-limit
2 parents b69b21a + d653c01 commit 2a39bd8

76 files changed

Lines changed: 1640 additions & 489 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config/config.example.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ ssr:
2323
# Determining which styles are critical is a relatively expensive operation; this option is
2424
# disabled (false) by default to boost server performance at the expense of loading smoothness.
2525
inlineCriticalCss: false
26+
# Path prefixes to enable SSR for. By default these are limited to paths of primary DSpace objects.
27+
paths: [ '/home', '/items/', '/entities/', '/collections/', '/communities/', '/bitstream/', '/bitstreams/', '/handle/' ]
28+
# Whether to enable rendering of Search component on SSR.
29+
# If set to true the component will be included in the HTML returned from the server side rendering.
30+
# If set to false the component will not be included in the HTML returned from the server side rendering.
31+
enableSearchComponent: false,
32+
# Whether to enable rendering of Browse component on SSR.
33+
# If set to true the component will be included in the HTML returned from the server side rendering.
34+
# If set to false the component will not be included in the HTML returned from the server side rendering.
35+
enableBrowseComponent: false,
2636

2737
# The REST API server settings
2838
# NOTE: these settings define which (publicly available) REST API to use. They are usually
@@ -448,6 +458,12 @@ search:
448458
enabled: false
449459
# List of filters to enable in "Advanced Search" dropdown
450460
filter: [ 'title', 'author', 'subject', 'entityType' ]
461+
#
462+
# Number used to render n UI elements called loading skeletons that act as placeholders.
463+
# These elements indicate that some content will be loaded in their stead.
464+
# 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.
465+
# e.g. If we set 5 then 5 loading skeletons will be visualized before the actual filters are retrieved.
466+
defaultFiltersCount: 5
451467

452468

453469
# Notify metrics

cypress/e2e/admin-add-new-modals.cy.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ describe('Admin Add New Modals', () => {
99

1010
it('Add new Community modal should pass accessibility tests', () => {
1111
// Pin the sidebar open
12+
cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover');
1213
cy.get('[data-test="sidebar-collapse-toggle"]').click();
1314

1415
// Click on entry of menu
@@ -23,6 +24,7 @@ describe('Admin Add New Modals', () => {
2324

2425
it('Add new Collection modal should pass accessibility tests', () => {
2526
// Pin the sidebar open
27+
cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover');
2628
cy.get('[data-test="sidebar-collapse-toggle"]').click();
2729

2830
// Click on entry of menu
@@ -37,6 +39,7 @@ describe('Admin Add New Modals', () => {
3739

3840
it('Add new Item modal should pass accessibility tests', () => {
3941
// Pin the sidebar open
42+
cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover');
4043
cy.get('[data-test="sidebar-collapse-toggle"]').click();
4144

4245
// Click on entry of menu

cypress/e2e/admin-edit-modals.cy.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ describe('Admin Edit Modals', () => {
99

1010
it('Edit Community modal should pass accessibility tests', () => {
1111
// Pin the sidebar open
12+
cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover');
1213
cy.get('[data-test="sidebar-collapse-toggle"]').click();
1314

1415
// Click on entry of menu
@@ -23,6 +24,7 @@ describe('Admin Edit Modals', () => {
2324

2425
it('Edit Collection modal should pass accessibility tests', () => {
2526
// Pin the sidebar open
27+
cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover');
2628
cy.get('[data-test="sidebar-collapse-toggle"]').click();
2729

2830
// Click on entry of menu
@@ -37,6 +39,7 @@ describe('Admin Edit Modals', () => {
3739

3840
it('Edit Item modal should pass accessibility tests', () => {
3941
// Pin the sidebar open
42+
cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover');
4043
cy.get('[data-test="sidebar-collapse-toggle"]').click();
4144

4245
// Click on entry of menu

cypress/e2e/admin-export-modals.cy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ describe('Admin Export Modals', () => {
99

1010
it('Export metadata modal should pass accessibility tests', () => {
1111
// Pin the sidebar open
12+
cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover');
1213
cy.get('[data-test="sidebar-collapse-toggle"]').click();
1314

1415
// Click on entry of menu
@@ -23,6 +24,7 @@ describe('Admin Export Modals', () => {
2324

2425
it('Export batch modal should pass accessibility tests', () => {
2526
// Pin the sidebar open
27+
cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover');
2628
cy.get('[data-test="sidebar-collapse-toggle"]').click();
2729

2830
// Click on entry of menu

0 commit comments

Comments
 (0)