Commit Graph

62 Commits

Author SHA1 Message Date
Bernaldo Mihasi 32c45520b4 make router link for add description buttons pointing to dmp editor 2023-09-25 10:36:04 +03:00
Bernaldo Mihasi 0c9601d6f0 fix argument passed in getSingleBlueprint 2023-09-22 11:09:04 +03:00
Bernaldo Mihasi db08662cac fix bug when creating new version or clone a dmp 2023-09-21 09:33:27 +03:00
Bernaldo Mihasi b1a832074d small fixes, (wip) remove description template chip from dmp editor 2023-09-13 15:55:38 +03:00
Diamantis Tziotzios cf6e041154 Merge remote-tracking branch 'origin/refactorArgosModel' into Development
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DatasetRDAMapper.java
#	dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html
2023-09-13 10:01:57 +03:00
Bernaldo Mihasi bc279b1610 #8843 - 1. refactor the DatasetProfile Table to DescriptionTemplate name 2. add scripts for the new DescriptionTemplateType table 3. update english localization + frontend 2023-07-25 15:04:39 +03:00
Konstantina Galouni 77f40570ac #8834: Home page: Drafts query for both Datasets and DMPs.
1. recent-activity-criteria.ts: Added in RecentActivityCriteria optional field "public status?: Number;" (to get only drafts).
2. drafts.component.ts & drafts.component.html: Updated calls and display to query for both Datasets and DMPs (same as recent-edited-activity, but include only drafts).
4. recent-edited-activity.component.ts: Removed old unnecessary logs.
2023-07-17 18:04:39 +03:00
Konstantina Galouni b435994c51 #8148 - [Bug fix] drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts: Updated check to redirect to first page, if page parameter is bigger than the latest page. 2023-05-15 00:43:45 +03:00
Konstantinos Triantafyllou 50169222c7 Fix infinite loop in home page when total number of results is less than the page size 2023-04-28 16:10:32 +03:00
Konstantina Galouni 2715db7365 #8148 - Added paging functionality with load more/ less buttons in home page, for the existing 4 tabs - ordering and keyword are also added in the url and they are resolved on page reload.
1. i18n/: Added properties "GENERAL.ACTIONS.LOAD-LESS" and "GENERAL.ACTIONS.NO-MORE-AVAILABLE".
2. dashboard.component.html: Added aria-label on each <mat-tab> | Added on <mat-tab-group> bindings for [selectedIndex] and (selectedTabChange), to define the active tab.
3. dashboard.component.ts: Added field currentType: string = "recent"; | Set currentType by url params | Added method get indexFromCurrentType(), to return the active tab index.
4. drafts.component.html & recent-edited-activity.component.html & recent-edited-dataset-activity.component.html & recent-edited-dmp-activity.component.html: Added button "LOAD-LESS" and message "NO-MORE-AVAILABLE" to the end of the list.
5. drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts:
   a. Added fields @ViewChild("...") resultsContainer, offsetLess: number = 0, hasMoreResults:boolean = true, page: number = 1 and @Input() isActive: boolean = false.
   b. Read url params, set offsets and query filters and update url.
   c. Renamed "loadMore()" to "loadNextOrPrevious()" and added parameter more: boolean = true.
