Commit Graph

171 Commits

Author SHA1 Message Date
Tim Donohue
ec6940afbe Merge pull request #3540 from kshepherd/geospatial-maps-main
Geospatial maps for item pages, search, browse
2025-03-31 14:59:53 -05:00
Kim Shepherd
6f7f5450ca Geospatial maps: Better "no points" handling
* If no results for browse or search
  maps are available, zoom to 1 and
  show a i18n tooltip
* Added a missing i18n for point filter
* New default centre point added to
  configuration
2025-03-30 16:56:12 +02:00
Tim Donohue
9c23b4c9f9 Merge pull request #3164 from sistedes/config-default-comcol-tab
Make the default tab for browsing communities and collections configurable in DSpace 8
2025-03-28 13:41:01 -05:00
Kim Shepherd
0bd93ae1d9 Geospatial maps: Review feedback addressed
* Documentation of config
* Set bounding box to use dcterms.spatial by default
* Uncomment geospatial field and wrap in config test
* New config to 'enable' inclusion of geospatial field
* Docs for map and marker detail models
* Bounding box validation
* Fixed view mode control flow
* Tidied console output
2025-03-28 18:27:36 +01:00
Kim Shepherd
b6cdb7c6b1 Geospatial maps for item pages, search, browse 2025-03-28 18:27:35 +01:00
Nicolas Boulay
5f83139fcd Adding the new embargo badge on the file download component
Fixed lint no-trailing-spaces
2025-03-25 10:55:21 -04:00
Abel Gómez
cdcd886a3a Merge remote-tracking branch 'upstream/main' into config-default-comcol-tab 2025-03-13 20:02:15 +01:00
Andreas Awouters
540cb86b2d 120243: Fix REST baseUrl in test environment 2025-03-06 14:16:45 +01:00
Giuseppe Digilio
7acf79370b Merge branch 'main' into task/main/DURACOM-288
# Conflicts:
#	src/environments/environment.production.ts
#	src/environments/environment.test.ts
#	src/environments/environment.ts
2025-02-03 15:12:25 +01:00
Tim Donohue
83d24f8c21 Ensure "/reload/" (hard reload) path is included in SSR paths. 2025-01-31 14:34:35 -06:00
Giuseppe Digilio
e1fad603f0 [DURACOM-288] Enable URL replacement by default 2025-01-30 20:41:32 +01:00
Giuseppe Digilio
cfba84ce31 [DURACOM-288] Refactoring configuration to transfer state 2025-01-29 20:05:29 +01:00
FrancescoMolinaro
17ecc592f3 Exclude search and browse from Angular SSR (#3709)
* [DURACOM-303] prevent possibly long-lasting search and browse calls in SSR

* [DURACOM-303] implement skeleton component for search results

* [DURACOM-303] add skeleton loader for search results and filters

* [DURACOM-303] minor restyle of skeleton for mobile

* [DURACOM-303] fix lint and tests

* [DURACOM-303] adapt tests

* [DURACOM-303] restyle skeleton, add filter badge skeleton

* [DURACOM-303] add loop for filters count

* [DURACOM-303] add grid layout, make SSR enabling configurable, minor restyle of skeletons

* [DURACOM-303] refactor param, add example of configuration

* [DURACOM-303] rename variable, minor code refactor

* [DURACOM-303] add override possibility with input

* [DURACOM-303] fix SSR check on template and on components missing the environment config. Add descriptive comment for skeleton component. Fix JS error on SSR.

* [DURACOM-303] refactor thumbnail's skeleton style
2025-01-23 10:16:12 -06:00
Alan Orth
5b3b3bfb9c Restrict SSR to paths in the sitemap
Because Angular SSR is not very efficient, after discussion with
the Google Scholar team we realized a compromise would be to only
use SSR for pages in the DSpace sitemap (and the home page).
2025-01-17 15:30:43 +03:00
Andreas Awouters
2249464abf Merge branch 'live-region-7.6' into live-region-8.0
# Conflicts:
#	config/config.example.yml
#	src/app/shared/shared.module.ts
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
2024-09-20 14:03:19 +02:00
Andreas Awouters
83a44ba924 118220: Add live-region service and component 2024-09-20 13:31:44 +02:00
Abel Gómez
961e15fe5f Make the default tab for browsing communities and collections configurable 2024-07-03 23:33:38 +02:00
Tim Donohue
ee174747c2 Disable inlineCriticalCss by default for better SSR performance 2024-04-15 16:13:41 -05:00
Tim Donohue
0a1764c65a Merge pull request #2934 from 4Science/DURACOM-248-ANGULAR-17
Upgrade to angular 17
2024-04-15 15:15:10 -05:00
Alexandre Vryghem
e10630f131 Added functionality to disable COAR notify support link in footer
Also fixed error that showed a blank page instead of a 404 when disabling EULA/Privacy Policy pages
2024-04-12 01:38:34 +02:00
Giuseppe Digilio
d7d8067006 [DURACOM-247] Refactoring SSR configuration in order to align it with new nomenclature 2024-04-11 18:14:34 +02:00
Yury Bondarenko
55573c5827 Merge remote-tracking branch 'origin/main' into disable-inline-css 2024-03-12 17:17:39 +01:00
Yury Bondarenko
3b48d9a26d Manually fix lint issues 2024-03-06 11:56:17 +01:00
Yury Bondarenko
dbf7fd67fd Merge remote-tracking branch 'origin/main' into more-eslint 2024-03-06 10:26:07 +01:00
frabacche
0f7965ea6e Merge remote-tracking branch 'github/main' into coar-notify-7-part-two 2024-03-04 17:26:17 +01:00
Kim Shepherd
911cf8905c [TLC-674] Hide empty duplicate section UNLESS config overrides
A new config property allows the user to force the duplicate
section to be displayed even if there are no duplicates
as sometimes this is useful information to a reviewer or
submitter
2024-03-04 11:49:24 +13:00
FrancescoMolinaro
0a3f884793 Resolve conflicts after merge of part 1 2024-02-29 15:13:53 +01:00
gaurav patel
91a419fb0f Advance search search page (#2608)
* Update homepage-config.interface.ts

change comment of homepage-config.interface.ts

* advance Search add

* slove error while unti test

* write unit test

* Ensures select element has an accessible name

* change data pass into url

* error resolve

* Search.Filters.Applied.F.Title given name as Title

* Advanced filters configurable in the User interface (in config.*.yml)

* turn on/off and add filters as a list

* remove currenturl

* resolve

* change envierment config and url pass data

* set enabled: false ,and remove debugger ,remove searchConfig

* expect clauses  add

* reslove conflict

* merge added

* remove  commented and design change advance search

* moving the "add" button to its own col-lg-12

* resolve conflict

* reslove error

* merge en.json5 file

* remove trailing spaces

* resolve Conflicts

* Fix typo. property is filter not filters

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
2024-02-26 14:11:28 -06:00
gaurav patel
bfeeeac96f only add Display Search Facets to the Homepage (#2275)
* Update homepage-config.interface.ts

change comment of homepage-config.interface.ts

* advance Search add

* slove error while unti test

* write unit test

* Ensures select element has an accessible name

* change data pass into url

* error resolve

* Search.Filters.Applied.F.Title given name as Title

* Advanced filters configurable in the User interface (in config.*.yml)

* Search Facets on all Home, Community, Collection

* should pass accessibility tests error resolve

* change label name

* unique role or role/label/title

* remove same role name

* order of headings is semantically correct

* semantically correct advance search and global css

* URL pattern

* headings is semantically correct

* Merge branch 'Search-Facets-home-community-collection' of https://github.com/GauravD2t/Advanced-search into Search-Facets-home-community-collection

* change update

* change update

* remove advance search code from here

* removing all code relating to Community/Collection pages

* resolve  code conflict

* remove the space

* remove commented code

* add  'merge'

* resolve confilt

* remove back file

* add lable dynamic

* Update search-navbar.component.spec.ts

* Update search-filter.component.html

* showDiscoverFilters config in yml file

* Ensures the order of headings is semantically correct

* showDiscoverFilters change default to false

* Update homepage-config.interface.ts to use boolean instead of false

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
2024-02-23 16:01:36 -06:00
Toni Prieto
b4a9a0dd1e Add a new mode to AuthorityConfidenceStateDirective to configure use fontawesome icons instead of class defined in style property 2024-02-22 20:29:53 +01:00
Alexandre Vryghem
9ff3ed4351 Merge remote-tracking branch 'upstream/main' into added-recently-added-section-to-community-page_contribute-main
# Conflicts:
#	config/config.example.yml
#	src/app/shared/search-form/search-form.component.ts
#	src/assets/i18n/en.json5
#	src/config/default-app-config.ts
2024-02-18 15:32:39 +01:00
Alexandre Vryghem
7bf7ee0ba7 110889: Added config to disable community/collection sidebar 2024-02-18 02:00:51 +01:00
FrancescoMolinaro
ffd118abf9 align with github 2023-12-27 13:26:04 +01:00
frabacche
4106e438d6 CST-5249_suggestion test fixes 2023-12-22 12:18:58 +01:00
Yury Bondarenko
ca1d81048a Autofix lint issues 2023-12-19 13:35:51 +01:00
Yury Bondarenko
4a87c9a8b4 Merge remote-tracking branch 'origin/main' into more-eslint 2023-12-19 09:35:05 +01:00
FrancescoMolinaro
c386a4d505 adapt config for url search 2023-12-18 12:22:05 +01:00
FrancescoMolinaro
2d2ca2016a refactor 2023-12-18 11:40:09 +01:00
FrancescoMolinaro
f2be578d2a refactor config QA 2023-12-14 12:11:06 +01:00
FrancescoMolinaro
7fe81ec111 add quality assurance configuration 2023-12-13 17:00:24 +01:00
Yury Bondarenko
a11be65f95 ESlint: fix imports 2023-06-27 17:20:06 +02:00
Yury Bondarenko
917c36dbe7 ESLint: fix dangling commas 2023-06-27 17:19:58 +02:00
Giuseppe Digilio
2f06a7cb17 [CST-5729] Change in order to save header only if configured and existing 2023-06-14 18:26:55 +02:00
Tim Donohue
d0ccec9d0e Merge pull request #2126 from atmire/ensure-cookie-language-is-valid-main
Ensure cookie language is valid
2023-03-23 16:37:30 -05:00
Alexandre Vryghem
ed998f41ce Merge remote-tracking branch 'upstream/main' into ensure-cookie-language-is-valid-7.2 2023-02-26 21:49:51 +01:00
Alexandre Vryghem
92f5c6f427 Do not use disabled or non-existing languages from language cookie 2023-02-26 21:39:10 +01:00
aroman-arvo
742922dba0 DS-8408: Test cases and some fixes or comcol ordering 2023-02-13 19:32:47 +01:00
aroman-arvo
e2668cdf97 DS-8408 - lint errors 2023-02-13 12:22:07 +01:00
aroman-arvo
b015f682b4 Merge remote-tracking branch 'github/main' into DS-8408 2023-02-13 11:31:03 +01:00
aroman-arvo
eeda26e122 8408 - sort ordering is parametrized and used only when no text query is send. 2023-02-13 10:42:56 +01:00