Commit Graph

66 Commits

Author SHA1 Message Date
Bernaldo Mihasi db08662cac fix bug when creating new version or clone a dmp 2023-09-21 09:33:27 +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
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
Kristian Ntavidi b486a27e48 Unique identifiers(in references) on on researchers, organisations, funders, grants, projects (frontend) ( !! Needs configurationw with backend ). Backend error messages translate to PT. 2021-04-30 10:57:13 +03:00
Kristian Ntavidi 560e6100b7 Dataset Profile Editor: when "select" is created it appends as well an empy option. Recent edited activity "LoadMore" fix. Table of contents: selected entry updates. 2021-04-06 09:57:17 +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 4c3775232a Adds everywhere snackbar on download rda json failure 2020-10-09 13:04:38 +03:00
apapachristou accdc06ab1 Fixes bug on dataset copy functionality 2020-09-29 17:33:16 +03:00
apapachristou 2eb608a897 Add dataset from dmp editor 1st commit 2020-09-04 19:27:41 +03:00
apapachristou 89c4aac560 Modifies new version of dmp 2020-09-03 18:49:45 +03:00
apapachristou b908df98d7 Modified clone dmp 2020-09-03 12:52:35 +03:00
apapachristou c2f1b66c25 Makes recent activity results able to open in new tab 2020-08-03 16:47:34 +03:00
apapachristou 9b837a27a8 Fixes error of mismatch model on client and server 2020-08-03 13:22:18 +03:00
apapachristou fd84ed317c Adds public home page: /home 2020-08-03 11:40:38 +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
apapachristou 8d7d9c5a8b Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-22 11:24:59 +03:00
apapachristou 2c81788a4f Fix bug on offsets of both dmp and dataset listing 2020-07-22 11:24:37 +03:00
gpapavgeri 9494e5b618 Home-myDmps-myDatasetDescriptions buttons updated according to dmp&dataset overview 2020-07-22 11:23:20 +03:00
apapachristou 3844c3a187 Fixes bug on load more both dmps and datasets 2020-07-22 10:36:29 +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 6d9dcc4ec9 Dmp Listing (1st Commit) 2020-07-03 17:17:23 +03:00
apapachristou e315bee7f7 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-03 14:00:30 +03:00
apapachristou 16af9e8f3e Fixes bug on loadMore and fixes spelling on recent activities 2020-07-03 14:00:23 +03:00
George Kalampokis d51099cedc Further fixes and improvements over recent activity 2020-07-03 13:55:25 +03:00
George Kalampokis 2fb270d66c Fix minor issues with the new merge 2020-07-03 10:47:04 +03:00
apapachristou 52662f33f4 Adds all recent activity 2020-07-02 19:34:27 +03:00
apapachristou 1230bd2417 Adds dashboard data on tabs 2020-06-30 19:40:01 +03:00
apapachristou 7cf5ddfebe Redesign of landing page, sign in interface, sidebar, navbar, dashboard (still in progress) 2020-06-26 12:08:51 +03:00
George Kalampokis d67e68d0d9 Improve self deployment 2020-04-27 16:21:03 +03:00
Diamantis Tziotzios 16d57bd0ad dmp advanced editor changed to remain at the same page when saving 2019-12-11 16:51:03 +02:00
apapachristou 3f5d3f86b5 Adds anchors on "VIEW ALL" links, wizards on dashboard. 2019-10-25 14:54:12 +03:00