2023-04-25 17:55:31 +03:00
Diamantis Tziotzios 34d63438e0 css changes to add configurability 2023-02-10 15:08:23 +02:00
Konstantina Galouni 1d45bddeca #8350 - Added tracking of download Dataset & DMP exports in Matomo.
1. matomo-service.ts: Added method "trackDownload()".
2. drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts & dataset-wizard.component.ts & dataset-listing-item.component.ts & dataset-overview.component.ts & dmp-editor.component.ts & dmp-listing-item.component.ts & dmp-overview.component.ts: Added calls to this.matomoService.trackDownload() for "datasets/" or "dmps/" with the file type (/docx, /xml, /pdf, /json) and the id.
2023-01-20 19:02:12 +02:00
Konstantina Galouni 4dd338d08e #8149 - [Bug fix] Updated condition to check if current user is owner of DMP/ Dataset (drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts & dataset-listing-item.component.ts & dmp-clone.component.ts & dmp-listing-item.component.ts). 2022-10-18 14:01:26 +03:00
Diamantis Tziotzios 9cac208546 upgrade to Angular 12 2021-09-24 21:52:14 +03:00
Kristian Ntavidi cce9df8eb7 Fixes
* Feedback message on error saving dataset.
* Unsubscribe backend calls on dashboard component destroy.
2021-07-09 13:03:09 +03:00
apapachristou 558b506643 Add analytics to pages, οverviews, editors etc. 2020-12-14 19:28:13 +02:00
apapachristou 8e074c4ca0 Show more actions on cards of listings (max 4 actions) 2020-11-17 13:16:06 +02:00
George Kalampokis 5d01519415 Fixed various styling issues 2020-11-10 16:53:48 +02:00
apapachristou bfdbce54c2 Adds date pipe to translate date 2020-11-09 17:14:10 +02:00
apapachristou 2313cd1ca5 Fixes align of icons on listing card items 2020-11-06 11:05:05 +02:00
apapachristou d043322014 Fix: prevent search from sending asynchronous requests 2020-10-30 17:51:07 +02:00
apapachristou d27f8301c6 Fixes disappearing search box on dashboard if no results 2020-10-30 13:31:28 +02:00
apapachristou f1cdacbe33 Removes unnecessary padding on listing 2020-10-29 11:57:20 +02:00
apapachristou a926d933e3 Removes auto open of autocomplete panel on invitation dialog open, replace 'invite collaborators" with "invite 2020-10-29 11:44:17 +02:00
apapachristou 8946ea2fb7 Changes style of title on dmp an dataset card 2020-10-23 17:59:59 +03:00
apapachristou c150d50c33 Rename all "Dataset Description" to "Dataset" 2020-09-29 18:04:32 +03:00
apapachristou accdc06ab1 Fixes bug on dataset copy functionality 2020-09-29 17:33:16 +03:00
apapachristou 1deaad85f1 Minor fixes on different languages responsiveness 2020-09-11 14:32:34 +03:00
apapachristou 0f126ec413 Removes opacity from dataset and dmp tag of listing card 2020-09-10 14:33:21 +03:00
apapachristou 306dfa7346 Removes search field on listing, if no results 2020-08-31 10:16:33 +03:00
gpapavgeri 355350c8ec Comment out Sort by: Created 2020-08-25 15:48:50 +03:00
gpapavgeri 75a04a36d7 keeping only dmp or dataset label for their title 2020-08-05 12:42:04 +03:00
apapachristou 70d2d456ee Fixes bug on sort by label 2020-07-29 18:35:12 +03:00
apapachristou 70e5116879 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-28 15:54:28 +03:00
apapachristou 9602fc0340 Fixes bug on load more results with sorting 2020-07-28 15:54:21 +03:00
gpapavgeri b2aec001dc open listing items in the same page 2020-07-28 11:23:45 +03:00
George Kalampokis eb8e4a96e6 Reworked Recent Activity ordering and force status to be ordered in reverse of the others 2020-07-27 18:16:32 +03:00
gpapavgeri c77cd0c1c6 open links in new tab 2020-07-27 11:52:42 +03:00
gpapavgeri ca4525238e lockStatus check update [on delete click for listing components (listing-item, recent-edited, drafts) - not overview] 2020-07-24 17:40:53 +03:00
gpapavgeri 62d6ac01df Change the profile of DatasetListingModel & RecentActivityModel from String to DatasetProfileModel and Update profileId in openDmpSearchDialogue() 2020-07-24 12:43:09 +03:00
gpapavgeri 3c2caee679 update of users actions (edit, delete, etc) according to their role 2020-07-23 16:24:34 +03:00
gpapavgeri 4b267f2f84 lockStatus check and icon added to all components 2020-07-23 12:46:03 +03:00
gpapavgeri 868678e03f reloadPage & delete buttons updated 2020-07-22 14:26:49 +03:00
gpapavgeri 9f1ac56148 component dmp-invitation renamed to dmp-invitation-dialog & mat-select updated to show predefined role for invited user 2020-07-20 16:57:57 +03:00
apapachristou 15e09d7994 Adds sort by field on all listings 2020-07-13 13:01:03 +03:00
apapachristou 872e80d4b7 Add search field on dataset descriptions tab and fixes language 2020-07-10 17:07:03 +03:00
apapachristou 84e8a72dbb Adds searches fields on tab listings 2020-07-10 16:52:35 +03:00
apapachristou 5aa231e2bf Adds complete dataset listing redesign 2020-07-08 17:54:41 +03:00
apapachristou b94363ba5b Adds links to datasets on listings 2020-07-07 13:33:04 +03:00
apapachristou 16af9e8f3e Fixes bug on loadMore and fixes spelling on recent activities 2020-07-03 14:00:23 +03:00