Commit Graph

31 Commits

Author SHA1 Message Date
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
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 d043322014 Fix: prevent search from sending asynchronous requests 2020-10-30 17:51:07 +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 accdc06ab1 Fixes bug on dataset copy functionality 2020-09-29 17:33:16 +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
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 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 84e8a72dbb Adds searches fields on tab listings 2020-07-10 16:52:35 +03:00
apapachristou 52662f33f4 Adds all recent activity 2020-07-02 19:34:27 +03:00
apapachristou 44d9cf537a Adds invite shortcut on DMPs and fixes change language bug on ui 2020-07-02 11:25:06 +03:00
apapachristou 95c9e4eb4e Adds drafts tab data 2020-07-01 18:25:16 +03:00
Diamantis Tziotzios e85c0cc68f minor fixes 2019-12-12 11:26:19 +02:00
apapachristou 06b54ba8e6 Renames "Project" to "Grant on frontend. (Issue #145) 2019-08-01 10:54:40 +03:00
apapachristou ff270185bd Use of Status Enum on all .ts files 2019-06-25 12:16:37 +03:00
apapachristou 6890cd2799 Adds: Drafts, Removes: Recent Edited Activity Table from Dashboard 2019-04-26 19:03:38 +03:00
apapachristou 8a9e0c2d1f dashboard redesign 2019-04-24 12:26:53 +03:00