Commit Graph

28 Commits

Author SHA1 Message Date
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
apapachristou 8e074c4ca0 Show more actions on cards of listings (max 4 actions) 2020-11-17 13:16:06 +02:00
apapachristou bfdbce54c2 Adds date pipe to translate date 2020-11-09 17:14:10 +02:00
apapachristou d27f8301c6 Fixes disappearing search box on dashboard if no results 2020-10-30 13:31:28 +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 02c36c1f61 Fixes bug of actions menu on dataset cards on public listings 2020-10-09 11:21:14 +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 c2f1b66c25 Makes recent activity results able to open in new tab 2020-08-03 16:47:34 +03:00
apapachristou fd84ed317c Adds public home page: /home 2020-08-03 11:40:38 +03:00
gpapavgeri b2aec001dc open listing items in the same page 2020-07-28 11:23:45 +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 9494e5b618 Home-myDmps-myDatasetDescriptions buttons updated according to dmp&dataset overview 2020-07-22 11:23:20 +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 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
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
apapachristou 5db3485079 Adds drafts listing on dashboard 2020-07-01 10:56:59 +03:00
apapachristou 1230bd2417 Adds dashboard data on tabs 2020-06-30 19:40:01 +03:00