Skip to content

Commit c07bc3c

Browse files
authored
Merge pull request #3615 from atmire/accessibility-settings-7_x
[Port dspace-7_x] Accessibility settings page
2 parents edeb2d2 + b44f74a commit c07bc3c

32 files changed

Lines changed: 1380 additions & 67 deletions

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
DSPACE_CACHE_SERVERSIDE_ANONYMOUSCACHE_MAX: 0
3030
# Tell Cypress to run e2e tests using the same UI URL
3131
CYPRESS_BASE_URL: http://127.0.0.1:4000
32+
# Disable the cookie consent banner in e2e tests to avoid errors because of elements hidden by it
33+
DSPACE_INFO_ENABLECOOKIECONSENTPOPUP: false
3234
# When Chrome version is specified, we pin to a specific version of Chrome
3335
# Comment this out to use the latest release
3436
#CHROME_VERSION: "90.0.4430.212-1"

config/config.example.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,3 +458,8 @@ search:
458458
# 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.
459459
# e.g. If we set 5 then 5 loading skeletons will be visualized before the actual filters are retrieved.
460460
defaultFiltersCount: 5
461+
462+
# Configuration for storing accessibility settings, used by the AccessibilitySettingsService
463+
accessibility:
464+
# The duration in days after which the accessibility settings cookie expires
465+
cookieExpirationDuration: 7
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Config } from '../../config/config.interface';
2+
3+
/**
4+
* Configuration interface used by the AccessibilitySettingsService
5+
*/
6+
export class AccessibilitySettingsConfig implements Config {
7+
/**
8+
* The duration in days after which the accessibility settings cookie expires
9+
*/
10+
cookieExpirationDuration: number;
11+
}

0 commit comments

Comments
 (0)