diff --git a/README.md b/README.md index a6fd75c87..4b1165ae1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Welcome to the _impresso_ app frontend website to search, explore and create per ## Install for development -This is a website that uses vue2 framework build in **node v17** and **is not compatible with node v18**. We provide a dockerfile-dev which points to the right node version to use. Alternatively, you can use `nvm install 17` and then install all dependencies +This is a website that uses vue2 framework build in **node v17** and **is not compatible with node v18**. We provide a dockerfile-dev which points to the right node version to use. Alternatively, you can use `nvm install 17` and then install all dependencies with `--openssl-legacy-provider` option @@ -20,14 +20,18 @@ VUE_APP_MIDDLELAYER_API_PATH="/api" VUE_APP_MIDDLELAYER_API_SOCKET_PATH="/api/socket.io" ``` -FInally run with: +To use vue proxy while developing, add this env variable to your `.env.development.local` file: +```sh +VUE_APP_USE_PROXY_MIDDLEWARE=true +``` + +Finally run with: ``` NODE_OPTIONS=--openssl-legacy-provider npm start ``` - ### Use docker stack for development (node v12) We provide a Dockerfile-dev to streamline node 12 installation with now unsupported modules. diff --git a/src/components/SelectionMonitor.vue b/src/components/SelectionMonitor.vue index e14ae6b76..2865775c2 100644 --- a/src/components/SelectionMonitor.vue +++ b/src/components/SelectionMonitor.vue @@ -38,7 +38,7 @@ />

- {{ $t('types_' + monitor.type) }} +

diff --git a/src/components/modules/FilterMonitor.vue b/src/components/modules/FilterMonitor.vue index 1e5952232..a61edec05 100644 --- a/src/components/modules/FilterMonitor.vue +++ b/src/components/modules/FilterMonitor.vue @@ -90,7 +90,9 @@ ... () ( @@ -371,7 +373,7 @@ export default { ] }, filterItems() { - return [...this.filter.items] + return this.filter && Array.isArray(this.filter.items) ? [...this.filter.items] : [] }, hasChanges() { return ( @@ -627,6 +629,18 @@ label.custom-control-label { "exclude": "NOT published in" } }, + "partner": { + "title": "data provider", + "selected": "filter results if they are provided by one of {count} selected data providers", + "description": "check one or more data provider to filter results", + "clear": "reset", + "apply": "apply changes", + "update": "apply changes (added: {added}, removed: {removed})", + "context": { + "include": "Provided by", + "exclude": "NOT provided by" + } + }, "language": { "title": "language of articles", "selected": "filter results if they are written in one of {count} selected languages", diff --git a/src/components/modules/ItemSelector.vue b/src/components/modules/ItemSelector.vue index 0f1af902e..f5f15494e 100644 --- a/src/components/modules/ItemSelector.vue +++ b/src/components/modules/ItemSelector.vue @@ -1,7 +1,7 @@ @@ -69,7 +69,8 @@ export default { .ItemSelector_label { cursor: pointer; } -.ItemSelector_label:hover { +.ItemSelector_label:hover, +.ItemSelector_label.underline { box-shadow: 0 1px 0px 0 black; } diff --git a/src/components/modules/lists/ArticleItem.vue b/src/components/modules/lists/ArticleItem.vue index 4ecb57be9..fa522148a 100644 --- a/src/components/modules/lists/ArticleItem.vue +++ b/src/components/modules/lists/ArticleItem.vue @@ -1,4 +1,4 @@ -